--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2019-5e16c1f70e
2019-03-01 23:09:34.152699
--------------------------------------------------------------------------------
Name : mock
Product : Fedora 28
Version : 1.4.14
Release : 1.fc28
URL :
https://github.com/rpm-software-management/mock/
Summary : Builds packages inside chroots
Description :
Mock takes an SRPM and builds it in a chroot.
--------------------------------------------------------------------------------
Update Information:
Release together with `mock-core-configs-30.1` which has these changes: - Added
repositories for Fedora 30 (and Fedora 31 repos now points to rawhide). -
distribution-gpg-keys for rhel8beta is being installed directly from Koji,
because EPEL8 does not exist yet. - Fedora 27 config has been moved to `eol`
directory. - `gpgcheck` is enabled for testing and debuginfo now. - Fedoras
29+ have included modular repos now. Additionally, there is now
`module_platform_id` defined in these configs, which allows you to install
modules without errors. ## Mock new features: - All mock configs are parsed
and evaluated by [
Jinja2](http://jinja.pocoo.org/). Here is small example how it
can be used: ``` # define your own config variable config_opts['fedora_number']
= '30' config_opts['root'] = 'fedora-{{ fedora_number }}-x86_64'
config_opts['dist'] = 'fc{{ fedora_number }}' ``` Another - more general
-
example from `site-defaults.cfg`: ``` # You can use jinja templates, e.g.: #
config_opts['foobar'] = '{{ foo }} bar' # which will result in 'bar
bar' (using
value defined few lines above) # more complicated example: # config_opts['foo']
= "{{ plugin_conf['package_state_enable'] }}" # which will result in
"True" ```
This feature can simplify mock's configs in the future. I intentionally did not
use it now, because it is too fresh. Please experiment with this feature on your
own and report any error or issues. If there would be none, then I will start
using it in main configs. - Use 32-bit personality for armv7*/armv8* builds. -
You can now specify decompress program for root_cache. This is new default in
`site-defaults.cfg` [
GH#230](https://github.com/rpm-software-
management/mock/issues/230): ``` ## decompress_program is needed only for
bsdtar, otherwise `compress_program` with `-d` is used ## for bsdtar use
"unpigz" or "gunzip" #
config_opts['plugin_conf']['root_cache_opts']['decompress_program']
= "pigz" ```
## Bugfixes: - Added Scientific Linux on the list of RHEL clones
[
GH#228](https://github.com/rpm-software-management/mock/issues/228) - Fixed
exclude pattern for BSDTar [
GH#219](https://github.com/rpm-software-
management/mock/issues/219) - There used to be living part of `site-
defaults.cfg`: ``` config_opts['bootstrap_chroot_additional_packages'] = []
config_opts['bootstrap_module_enable'] = []
config_opts['bootstrap_module_install'] = [] ``` This is now commented out by
default, and the defaults are set in mock code. You can still override it in
`site-defaults.cfg`.
--------------------------------------------------------------------------------
ChangeLog:
* Tue Feb 19 2019 Miroslav Such�� <msuchy(a)redhat.com> 1.4.14-1
- config['decompress_program'] default (praiskup(a)redhat.com)
- add example for jinja templates
- implement templated configs using jinja2
- move live defaults from site-defaults.cfg to utils.py
- introduce "decompress_program" option for root_cache for bsdtar
- fix exclude patter for bsdtar
- delete old changelog entries
- use f29 for tests
- update the default in sitec-defaults.cfg
- Recommend dnf-utils (fzatlouk(a)redhat.com)
- ignore useless-object-inheritance pylint warning
- add scientific linux on list of rhel clones [GH#228]
- Use 32-bit personality for armv7*/armv8* builds (bero(a)lindev.ch)
- create custom error message for dnf-utils not being installed
(pjunak)
* Mon Aug 13 2018 Miroslav Such�� <msuchy(a)redhat.com> 1.4.13-1
- fix python_sitelib macro
* Mon Aug 13 2018 Miroslav Such�� <msuchy(a)redhat.com> 1.4.12-1
- Don't try to use a spec we've already cleaned up (otaylor(a)fishsoup.net)
- only set print_main_output when not set in configs
(chuck.wilson+github(a)gmail.com)
- Try to get the proxy from environment (brunovern.a(a)gmail.com)
- stop after first failure if -c or --recurse is not used
- fallback to C.UTF-8 locale (tomek(a)pipebreaker.pl)
- completion: improve --copy(in|out), --cwd, --macro-file, --rootdir, and
--sources (tmz(a)pobox.com)
- do not get spec from command line when using scm [GH#203]
- enable cap_ipc_lock in nspawn container [RHBZ#1580435]
- use host's resolv.conf when --enable-network is set on cml [RHBZ#1593212]
(jskarvad(a)redhat.com)
- add --forcearch to bash_completion
* Tue Jun 12 2018 Miroslav Such�� <msuchy(a)redhat.com> 1.4.11-1
- fix @VERSION@ processing in man pages (ktdreyer(a)ktdreyer.com)
- update testing.src.rpm to recent standard
- Allow --spec arg to be used with rebuild option (sfowler(a)redhat.com)
- Disable use_host_resolv by default (tmz(a)pobox.com)
- Add support for microdnf [GH#76] (zdenekirsax(a)gmail.com)
- skip running groupadd if gid is 0 (nhorman(a)tuxdriver.com)
- Allow overriding of mock chroot build user name (nhorman(a)tuxdriver.com)
- do not populate /etc/resolv.conf when networking is disabled (RHBZ#1514028)
(tmz(a)pobox.com)
- add version to EL check in _prepare_nspawn_command() (tmz(a)pobox.com)
- pass force-arch to builddep and resolvedep [GH#120]
- Support setting up foreign architecture chroots
- add support for bsdtar
- use fedora 28 for tests
* Thu May 10 2018 Miroslav Such�� <msuchy(a)redhat.com> 1.4.10-1
- remove executable bit from trace_decorator.py
- Change sign plugint to sign only builded rpm and not every file in results
[RHBZ#1217495] (necas.marty(a)gmail.com)
- overlayfs plugin: added explicit mount support (zzambers(a)redhat.com)
- encode content before writing [RHBZ#1564035]
- allow to bind_mount just one file (necas.marty(a)gmail.com)
- added overlayfs plugin (zzambers(a)redhat.com)
- invoke chroot scan for 'initfailed' event (clime7(a)gmail.com)
- add support for .spec in --installdeps (necas.marty(a)gmail.com)
- revert workaround introduced in 057c51d6 [RHBZ#1544801]
- comment out macro in changelog (msuchy(a)redhat.com)
--------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2019-5e16c1f70e' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label
All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------