Fedora 14 Update: mock-1.1.17-1.fc14

updates at fedoraproject.org updates at fedoraproject.org
Sat Nov 26 23:03:13 UTC 2011


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2011-15245
2011-11-02 06:37:36
--------------------------------------------------------------------------------

Name        : mock
Product     : Fedora 14
Version     : 1.1.17
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:

Fix for broken --shell argument handling
Fix for SCM plugin broken on RHEL5
Forgot to build f16 when doing last update
In this release the behavior of --chroot and --shell have been reworked rather heavily, especially --shell. This was done to bring both into line with the same device/dir/file setup as is done with an SRPM build. Hopefully doing this doesn't break existing usage of --chroot and --shell but if it does please report it as a BZ so we can fix it. 

Changelog entries:
- modified bind_mount and tmpfs plugins to use hooks for shell and chroot
- refactored --shell and --chroot commands [BZ# 619533,728004,745550]
- added input validation for --buildsrpm [BZ# 743173]
- ensured configs don't have execute bit set [BZ# 744013]
- modified root cache pluging to not cache bind mounts [BZ# 744727]
- removed invalid excludes from epel-{4,5}-x86_64 configs [BZ# 533762]
- From Marko Myllynen <myllynen at redhat.com>:
  - Set HOME properly when doing SCM checkouts [BZ# 745394]
  - Support for setting timestamps for Git checkouts [BZ# 745396]
- From Yury V. Zaytsev <yury at shurup.com>:
  - fix incorrect-fsf-address rpmlint warning [BZ#741068]
- From Jan Vcelak <jvcelak at redhat.com>:
  - resolve SELinux filesystem mountpoint [BZ# 734781]


In this release the behavior of --chroot and --shell have been reworked rather heavily, especially --shell. This was done to bring both into line with the same device/dir/file setup as is done with an SRPM build. Hopefully doing this doesn't break existing usage of --chroot and --shell but if it does please report it as a BZ so we can fix it. 

Changelog entries:
- modified bind_mount and tmpfs plugins to use hooks for shell and chroot
- refactored --shell and --chroot commands [BZ# 619533,728004,745550]
- added input validation for --buildsrpm [BZ# 743173]
- ensured configs don't have execute bit set [BZ# 744013]
- modified root cache pluging to not cache bind mounts [BZ# 744727]
- removed invalid excludes from epel-{4,5}-x86_64 configs [BZ# 533762]
- From Marko Myllynen <myllynen at redhat.com>:
  - Set HOME properly when doing SCM checkouts [BZ# 745394]
  - Support for setting timestamps for Git checkouts [BZ# 745396]
- From Yury V. Zaytsev <yury at shurup.com>:
  - fix incorrect-fsf-address rpmlint warning [BZ#741068]
- From Jan Vcelak <jvcelak at redhat.com>:
  - resolve SELinux filesystem mountpoint [BZ# 734781]


--------------------------------------------------------------------------------
ChangeLog:

* Mon Oct 31 2011 Clark Williams <williams at redhat.com> - 1.1.17-1
- fix borken shell argument handling [BZ# 750075]
- from Marko Myllynen <myllynen at redhat.com>:
  - Fix SCM integration on RHEL 5 [BZ# 749518]
- from Ville Skyttä <ville.skytta at iki.fi>:
  - bash completion fixes
* Fri Oct 21 2011 Clark Williams <williams at redhat.com> - 1.1.16-1
- modified bind_mount and tmpfs plugins to use hooks for shell and chroot
- refactored --shell and --chroot commands [BZ# 619533,728004,745550]
- added input validation for --buildsrpm [BZ# 743173]
- ensured configs don't have execute bit set [BZ# 744013]
- modified root cache pluging to not cache bind mounts [BZ# 744727]
- removed invalid excludes from epel-{4,5}-x86_64 configs [BZ# 533762]
- From Marko Myllynen <myllynen at redhat.com>:
  - Set HOME properly when doing SCM checkouts [BZ# 745394]
  - Support for setting timestamps for Git checkouts [BZ# 745396]
- From Yury V. Zaytsev <yury at shurup.com>:
  - fix incorrect-fsf-address rpmlint warning [BZ#741068] 
- From Jan Vcelak <jvcelak at redhat.com>:
  - resolve SELinux filesystem mountpoint [BZ# 734781]
* Fri Sep 23 2011 Clark Williams <williams at redhat.com> - 1.1.15-1
- Fixed logging issues due to namespace change [BZ# 740232,739550,739972]
- Fixed error removing old RMP db files [BZ# 738052]
- From Yury V. Zaytsev <yury at shurup.com>:
  - SELinux plugin uses Python 2.5 syntax [BZ# 740327]
  - Fix inconsistent permissions in specfile [BZ# 715286]
* Fri Sep  9 2011 Clark Williams <williams at redhat.com> - 1.1.14-1
- From Toshio Ernie Kuratomi <a.badger at gmail.com>
  - Fix install path of mockbuild module and default path to module dir
* Thu Sep  8 2011 Clark Williams <williams at redhat.com> - 1.1.13-1
- add custom exception for unshare(2) failures
- change getLog().warn to getLog().warning for consistency
- fix namespace collision with python-mock [BZ# 601725]
- from Kirby Zhou <kirbyzhou at sogou-inc.com>
  - remove rpmdb files before rebuilding SRPM [BZ# 719008]
- from Marko Myllynen <myllynen at redhat.com>
  - integrate mock with RHN
- from Giam Teck Choon <choon at choon.net>
  - add support for passing options to yum-buildep via mock cfg
* Tue Jul 26 2011 Clark Williams <williams at redhat.com> - 1.1.12-1
- remove f13 configs
- added exception for unshare(2) failures [BZ# 718714]
- added back 'newinstance' mount option to devpts (with symlink logic)
- fixed epel-6-* configurations [BZ# 679885, 719740]
- from Matt Domsch <Matt_Domsch at dell.com>
  - tmpfs plugin typo fix
* Wed Jun 22 2011 Clark Williams <williams at redhat.com> - 1.1.11-1
- remove 'newinstance' mount parameter from devpts filesystem mount (BZ# 711175)
- modify --chroot command to print command output
- update the python requirement to >= 2.6 for 1.1.x mock branch
- updated build procedure using fedpkg
- added Fedora 16 configuration files
- from James Laska <jlaska at redhat.com>
  - fix log message typo in SELinux plugin
- from Yury V. Zaytsev <yury at shurup.com>
  - Fix inconsistent permissions fixing on /var/cache/mock in SPEC template (BZ 715286)
* Fri May 13 2011 Clark Williams <williams at redhat.com> - 1.1.10-1
- raise exception if running mock and user not member of mock group (BZ# 630791)
- call setsid() to kill controlling terminal in chroot (BZ# 672713,501096)
- Went back to creating /dev/tty and /dev/ptmx in all chroots (BZ# 683111)
- Fixed problem where mock was not constrained to the chroot (BZ# 669733)
- Fix typo in /dev/tty creation code for EPEL{4,5} (BZ# 675803)
- From Marko Myllynen <myllynen at redhat.com>:
  - updated SCM integration (BZ# 670453)
- from Masatake YAMATO <yamato at redhat.com>:
  - fixed invocation typo in exception.py (BZ# 634555)
- From Jan Vcelak <jvcelak at redhat.com>:
  - updated selinux plugin (BZ# 573111, 667190)
- From Levente Farkas <lfarkas at lfarkas.org>:
  - adding missing macro for epel-5 configs (BZ# 695298)
- From  Mathieu Bridon <bochecha at fedoraproject.org> and
        Remi Collet <fedora at famillecollet.com>:
  - fix chroot cleanup issues (BZ# 668222)
  - fix ccache ownership issues (BZ# 700983)
- From Dan Horák <dan at danny.cz>:
  - added s390 back as legal arch for s390x (BZ# 678047)
- From Ville Skyttä <ville.skytta at iki.fi>:
  - Fixes shell escaping issue by using tuples rather than strings
* Fri Feb 18 2011 Clark Williams <williams at redhat.com> - 1.1.9-1
- 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) 
- From Dennis Gilmore <dennis at ausil.us>
  - Revert "disable the updates repos for F-15  they dont yet exist"
  - sparc64 boxes can build 32 bit sparc stuff
  - add rawhide arm config
  - use the s390 mirrorlists for s390 configs
  - disable the updates repos for F-15  they dont yet exist
  - add the f15 mock configs
* 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 #749518 - [PATCH] Fix SCM integration on RHEL 5
        https://bugzilla.redhat.com/show_bug.cgi?id=749518
  [ 2 ] Bug #750075 - Regression for --shell <cmd>
        https://bugzilla.redhat.com/show_bug.cgi?id=750075
  [ 3 ] Bug #714627 - pty handling is still broken
        https://bugzilla.redhat.com/show_bug.cgi?id=714627
  [ 4 ] Bug #728004 - Using tmpfs Unable to use mock shell fails to launch
        https://bugzilla.redhat.com/show_bug.cgi?id=728004
  [ 5 ] Bug #734781 - [PATCH] util.selinuxEnabled() does not work on F16 and Rawhide
        https://bugzilla.redhat.com/show_bug.cgi?id=734781
  [ 6 ] Bug #741068 - [PATCH] Update FSF address in the main executable to fix rpmlint error
        https://bugzilla.redhat.com/show_bug.cgi?id=741068
  [ 7 ] Bug #743173 - buildsrpm  doesn't warn about "Cannot find/open" spec file
        https://bugzilla.redhat.com/show_bug.cgi?id=743173
  [ 8 ] Bug #744013 - Incorrect permissions in /etc/mock
        https://bugzilla.redhat.com/show_bug.cgi?id=744013
  [ 9 ] Bug #744727 - Configured bind mount dirs are archived in the root cache tarball.
        https://bugzilla.redhat.com/show_bug.cgi?id=744727
  [ 10 ] Bug #745394 - [PATCH] Set HOME properly when doing SCM checkouts
        https://bugzilla.redhat.com/show_bug.cgi?id=745394
  [ 11 ] Bug #745396 - [PATCH] Support for setting timestamps for Git checkouts
        https://bugzilla.redhat.com/show_bug.cgi?id=745396
  [ 12 ] Bug #745550 - Devices files are not fully setup when executing a non-interactive command.
        https://bugzilla.redhat.com/show_bug.cgi?id=745550
  [ 13 ] Bug #533762 - multilib_policy should be set to 'best' for 64 bit epel distro.
        https://bugzilla.redhat.com/show_bug.cgi?id=533762
  [ 14 ] Bug #619533 - mock is not clearing the environment when it drops privs
        https://bugzilla.redhat.com/show_bug.cgi?id=619533
--------------------------------------------------------------------------------

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