# changelog

author: Clark Williams <williams@redhat.com> - 0.6.11-1
changelog:
  - added error() calls to print command output on failed commands
  - added installdeps command for long-term chroot management


author: Clark Williams <williams@redhat.com> - 0.6.9-1
changelog:
  - applied Eric Work's patch to fix defaults vs. command line option problem
    (BZ 215168)
  - use /etc/mock/defaults.cfg if --configdir specified and no defaults found
    in the specified configdir
    (BZ 209407)
  - applied Jesse Keatings patch for arch specifi config files
    (BZ 213516)


author: Seth Vidal <skvidal@phy.duke.edu>
changelog:
  - mock 0.3 - security release
  - mock-helper allowed execution of arbitrary commands by member of mock
    group


author: Michael Brown <mebrown@michaels-house.net> - 0.7.1-1
changelog:
  - Fix problem with autocache where different users couldnt share same cache
  - Fix problem creating resolv.conf in rootfs
  - cleanup perms on rootfs /etc/


author: Clark Williams <williams@redhat.com> - 0.7-1
changelog:
  - fixed bind mount problems
  - added code to allow multiple users to use --no-clean
  - merged mock-0-6-branch to head and changed version


author: Clark Williams <williams@redhat.com> - 0.6.17-1
changelog:
  - 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)


author: Clark Williams <williams@redhat.com> - 0.6.16-1
changelog:
  - 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.


author: Toshio Kuratomi <a.badger@gmail.com> - 1.5-2
changelog:
  - Verify that .pth files are correct.
  - Update license tag for new guidelines.
  - Update setuptools BR for changes in rawhide.


author: Clark Williams <williams@redhat.com> - 0.9.14-1
changelog:
  - logging cleanup (mikem)
  - add new exception for resultdir not available (mebrown)
  - moved mock cache dir to /var/cache/mock (williams)
  - added version variable and version banner to logs (williams)
  - removed import of popen2 to whack deprecated message (williams)
  - prevent disabling ccache on epel-5 (tmz)
  - added configs for sparc and s390 (dgilmore)
  - fixed git log command used in build (tmz)
  - added copy of spec/sources for building srpms (mebrown)
  - changed unlink to rmdir (mebrown)
  - set HOME directory globally (mikeb)
  - commented out privlege drop in --copyin (williams)


author: Clark Williams <williams@redhat.com> - 0.9.12-1
changelog:
  - internal setarch support for s390/s390x (mikem)
  - Refer to the .newkey location of current Fedora 8/9 updates. (jkeating)
  - [bz458234] Picked up corrected patch (pmatilai)


author: Clark Williams <williams@redhat.com> - 0.9.11-1
changelog:
  - added workarounds for rawhide rpm (BZ 455387 and 458234)
  - disabled tmpfs plugin on epel-4-x86_64
  - fixed autotools breakage in configure.ac


author: Jesse Keating <jkeating@redhat.com> - 0.9.9-1
changelog:
  - Update config files for Fedora 9
  - Comment out multilib excludes, no longer needed in F9+ with yum multilib changes


author: Jesse Keating <jkeating@redhat.com> - 0.9.8-1
changelog:
  - modify rootcache logic to rebuild cache if config files have newer timestamp
  - For Fedora 8 and higher, use priority failover method
  - Point to the correct static-repo for rawhide stuff.
  - Move "devel" to "rawhide" to match current Fedora naming schemes.


author: Michael Brown <mebrown@michaels-house.net> - 0.9.7-1
changelog:
  - redo mock.util.do() to use python subprocess module, which should be
    much more maintainable than our old homegrown code.
  - Fix exclude= lines once again. Yum fnmatch parser doesnt understand [!x]
    notation
  - add --unpriv and --cwd options to run chroot commands without elevated privs
    and in a specific working directory (under the root).
  - mount all filesystems when running chroot commands
  - remove redundant ccache init since we now source /etc/profile.d/ccache.sh


author: Clark Williams <williams@redhat.com> - 0.9.6-1
changelog:
  - renamed configs and put compat symlinks in place
  - misc cleanups (whitespace fixes, info messages, etc.)
  - tmpfs plugin fix
  - split --target and --arch command line arguments
  - changed from -l to --login on bash invocations
  - create /dev/full in chroot


author: Michael Brown <mebrown@michaels-house.net> - 0.9.4-1
changelog:
  - Result dir was not honoring --uniqueext=
  - make rpmbuild run under a chroot login shell
  - mock is now noarch due to drop of all binary components
  - add tmpfs plugin (disabled by default)
  - slightly more friendly logs.


author: Clark Williams <williams@redhat.com> - 0.9.3-1
changelog:
  - added '--copyin' and '--copyout' modes
  - added makeChrootPath() method to Root
  - replaced most ad hock usages of .rootdir with makeChrootPath()
  - updated man page && added test cases
  - added 'help' target to Makefile.am


author: Michael Brown <mebrown@michaels-house.net> - 0.9.1-1
changelog:
  - fix 'mock shell' command when passing more than one arg.
  - add --orphanskill mode which only does orphankill
  - make 'mock --shell' noninteractive and logged to root.log
  - fix for file-based BuildRequires
  - add sparcs to constant list for auto-setarch


author: Michael Brown <mebrown@michaels-house.net> - 0.9.0-1
changelog:
  - drop suid helper and use consolehelper instead.
  - add unshare() call rather than clone(CLONE_NEWNS...)


author: Michael Brown <mebrown@michaels-house.net> - 0.8.16-1
changelog:
  - drop FC6 configs. FC6 no longer supported
  - add --trace cmdline parameter
  - make logs slightly less verbose


author: Michael Brown <mebrown@michaels-house.net> - 0.8.15-1
changelog:
  - fix traceback when root cache doesnt exist.
  - add "--with", "--without", and "--define" cmdline parameters which are passed
    to rpmbuild (courtesy Todd Zullinger)


author: Michael Brown <mebrown@michaels-house.net> - 0.8.12-1
changelog:
  - fix builds of multiple srpms
  - fix 'mock install'
  - use python-decoratortools for better python 2.3 back compat


author: Clark Williams <williams@redhat.com> - 0.8.11-1
changelog:
  - fixes from mebrown:
  -   added back -q and -v flags
  -   print yum output by default
  -   added --offline option
  -   cleaned up uid handling


author: Michael Brown <mebrown@michaels-house.net> - 0.8.10-1
changelog:
  - fix 'shell' command
  - fix a couple different selinux avc denial messages (didnt affect functionality)


author: Michael Brown <mebrown@michaels-house.net> - 0.8.9-1
changelog:
  - Fixes so that mock will run cleanly on RHEL5
  - Add glib-devel.i386, glib2-devel.i386 to yum exclude list as it breaks
    builds.
  - Add backwards-compatibility code for old-style 'automatically assume rebuild'
    convention
  - automake symlink accidentally included in tarball rather than file
    (py-compile)
  - update manpage


author: Michael Brown <mebrown@michaels-house.net> - 0.8.8-1
changelog:
  - make it run correctly when called by the 'root' user
  - internal_setarch: optionally run 'setarch' internally. This
    eliminates the need to run "setarch i386 mock ..." when building on
    target_arch != build_arch. This is turned on by default. Limitations:
    must have 'ctypes' python module available, which is only available
    by default in python 2.5, or as an extension module in <= 2.4.
    If the 'ctypes' module is not available, this feature will be
    disabled and you must manually run 'setarch'.
  - Does not run 'clean' action for 'shell', 'chroot', 'install', or
    'installdeps' (docs updated)
  - fix build for top_builddir != top_srcdir
  - fix 'installdeps' so that it works with both rpms/srpms
  - missing device file /dev/ptmx was causing 'expect' command to always
    fail. Affected any SRPM build that used 'expect'.
  - hard spec file dep on python >= 2.4 due to python syntax changes.
  - resultdir can now contain python-string substitutions for any
    variable in the chroot config.
    rebuild my.src.rpm
  - add 'dist' variable to all chroot config files so that it is
    available for resultdir substitutions.
  - give good error message when logging.ini cannot be found.
  - change default logging format to remove verbosity from build.log.
  - make logging format configurable from defaults.cfg or chroot cfg.
  - less verbose state.log format


author: Michael Brown <mebrown@michaels-house.net> - 0.8.3-1
changelog:
  - BZ# 336361 -- cannot su - mockbuild
  - BZ# 326561 -- update manpage
  - BZ# 235141 -- error with immutable bit


author: Michael Brown <mebrown@michaels-house.net> - 0.8.0-1
changelog:
  - 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)


author: Clark Williams <williams@redhat.com> - 0.6.1-1
changelog:
  - added fix from David Lutterkort for RHEL
  - refactored some conditional blocks for simplicity
  - added this entry for Dennis Gilmore's aurora SPARC fixes


author: Paul Howarth <paul@city-fan.org> - 0.5-2
changelog:
  - For FC < 5 or Red Hat Linux 9, include elfutils
  - For non-Fedora distrbutions, require redhat-release instead of fedora-release
  - For Red Hat Linux 8 and earlier, require fileutils instead of coreutils
  - Red Hat Linux 8 requires findutils for brp-strip


