Fedora 20 Update: mock-1.2.3-1.fc20

updates at fedoraproject.org updates at fedoraproject.org
Wed Dec 17 04:43:18 UTC 2014


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2014-16334
2014-12-06 01:53:24
--------------------------------------------------------------------------------

Name        : mock
Product     : Fedora 20
Version     : 1.2.3
Release     : 1.fc20
URL         : http://fedoraproject.org/wiki/Projects/Mock
Summary     : Builds packages inside chroots
Description :
Mock takes an SRPM and builds it in a chroot.

--------------------------------------------------------------------------------
Update Information:

Mostly bugfixes.

RFEs:
New option --symlink-dereference.
Tmpfs new option 'keep_mounted'.
Bump in plugin ABI.
New LVM plugin.
Nosync for better IO performance.
DNF support.
Printing more useful output on terminal.
Concurrent shell acces to buildroot.
Executing package management commands.
--enablerepo and --disablerepo options
Short circuit options.
Automatic initialization.
Python 3 support.
Experimental support for building using systemd-nspawn.
Accept path as config.
New compress_logs plugin.
And lots of bugfixes.
--------------------------------------------------------------------------------
ChangeLog:

* Thu Dec  4 2014 Miroslav Suchý <msuchy at redhat.com> - 1.2.3-1
- fixed incorrect command construction in PackageManager:build_invocation [RHBZ#1170230]
- completion: correctly expand --install [RHBZ#1168220]
- copyin: when source is directory, then handle corner cases [RHBZ#1169051]
- increase default for tmpfs to 768
- check if key exist [RHBZ#476837]
- Added tmpfs new option 'keep_mounted' [RHBZ#476837]
- add 2 common tmpfs dirs to find_non_nfs_dir()
- Added new option --symlink-dereference used with --buildsrpm [BZ# 1165242]
- accept None as macro value in config [RHBZ#1165778]
- Don't do yum update when --no-clean specified [RHBZ#1165716]
- do not delete /buildir when --no-clean was set [RHBZ#483486]
- bash completation for --copyin and --sources
- bash_completion.d/mock: fix syntax error
- Correct check for --source cmd option, single file can be used [RHBZ#1165213]
- update BUGS part of man page
- add missing options to man page
* Tue Nov 18 2014 Miroslav Suchý <msuchy at redhat.com> - 1.2.2-1
- add missing import [RHBZ#1165061]
* Sat Nov 15 2014 Miroslav Suchý <msuchy at redhat.com> - 1.2.1-1
- allow mockchain to accept path as config
- end yum's installroot path with a slash [RHBZ#1160428]
- add --mount option [RHBZ#1162637]
- add some missing bash completation strings
- run --shell as root with --new-chroot
- Don't fail scrub when there's no pool [RHBZ#1162631]
- Globbing and tilde expansion
- move restoring priviledges to finally [RHBZ#1162720]
- Remove "Buildroot must be already initialized" note
- Add missing --print-root-path to manpage
- Do not print ANSI escape characters into log [RHBZ#1163037]
- in site-defaults.cfg initialize dictionary of plugins [RHBZ#1162595]
- Disable empty names and values in config_opts[macros] [RHBZ#1160765]
- Disable single macros in -D cmd option [RHBZ#1160765]
- rpmbuild is in /usr/bin [RHBZ#1161112]
- man page for --macro-file [RHBZ#1160326]
- Added option [--macro-file] to support external rpm macros file [RHBZ#1160326]
- Don't output installation/build output when redirected
- Better log message for intial buildroot installation
- Be more specific when installing configs
- Install into correct sitelib when using Python 3
- Fix nosync on aarch64
- wrap all remaining getcwd() [RHBZ#1159300]
- do not use rpm in %post scriptlet [RHBZ#1131279]
- Fix unclear legal host output [RHBZ#1159794]
- allow running from directory, which is deleted [RHBZ#1159300]
- create compress_logs plugin [RHBZ#1100923]
- when default.cfg exists create default.cfg.rpmnew [RHBZ#1085308]
- accept paths to target definition files [RHBZ#1126117]
- set title bar in xterm [RHBZ#1126235]
- pass --enablerepo/--disablerepo to yum in the same order as provided to mock [RHBZ#1154604]
- Fix incorrect printing of binary strings on py3
- Add missing Requires rpm-python3
- Don't print Yum and build output when quiet
- Prevent output being printed twice with --verbose (rhbz#1152971)
- Fix printing non-ascii characters with output redirected (rhbz#1152952)
- replace urlgrabber by python-requests
- use python3 for Fedora22+
- Don't print we're doing rpmbuild -bb, when it may not be true
- 'prep' choice missing in short-circuit option parser
- Don't execute prebuild in short-circuit mode
* Thu Oct  9 2014 Miroslav Suchý <msuchy at redhat.com> - 1.2.0-1
- update configs for secondary architecture (Dan Horák)
- caching of buildroots using LVM (Michael Simacek)
- add support for DNF (Michael Simacek)
- initial porting to python3 (Michael Simacek)
- new config option nosync (Michael Simacek)
- add CentOS extra repository [BZ# 1108402]
- correctly create default.cfg on arm [BZ# 1033786]
- postpone loading of rpm after chroot is set [BZ# 1111147]
- use systemd-nspawn instead of chroot [RHBZ# 1132762]
- in --copyout do not fail on symlinks [BZ# 971474]
- allow to short circuit to prep phase [BZ# 966985]
* Fri Jul 18 2014 Clark Williams <williams at redhat.com> - 1.1.41-1
- fix python 2.7 feature so we can run on rhel6
* Thu Jul 17 2014 Clark Williams <williams at redhat.com> - 1.1.40-1
- from Miroslav Suchý <msuchy at redhat.com>:
  - mock: Revert "revert 7ec6a1e9d202ab56fb31c914dbf7516c045e56ab" [BZ# 1103239]
  - configs: use final Centos 7 path in configs [BZ# 1108402]
  - configs: fix typo in fedora-rawhide-armhfp config [BZ# 1108847]
  - mockchain: use getuid() instead of getgid() [BZ# 1108265]
  - configs: check gpg key of packages from Fedora, Centos, Epel
  - plugins: disable package_state by default on el6
  - make /etc/mtab symlink to /proc/self/mounts [BZ# 1116158]
  - do not list pki files twice
  - deploy etc/pki to buildroot
- from Michael Simacek <msimacek at redhat.com>:
  - mock: do not allow config scripts to regain root priviledges
- from Igor Gnatenko <i.gnatenko.brain at gmail.com>:
  - Add F21 configs
  - Change releasever to 22 for rawhide
* Wed May 21 2014 Clark Williams <williams at redhat.com> - 1.1.39-1
- configs: update epel-7 koji repo to use correct URL
- from Ken Dreyer <ktdryer at ktdryder.com>
  - Use RHEL 7 RC mirrorlist URLs
from Miroslav Suchý <msuchy at redhat.com>
  - add support for subscription-manager (RHSM)
  - expand tabs for better readablity
  - cut of everything after decimal point, if there is some [BZ# 1098477]
  - better code readablity
  - clarify the log messages
  - use metalink instead of mirrorlist in yum config
  - set LC_MESSAGE to C before executing command [BZ# 519258]
  - use ctypes.get_errno() instead of ctypes.c_int.in_dll(_libc, "errno")
  - revert 7ec6a1e9d202ab56fb31c914dbf7516c045e56ab (python 2.4 workarounds)
  - buildroot and %clean is not needed for el6 and fedoras
  - description should always end with dot
  - remove shebang from mockbuild/mounts.py
  - %defattr is not needed since rpm 4.4
  - remove el5 conditional
  - use createrepo_c which is much faster
  - whitespace fixes
  - remove unused variables: 'username' and 'hdr'
  - better logging of kernel version [BZ# 1048826]
  - partially revert 9db6edb33cc34a450e762eb5d2bedf9067ebc419 [BZ# 1034805]
  - teach mockchain about ftp [BZ# 1061776]
from Jerry James <loganjerry at gmail.com>
  - fix post scriptlet to deal with rawhide [BZ# 1083689]
* Mon Mar 31 2014 Clark Williams <williams at redhat.com> - 1.1.38-1
- revert commit 34d0b1d815e4 for quoting (breaks fedora-review)
* Thu Mar 27 2014 Clark Williams <williams at redhat.com> - 1.1.37-2
- fix el6 requires for yum-utils
* Mon Mar 24 2014 Clark Williams <williams at redhat.com> - 1.1.37-1
- fix thinko in test script for running configs
- plugins: turn off package_state plugin by default
- fix automake to use 'xz' compression
- additional commits needed by scm commit
- elevate privs when accessing the chroot rpmdb [BZ# 1051474]
- quote --shell args like a shell [BZ# 966144]
- from Tuomo Soini <tis at foobar.fi>
  - Fix for race in directory creation [BZ# 1052045]
- from Peter Jönsson <peter.jonsson at klarna.com>
  - Add support for creating tarballs with scm data still inside
- from Tomas Kopecek <tkopecek at redhat.com>
  - internal_dev_setup option used consistently
- from Dennis Gilmore <dennis at ausil.us>
  - add rawhide aarch64 config
  - remove sparc rawhide configs, she be dead
- from Ville Skyttä <ville.skytta at iki.fi>
  - Use $(mocketcdir) in install-data-hook instead of duplicating its value
  - Use xz tarball to save a bit of space
  - Clean up unused imports
  - Install bash completion to proper dir with bash-completion 2
  - Remove Fedora 18 configs
  - Use install @foo instead of groupinstall foo in chroot_setup_cmd
- from Rodrigo Dias Cruz <rodrigodc+redhatbugzilla at gmail.com>
  -  fix scm problem with specfiles using rpm macros [BZ# 1056271]
- from Tomas Kopecek <tkopecek at redhat.com>
  - avoid undefined variable error in try/finally block [BZ# 1063275]
* Wed Feb  5 2014 Clark Williams <williams at redhat.com> - 1.1.36-1
- configs: first cut at epel-7 configs for x86_64 and ppc64
- Add 'extra_chroot_dirs' config option
- use repoquery --installroot to avoid yum cache corruption [BZ# 1029352 and 985681]
- mockchain: avoid special characters in repoid [BZ# 1034805]
- from Jon Disnard <jdisnard at gmail.com>:
  - implement autoreconf call in build phase of mock rpm [BZ# 926154]
  - fix --copyout by temporary drop and restore of privs [BZ# 1002142]
- from Dennis Gilmore <dennis at ausil.us>:
  - rawhide and f19/f18 is hardware floating point only for arm, drop the unneeded configs
- from Yann Droneaud <yann at droneaud.fr>:
  - pass root environment to repoquery calls for proxy config [BZ# 974499]
- from Miroslav Suchý <msuchy at redhat.com>:
  - add releasever config option to configs [BZ# 1056039]
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1170230 - mock failed rebuild multiple packages
        https://bugzilla.redhat.com/show_bug.cgi?id=1170230
  [ 2 ] Bug #1168220 - bash completion for --install should not suggest srpm
        https://bugzilla.redhat.com/show_bug.cgi?id=1168220
  [ 3 ] Bug #1169051 - [abrt] mock: os.py:157:makedirs:OSError: [Errno 17] File exists: '/var/lib/mock/fedora-rawhide-x86_64/root/'
        https://bugzilla.redhat.com/show_bug.cgi?id=1169051
  [ 4 ] Bug #476837 - RFE: add option to not umount tmpfs only for clean
        https://bugzilla.redhat.com/show_bug.cgi?id=476837
  [ 5 ] Bug #1165242 - mock --sources can't handle symlinks
        https://bugzilla.redhat.com/show_bug.cgi?id=1165242
  [ 6 ] Bug #1165778 - fedpkg mockbuild doesn't work with mock-1.2
        https://bugzilla.redhat.com/show_bug.cgi?id=1165778
  [ 7 ] Bug #1165716 - mock must *not* automatically update packages in build root
        https://bugzilla.redhat.com/show_bug.cgi?id=1165716
  [ 8 ] Bug #483486 - Can't build 'nosrc' srpms using mock (--no-clean does not work)
        https://bugzilla.redhat.com/show_bug.cgi?id=483486
  [ 9 ] Bug #1165213 - mock --sources single file does not work
        https://bugzilla.redhat.com/show_bug.cgi?id=1165213
  [ 10 ] Bug #1165061 - update to mock-1.2.1-1.fc21 breaks existing mock profiles
        https://bugzilla.redhat.com/show_bug.cgi?id=1165061
  [ 11 ] Bug #1160428 - mock 1.2.0 tries to install f21 packages in f19 chroot
        https://bugzilla.redhat.com/show_bug.cgi?id=1160428
  [ 12 ] Bug #1162637 - Provide --umount counterpart for LVM plugin
        https://bugzilla.redhat.com/show_bug.cgi?id=1162637
  [ 13 ] Bug #1162631 - With LVM plugin enabled, I can't scrub traditional directories
        https://bugzilla.redhat.com/show_bug.cgi?id=1162631
  [ 14 ] Bug #1162720 - --copyout prints confusing errors when the copied file doesn't exist
        https://bugzilla.redhat.com/show_bug.cgi?id=1162720
  [ 15 ] Bug #1163037 - Do not print ANSI escape characters into log
        https://bugzilla.redhat.com/show_bug.cgi?id=1163037
  [ 16 ] Bug #1162595 - lvm_root_opts options in site-defaults.cfg don't work
        https://bugzilla.redhat.com/show_bug.cgi?id=1162595
  [ 17 ] Bug #1160765 - empty and single values for rpm macros in mock cfg file and cmd option
        https://bugzilla.redhat.com/show_bug.cgi?id=1160765
  [ 18 ] Bug #1161112 - pre-UsrMove profiles stopped working after update of mock
        https://bugzilla.redhat.com/show_bug.cgi?id=1161112
  [ 19 ] Bug #1160326 - mock new command line option --macro-file for defining rpm macros file
        https://bugzilla.redhat.com/show_bug.cgi?id=1160326
  [ 20 ] Bug #1159300 - running mock from chroot path directory produces "error retrieving current directory: getcwd"
        https://bugzilla.redhat.com/show_bug.cgi?id=1159300
  [ 21 ] Bug #1131279 - mock package has a questionable scriptlet, leading to errors about rpm db version mismatch
        https://bugzilla.redhat.com/show_bug.cgi?id=1131279
  [ 22 ] Bug #1159794 - invalid legal_host_arches option can cause unclear output
        https://bugzilla.redhat.com/show_bug.cgi?id=1159794
  [ 23 ] Bug #1100923 - RFE: compress mock build logs when done building
        https://bugzilla.redhat.com/show_bug.cgi?id=1100923
  [ 24 ] Bug #1085308 - mock: User configuration is lost during update
        https://bugzilla.redhat.com/show_bug.cgi?id=1085308
  [ 25 ] Bug #1126117 - Mock should accept paths to target definition files
        https://bugzilla.redhat.com/show_bug.cgi?id=1126117
  [ 26 ] Bug #1126235 - PROMPT_COMMAND  does not include required escape codes
        https://bugzilla.redhat.com/show_bug.cgi?id=1126235
  [ 27 ] Bug #1154604 - mock: enablerepo doesn't work if used after disablerepo
        https://bugzilla.redhat.com/show_bug.cgi?id=1154604
  [ 28 ] Bug #1152971 - Verbose mode is repeating lines
        https://bugzilla.redhat.com/show_bug.cgi?id=1152971
  [ 29 ] Bug #1152952 - [mock] UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7: ordinal not in range(128)
        https://bugzilla.redhat.com/show_bug.cgi?id=1152952
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use
su -c 'yum update mock' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

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
--------------------------------------------------------------------------------


More information about the package-announce mailing list