Fedora 13 Update: mock-1.1.5-1.fc13

updates at fedoraproject.org updates at fedoraproject.org
Thu Sep 23 04:57:25 UTC 2010

Fedora Update Notification
2010-09-21 00:56:34

Name        : mock
Product     : Fedora 13
Version     : 1.1.5
Release     : 1.fc13
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:

create empty /var/log/{last,fail}log in chroot rather than copy in possible large sparse file from host filesystem

make sure that both --spec and --sources are specified when the --buildsrpm option is used

use rpm module function compareEVR to compare kernel versions (string comparison doesn't work).

change selinux plugin to use tmp directory for faux /proc/filesystems file, rather than cachedir (which may not exist)

fix a typo in exception.py

Added Alan Franzoni's umountall modifications

* Fri Sep 17 2010 Clark Williams <williams at redhat.com> - 1.1.5-1
- fix typo in exception.py
- add cmpKernelEVR function to compare kernel versions (BZ# 526414)
- change selinux plugin to use tempfilej
- added commandline argument checking for --buildsrpm (BZ# 605800)
- create empty faillog and lastlog in <chroot>/var/log (BZ# 585973 & 633435)
- changed copyin/copyout prints from debug to info
- from Alan Franzoni <mailing at franzoni.eu>:
  - reworked the root object _umountall() method
- fix epel4 chroot cleanup and umountall issue
- add exception trapping code to _unlock_and_rm_chroot() method
* Mon Aug  9 2010 Clark Williams <williams at redhat.com> - 1.1.4-1
- pass selinux status to mock.util.rmtree() (BZ# 614440)
- change integer constants to symbolic errno constants in util.py
- from Paul Howarth <paul at city-fan.org>
  - update packages after unpacking root cache (BZ# 557526)
  - noarch is always a legal arch (BZ# 622170)
  - exclude bind-mounted cache dirs from root cache
  - retain order of umount commands (BZ# 620825)
  - add i586 as legal build target (BZ# 622544)
* Tue Aug  3 2010 Clark Williams <williams at redhat.com> - 1.1.3-1
- fix umount ordering problem with selinux plugin (BZ# 620825)
- setup SELinux state properly (BZ# 620143)
* Fri Jul 30 2010 Clark Williams <williams at redhat.com> - 1.1.2-1
- From Jan Vcelak <jvcelak at redhat.com>:
  - added selinux plugin
- From Kalev Lember <kalev at smartlink.ee>:
  - added max_fs_size parameter for tmpfs plugin
- From Ricky Zhou <rzhou at redhat.com>:
  - allow --sources to specify either single file or directory (BZ# 510409)
- From Dennis Gilmore <dennis at ausil.us>:
  - update the epel-6 mock configs to point at the beta2 mirrorlist urls
- From  Paul B. Schroeder <paulbsch at haywired.net>:
  - add the --scrub option for cleaning up cache (BZ# 450726)
- added f14 configs
- added symlink from /proc/self/fd to /dev/fd in the chroot (BZ# 526414)
- added i686 architecture
- added logic to detect invalid architecture combinations (BZ# 607144)
- added description of how to add user to the mock group (BZ# 570434)
- deleted fedora-10 and fedora-11 configs
- moved rpmdb clean block so that it works with --offline
- changed from referencing defaults.cfs to site-defaults.cfg (BZ# 600487)
- fix cachefile generation filtering logic
- filter out proc,sys,and dev from cache file creation
* Fri May 14 2010 Clark Williams <williams at redhat.com> - 1.1.1-1
- patch from Seth Vidal <skvidal at fedoraproject.org> to handle
  rpmdb cache issue (BZ#591741)

  [ 1 ] Bug #585973 - root cache fails to untar with <fail|last>log
  [ 2 ] Bug #633435 - /var/log/lastlog and /var/log/faillog included in cache.tar.gz
  [ 3 ] Bug #605800 - TypeError when using --buildsrpm
  [ 4 ] Bug #526414 - missing /dev/fd symlink causes some mock builds using it to fail

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

More information about the package-announce mailing list