-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2017-e954edb1bb 2018-01-02 14:44:38.581294 --------------------------------------------------------------------------------
Name : mock Product : Fedora 26 Version : 1.4.8 Release : 1.fc26 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:
Features: * There is a new option --config-opts [GH#138](https://github.com /rpm-software-management/mock/issues/138) You can run: ``` mock --config- opts yum_command=/usr/bin/yum-deprecated --enable-network ``` which will set: ``` config_opts['system_yum_command'] = '/usr/bin/yum' ``` or for a list: ``` mock --config-opts extra_chroot_dirs=/mnt/b --config-opts extra_chroot_dirs=/mnt/a ``` which will set ``` config_opts['extra_chroot_dirs'] = ['/mnt/b', '/mnt/a'] ``` or list with a single item: ``` mock --config-opts extra_chroot_dirs=/mnt/b --config-opts extra_chroot_dirs= ``` which will set ``` config_opts['extra_chroot_dirs'] = ['/mnt/b'] ``` It can detect boolean: ``` mock --config-opts nosync=False --debug-config |grep nosync config_opts['nosync'] = False ``` A specialized option has priority. Therefore: ``` mock --config-opts rpmbuild_networking=False --enable-network --debug-config |grep rpmbuild_networking config_opts['rpmbuild_networking'] = True ``` It is unable to set complicated variables. Like config_opts['plugin_conf']['package_state_opts'] or anything which has dictionary as value. * There is a new option. `--enable-network` which is equivalent to `config_opts['rpmbuild_networking'] = True` Bugfixes: * orphanskill now emits SIGKILL when SIGTERM is not enough [RHBZ#1495214](https://bugzilla.redhat.com/show_bug.cgi?id=1495214) * when mock tries to force umount, it will try umount recursively * do not change to directory if nspawn is used [GH#108](https://github.com/rpm-software- management/mock/issues/108) * when creating yum/dnf.conf, mock now copy timestamp from the host [RHBZ#1293910](https://bugzilla.redhat.com/show_bug.cgi?id=1293910) * We now mount /proc and /sys in chroot before executing any package manager command (outside of chroot)[RHBZ#1467299](https://bugzilla.redhat.com/show_bug.cgi?id=1467299) * Dependencies of mock-scm (git, cvs, tar, subversion) are now soft dependencies (Recommends) [RHBZ#1515989](https://bugzilla.redhat.com/show_bug.cgi?id=1515989) * Previously job control in `mock shell` does not work. [RHBZ#1468837](https://bugzilla.redhat.com/show_bug.cgi?id=1468837). This was a glibc bug and it is resolved in rawhide now. -------------------------------------------------------------------------------- References:
[ 1 ] Bug #1467299 - /proc is not available during chroot preparation in mock build https://bugzilla.redhat.com/show_bug.cgi?id=1467299 [ 2 ] Bug #1515989 - does mock-scm really need to Require: cvs, subversion, git? https://bugzilla.redhat.com/show_bug.cgi?id=1515989 [ 3 ] Bug #1293910 - The behaviour of metadata_expire=0 https://bugzilla.redhat.com/show_bug.cgi?id=1293910 [ 4 ] Bug #1513953 - Please add argument for enablement of networking with the systemd-nspawn https://bugzilla.redhat.com/show_bug.cgi?id=1513953 [ 5 ] Bug #1495214 - Cleanup failed; device is busy https://bugzilla.redhat.com/show_bug.cgi?id=1495214 --------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade mock' 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 --------------------------------------------------------------------------------
package-announce@lists.fedoraproject.org