Fedora 7 Update: mock-0.8.4-2.fc7

updates at fedoraproject.org updates at fedoraproject.org
Mon Oct 29 19:05:23 UTC 2007


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2007-2622
2007-10-29 19:05:18.549196
--------------------------------------------------------------------------------

Name        : mock
Product     : Fedora 7
Version     : 0.8.4
Release     : 2.fc7
URL         : http://fedoraproject.org/wiki/Projects/Mock
Summary     : Builds packages inside chroots
Description :
Mock takes a srpm and builds it in a chroot

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

New stuff:
-- plugin system to better modularize things
-- new plugins:
-- Yum cache
-- root cache
-- ccache
-- bind mount
-- root cache (formerly called autocache) is now significantly
smaller in size
-- speed increases: mock 0.8 is now in almost every case minutes
faster than 0.7, especially for multiple builds.
-- uses python logging.py module for increased logging flexibility
-- new command: 'mock install PACKAGE' to run a 'yum install
PACKAGE' inside the buildroot
-- expanded command: 'mock installdeps PACKAGE' can now install deps
for a local RPM. Formerlly, only SRPMS were supported.
-- new option: "--cleanup-after" that can be used with
"--resultdir". This will do a cleanup of the buildroot after the
build. This is enabled by default such that any '--resultdir'
builds will be automatically cleaned up

Changed:
-- cmdline requires "rebuild" argument when rebuilding srpms. Previously
you could just pass srpm name.
-- output has slightly changed. Mock is now slightly more verbose.
-- formerly /dev from the host was bind-mounted into the chroot.
This is now not enabled by default, but can be configured easily
per-chroot using the bind plugin. See the 'defaults.cfg' files
for config details.
-- '-r CONFIG' option can no longer accept full config filenames
("config.cfg"). Leave off the '.cfg' for mock 0.8+. Formerly,
config ('-r' option) could be specified using either "config.cfg" or
"config" and mock would look for /etc/mock/config.cfg, automatically
adding the '.cfg', if necessary.
-- logs are not overwritten or truncated for --no-clean or
--resultdir builds.

Config files:
-- Old config files will, by and large, still work. There are
several options in the old config files that are no longer
applicable now that 'mock-helper' has went away. The next
release of mock should have warnings enabled if it sees that
your config file has obsolete options.

Internal Changes:
-- now modularized
-- mock-helper is gone. Instead there is a setuid-wrapper that calls
mock.py. This vastly simplifies development.
--------------------------------------------------------------------------------
ChangeLog:

* Mon Oct 22 2007 Michael Brown <mebrown at michaels-house.net> - 0.8.4-1
- fix reported 'bad owner/group' from rpm in some configurations.
* Mon Oct 22 2007 Michael Brown <mebrown at michaels-house.net> - 0.8.3-1
- BZ# 336361 -- cannot su - mockbuild
- BZ# 326561 -- update manpage
- BZ# 235141 -- error with immutable bit
* Sat Oct 20 2007 Michael Brown <mebrown at michaels-house.net> - 0.8.0-1
- huge number of changes upstream
- convert to setuid wrapper instead of old setuid helper
- lots of bugfixes and improvements
- /var/cache/yum now saved and bind-mounted
- ccache integration
- rootcache improvements (formerly called autocache)
* Mon Aug 27 2007 Michael Brown <mebrown at michaels-house.net> - 0.7.6-1
- ensure /etc/hosts is created in chroot properly
* Mon Aug 13 2007 Clark Williams <williams at redhat.com> - 0.7.5-2
- build fix from Roland McGrath to fix compile of selinux lib
* Wed Aug  8 2007 Clark Williams <williams at redhat.com> - 0.7.5-1
- orphanskill feature (BZ#221351)
* Wed Aug  8 2007 Michael Brown <mebrown at michaels-house.net> - 0.7.5-1
- add example configs to defaults.cfg
- dont rebuild cache if not clean build (BZ#250425)
* Wed Jul 18 2007 Michael Brown <mebrown at michaels-house.net> - 0.7.4-1
- return child exit status, so we properly report subcommand failures
* Fri Jul  6 2007 Michael Brown <mebrown at michaels-house.net> - 0.7.3-1
- remove redundant defaults.cfg entries.
* Wed Jun 20 2007 Michael Brown <mebrown at michaels-house.net> - 0.7.2-1
- fix exclude list
- remove legacy configs
- disable 'local' repos by default (koji-repos)
* Wed Jun 13 2007 Michael Brown <mebrown at michaels-house.net> - 0.7.1-1
- Fix problem with autocache where different users couldnt share same cache
- Fix problem creating resolv.conf in rootfs
- cleanup perms on rootfs /etc/
* Tue Jun 12 2007 Michael Brown <mebrown at michaels-house.net> - 0.7.1-1
- add EPEL 5 config files
* Mon Jun 11 2007 Clark Williams <williams at redhat.com> - 0.7-1
- fixed bind mount problems
- added code to allow multiple users to use --no-clean
- merged mock-0-6-branch to head and changed version
* Thu Jun  7 2007 Clark Williams <williams at redhat.com> - 0.6.17-1
- added F-7 config files (BZ#242276)
- modified epel configs for changed mirrorlist location (BZ#239981)
- added bind mount of /dev (BZ#236428)
- added copy of /etc/resolv.conf to chroot (BZ#237663 and BZ#238101)
* Tue May  1 2007 Clark Williams <williams at redhat.com> - 0.6.16-1
- timeout code adds new cmdline option that will kill build process after
  specified timeout. Useful for automated builds of things that may hang during
  build and you just want it to fail.
* Tue Apr 10 2007 Clark Williams <williams at redhat.com> - 0.6.15-1
- Fixed typo in FC4 -epel configs (BZ 235490)
* Sat Feb 24 2007 Clark Williams <williams at redhat.com> - 0.6.14-1
- Ville Skyttä's fix for RPM_OPT_FLAGS (BZ 226673)
* Tue Feb 20 2007 Clark Williams <williams at redhat.com> - 0.6.13-1
- Handle --no-clean option when doing yum.conf symlink (BZ 230824)
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #312261 - Mock lacks dependencies on tar and gzip
        https://bugzilla.redhat.com/show_bug.cgi?id=312261
  [ 2 ] Bug #303791 - Mock fails to check correctly for missing buildrequires
        https://bugzilla.redhat.com/show_bug.cgi?id=303791
  [ 3 ] Bug #250985 - mock doesn't umount /dev/ in case of crtitical error
        https://bugzilla.redhat.com/show_bug.cgi?id=250985
  [ 4 ] Bug #326561 - mock --quiet does not work
        https://bugzilla.redhat.com/show_bug.cgi?id=326561
  [ 5 ] Bug #336361 - Cannon su to mockbuild
        https://bugzilla.redhat.com/show_bug.cgi?id=336361
  [ 6 ] Bug #284051 - Mock exits successfully after failure in case buildtree cannot be removed
        https://bugzilla.redhat.com/show_bug.cgi?id=284051
  [ 7 ] Bug #340531 - mock can blow away /dev
        https://bugzilla.redhat.com/show_bug.cgi?id=340531
  [ 8 ] Bug #235141 - mock 0.6.13 is unable to clean buildroot if any package sets immutable bit
        https://bugzilla.redhat.com/show_bug.cgi?id=235141
--------------------------------------------------------------------------------
Updated packages:

e196263fed6a1bc8eea9da25cae97dd8de4555e4 mock-0.8.4-2.fc7.ppc64.rpm
254b640b7e9bfc12d954170aacad74eb2a8c0a68 mock-debuginfo-0.8.4-2.fc7.ppc64.rpm
578b6b5a20e35c8024c45633c51d17286a7f02f1 mock-debuginfo-0.8.4-2.fc7.i386.rpm
372bfa5f05a1db9fdd286009494781c3a8dbe3ba mock-0.8.4-2.fc7.i386.rpm
8204ae9e07fe6ba8cd9b1a9125e62a5e08d61ee1 mock-0.8.4-2.fc7.x86_64.rpm
4881331f6d0bd2da544bf5fea9ca480617a05196 mock-debuginfo-0.8.4-2.fc7.x86_64.rpm
bc33b7dc3c09fbb23fd95205c25e36ac2015da68 mock-0.8.4-2.fc7.ppc.rpm
002994b6a2a309f0b07699fc8bf68e64d5df74f2 mock-debuginfo-0.8.4-2.fc7.ppc.rpm
d3260206f31c6c087532b401240dc1a86436d746 mock-0.8.4-2.fc7.src.rpm

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




More information about the Fedora-package-announce mailing list