Fedora 14 Update: mock-1.1.9-1.fc14

updates at fedoraproject.org updates at fedoraproject.org
Thu Mar 3 08:30:46 UTC 2011


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2011-1864
2011-02-20 06:15:19
--------------------------------------------------------------------------------

Name        : mock
Product     : Fedora 14
Version     : 1.1.9
Release     : 1.fc14
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:

removed creation of /dev/tty in chroot for fc{13,24,15} and el6
added f15 configs
added arm rawhide config
miscellaneous cleanups
symlink /dev/tty to /dev/ptmx for modern host OS'es (BZ# 609201)
Integrate Mock with SCMs (CVS/Git/SVN)
add retrylogic to mock.util.rmtree()
force --shell shell to be /bin/sh (BZ# 667243)
deleted fedora-12 configuration files
don't error out if we can't delete the /proc/filesystems file
make sure that pseudo-filesystem mountpoints exist
Don't add --setopt=tsflags=nocontexts to all commands (BZ# 663021)
added logging to scrub command to indicate what's being scrubbed
record packages installed into root and store as cache.log (BZ# 444796)
add calls to enable logging and calls to unlock build root
add logging info to yum install (BZ# 594477)
Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223)
corrected examples for routine building in man page
add runtime location of plugins

added root and group checks for early notification of problems
moved list of legal hosts for packages out to config files
miscellaneous code cleanups

symlink /dev/tty to /dev/ptmx for modern host OS'es (BZ# 609201)
dd retrylogic to mock.util.rmtree()
force --shell shell to be /bin/sh (BZ# 667243)
deleted fedora-12 configuration files
don't error out if we can't delete the /proc/filesystems file
make sure that pseudo-filesystem mountpoints exist
Don't add --setopt=tsflags=nocontexts to all commands (BZ# 663021
added logging to scrub command to indicate what's being scrubbed
record packages installed into root and store as cache.log (BZ# 444796)
add calls to enable logging and calls to unlock build root
Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223)
 corrected examples for routine building in man page
Integrate Mock with SCMs (CVS/Git/SVN)
add runtime location of plugins
added root and group checks for early notification of problems moved list of legal hosts for packages out to config files miscellaneous code cleanups
This update addresses multiple issues seen with the new selinux plugin
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

- run update after unpacking root cache
- clean up noarch builds
- fix selinux plugin issue
- fix repeated calls to umount
- clean up i585 target fix
Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state.
added --unpriv mode to --shell
remove rpmdb cache to to work around yum issue
remove rpmdb cache to to work around yum issue
Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state.
added --unpriv mode to --shell
remove rpmdb cache to to work around yum issue
remove rpmdb cache to to work around yum issue
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

- run update after unpacking root cache
- clean up noarch builds
- fix selinux plugin issue
- fix repeated calls to umount
- clean up i585 target fix
Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state.
added --unpriv mode to --shell
remove rpmdb cache to to work around yum issue
remove rpmdb cache to to work around yum issue
Many bug fixes since mock 1.1.1 and new SELinux plugin which disables SELinux inside the chroot, irregardless of the host system SELinux state.
added --unpriv mode to --shell
remove rpmdb cache to to work around yum issue
remove rpmdb cache to to work around yum issue
--------------------------------------------------------------------------------
ChangeLog:

* Fri Feb 18 2011 Clark Williams <williams at redhat.com> - 1.1.9-1
- fix createrepo generated root-owned repository data (BZ# 668278)
- fix createrepo generated root-owned repository data (BZ# 668278)
- commented out /dev/tty handling code in backend.py (BZ# 609201)
- from Ville Skyttä <ville.skytta at iki.fi>
  - Use completion goodies from bash-completion >= 1.2 if available.
  - Add --scm-enable and --scm-option to bash completion.
  - Delete trailing whitespace.
  - Add --install bash completion.
  - Make --enable/disable-plugin completion work again.
- From Jesse Keating <jkeating at redhat.com>
  - Make "dist" for rawhide configs be "rawhide" (BZ# 506157)
  - Revert "turn off updates-released repository for fedora-14 configs"
- From Mike McLean <mikem at redhat.com>
  - fix typo in el4/5 /dev/tty creation (fh ticket #13, mwhiteley)
* Tue Feb  8 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 17 2010 Clark Williams <williams at redhat.com> - 1.1.8-1
- corrected examples section of the mock.1 man page
- added logging for 'install' and 'update' commadns (BZ# 594477)
- added log file of root cache creation (BZ# 444796)
- added logging to the scrub command
- added unlockBuildRoot() method to clean up build root lockfile
- added retry logic to mock.util.rmtree
- removed fedora-12 config files
- From Michael Hampton <error at ioerror.us>:
  - Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223)
- From Marko Myllynen <myllynen at redhat.com>:
  - Integrate Mock with SCMs (CVS/Git/SVN)
  - document SCM build options in usage and man page
- From Masatake YAMATO <yamato at redhat.com>:
  - add runtime location of plugins (BZ# 634224)
* Mon Dec 13 2010 Clark Williams <williams at redhat.com> - 1.1.7-1
- add 'legal_host_arches' config option to configs (BZ# 622792)
- add root check and group check (BZ# 662223)
- from Ville Skyttä <ville.skytta at iki.fi>:
  - Try to set up an appropriate default.cfg symlink at post install time
  - Clean up disttag usage
  - Drop obsolete and nonfunctional F-8 bits from specfile
  - Drop no longer used requiresTextFromHdr() and uniqReqs()
  - Install build deps with yum-builddep
  - Add comment why binary packages are built with --nodeps
* Thu Oct 14 2010 Clark Williams <williams at redhat.com> - 1.1.6-1
- replace call to perl with native python edit function
- change permissions of selinux plugin 'filesystems' file
- from Ville Skyttä <ville.skytta at iki.fi>:
  - Find out completions for --*-plugin dynamically
  - Keep $COLUMNS in consolehelper environment for --help formatting
  - Document --scrub, --enable-plugin, and --disable-plugin
  - Fix option name in --enable-plugin/--disable-plugin error string
  - Add --scrub completion
  - Complete on *.spm (*.src.rpm are sometimes named like that e.g. in SUSE)
  - Fix buildsrpm() docstring
  - Error message improvements
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #609201 - building perl-TermReadKey hangs in mock
        https://bugzilla.redhat.com/show_bug.cgi?id=609201
  [ 2 ] Bug #668278 - createrepo_command generate repodata own by root
        https://bugzilla.redhat.com/show_bug.cgi?id=668278
  [ 3 ] Bug #506157 - Rawhide configs inconsistent
        https://bugzilla.redhat.com/show_bug.cgi?id=506157
  [ 4 ] Bug #667243 - user with zsh as shell can't easily run chroot
        https://bugzilla.redhat.com/show_bug.cgi?id=667243
  [ 5 ] Bug #663021 - [PATCH] Don't add --setopt=tsflags=nocontexts to all commands
        https://bugzilla.redhat.com/show_bug.cgi?id=663021
  [ 6 ] Bug #444796 - RFE: add rpm -qa logfile for failed builds
        https://bugzilla.redhat.com/show_bug.cgi?id=444796
  [ 7 ] Bug #594477 - mock install output isn't saved
        https://bugzilla.redhat.com/show_bug.cgi?id=594477
  [ 8 ] Bug #662223 - Can't build packages: fails adding 'mockbuild' group
        https://bugzilla.redhat.com/show_bug.cgi?id=662223
  [ 9 ] Bug #622792 - dysfunctional target_arch-check
        https://bugzilla.redhat.com/show_bug.cgi?id=622792
  [ 10 ] Bug #573111 - Mock environment needs to fake chroot into thinking SELinux is disabled.
        https://bugzilla.redhat.com/show_bug.cgi?id=573111
  [ 11 ] Bug #629041 - selinux plugin expects that yum cache directory exists
        https://bugzilla.redhat.com/show_bug.cgi?id=629041
  [ 12 ] Bug #630479 - rebuilds fail with ""execmod" access" errors from SELinux
        https://bugzilla.redhat.com/show_bug.cgi?id=630479
  [ 13 ] Bug #637555 - Mock selinux plugin creates /proc/filesystems with incorrect permissions
        https://bugzilla.redhat.com/show_bug.cgi?id=637555
  [ 14 ] Bug #642051 - Xvfb SELinux issues in mock
        https://bugzilla.redhat.com/show_bug.cgi?id=642051
  [ 15 ] Bug #585973 - root cache fails to untar with <fail|last>log
        https://bugzilla.redhat.com/show_bug.cgi?id=585973
  [ 16 ] Bug #633435 - /var/log/lastlog and /var/log/faillog included in cache.tar.gz
        https://bugzilla.redhat.com/show_bug.cgi?id=633435
  [ 17 ] Bug #605800 - TypeError when using --buildsrpm
        https://bugzilla.redhat.com/show_bug.cgi?id=605800
  [ 18 ] Bug #526414 - missing /dev/fd symlink causes some mock builds using it to fail
        https://bugzilla.redhat.com/show_bug.cgi?id=526414
  [ 19 ] Bug #622170 - Latest architecture patches broke noarch builds
        https://bugzilla.redhat.com/show_bug.cgi?id=622170
  [ 20 ] Bug #614440 - [PATCH] Get mock to turn off selinux within the chroot
        https://bugzilla.redhat.com/show_bug.cgi?id=614440
  [ 21 ] Bug #622544 - i586 target no more possible
        https://bugzilla.redhat.com/show_bug.cgi?id=622544
  [ 22 ] Bug #557526 - mock no longer runs yum update after unpacking root
        https://bugzilla.redhat.com/show_bug.cgi?id=557526
  [ 23 ] Bug #620143 - ERROR: pop from empty list
        https://bugzilla.redhat.com/show_bug.cgi?id=620143
  [ 24 ] Bug #620825 - Unmounts filesystems in wrong order, gives traceback
        https://bugzilla.redhat.com/show_bug.cgi?id=620825
  [ 25 ] Bug #619819 - Please ship fedora-14-*.cfg
        https://bugzilla.redhat.com/show_bug.cgi?id=619819
  [ 26 ] Bug #510409 - Mock not building SRPM
        https://bugzilla.redhat.com/show_bug.cgi?id=510409
  [ 27 ] Bug #600487 - site-defaults.cfg cites defaults.cfg fix
        https://bugzilla.redhat.com/show_bug.cgi?id=600487
  [ 28 ] Bug #607144 - mock -r epel-5-x86_64 --rebuild X.src.rpm is not working (dependencies problems?)
        https://bugzilla.redhat.com/show_bug.cgi?id=607144
  [ 29 ] Bug #570434 - 'man mock' does not tell user to add him or herself to group 'mock'
        https://bugzilla.redhat.com/show_bug.cgi?id=570434
  [ 30 ] Bug #450726 - No way to clean mock cache directory
        https://bugzilla.redhat.com/show_bug.cgi?id=450726
  [ 31 ] Bug #516355 - newest mock not working on RHEL5
        https://bugzilla.redhat.com/show_bug.cgi?id=516355
  [ 32 ] Bug #486555 - Need to be able to clean/disable yum cache
        https://bugzilla.redhat.com/show_bug.cgi?id=486555
  [ 33 ] Bug #522505 - --unpriv only works with --chroot
        https://bugzilla.redhat.com/show_bug.cgi?id=522505
  [ 34 ] Bug #593654 - mock/yum: IndexError: list index out of range
        https://bugzilla.redhat.com/show_bug.cgi?id=593654
--------------------------------------------------------------------------------

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