76fd650
# next four lines substituted by autoconf
053a641
%define major 1
a658f51
%define minor 1
Clark Williams 4cd55ed
%define sub 38
293fded
%define extralevel %{nil}
293fded
%define release_name mock
293fded
%define release_version %{major}.%{minor}.%{sub}%{extralevel}
293fded
293fded
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
293fded
Clark Williams fbf2e29
# mock group id allocate for Fedora
Clark Williams fbf2e29
%global mockgid  135
Clark Williams fbf2e29
Seth Vidal 32b2475
Summary: Builds packages inside chroots
Seth Vidal 32b2475
Name: mock
293fded
Version: %{release_version}
Clark Williams 4cd55ed
Release: 1%{?dist}
3ea2d8b
License: GPLv2+
Seth Vidal 32b2475
Group: Development/Tools
Clark Williams 6219f59
Source: https://git.fedorahosted.org/cgit/mock.git/snapshot/%{name}-%{version}.tar.xz
Seth Vidal 44500a7
URL: http://fedoraproject.org/wiki/Projects/Mock
Seth Vidal 32b2475
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2770ef6
BuildArch: noarch
Clark Williams 9e2a08e
Requires: python >= 2.6, yum >= 2.4, tar, pigz, python-ctypes, python-decoratortools, usermode
Clark Williams 9e2a08e
%if 0%{?rhel} == 6
Clark Williams 9e2a08e
Requires: yum-utils
Clark Williams 9e2a08e
%else
Clark Williams 9e2a08e
Requires: yum-utils >= 1.1.31
Clark Williams 9e2a08e
%endif
febd38f
Requires: createrepo
Seth Vidal 32b2475
Requires(pre): shadow-utils
23f9673
Requires(post): coreutils
Clark Williams 6125a2f
BuildRequires: python-devel, autoconf, automake
Clark Williams 6219f59
%if 0%{?fedora} || 0%{?rhel} > 6
Clark Williams 6219f59
BuildRequires: bash-completion
Clark Williams 6219f59
%endif
23f9673
%if 0%{?el5}
fff79f0
Requires: python-hashlib
fff79f0
%endif
Seth Vidal 32b2475
Seth Vidal 32b2475
%description
fff79f0
Mock takes an SRPM and builds it in a chroot
Seth Vidal 32b2475
Clark Williams fbf2e29
%package scm
Clark Williams fbf2e29
Group: Development/Tools
Clark Williams fbf2e29
Summary: Mock SCM integration module
Clark Williams fbf2e29
Requires: mock = %{version}-%{release}, cvs, git, subversion, tar
Clark Williams fbf2e29
Clark Williams fbf2e29
%description scm
Clark Williams fbf2e29
Mock SCM integration module
Clark Williams fbf2e29
Seth Vidal 32b2475
%prep
Seth Vidal 32b2475
%setup -q
e087a33
Seth Vidal 32b2475
%build
Clark Williams 6813eac
autoreconf -vif
293fded
%configure
293fded
make
Seth Vidal 32b2475
Seth Vidal 32b2475
%install
Seth Vidal 32b2475
rm -rf $RPM_BUILD_ROOT
Seth Vidal 32b2475
make DESTDIR=$RPM_BUILD_ROOT install
293fded
mkdir -p $RPM_BUILD_ROOT/var/lib/mock
a2383be
mkdir -p $RPM_BUILD_ROOT/var/cache/mock
49927b8
ln -s consolehelper $RPM_BUILD_ROOT/usr/bin/mock
Seth Vidal 32b2475
5561ec2
# compatibility symlinks
5561ec2
# (probably be nuked in the future)
5561ec2
pushd $RPM_BUILD_ROOT/etc/mock
5561ec2
ln -s epel-5-i386.cfg   fedora-5-i386-epel.cfg
5561ec2
ln -s epel-5-ppc.cfg    fedora-5-ppc-epel.cfg
5561ec2
ln -s epel-5-x86_64.cfg fedora-5-x86_64-epel.cfg
84691ed
# more compat, from devel/rawhide rename
84691ed
ln -s fedora-rawhide-i386.cfg fedora-devel-i386.cfg
84691ed
ln -s fedora-rawhide-x86_64.cfg fedora-devel-x86_64.cfg
84691ed
ln -s fedora-rawhide-ppc.cfg fedora-devel-ppc.cfg
84691ed
ln -s fedora-rawhide-ppc64.cfg fedora-devel-ppc64.cfg
5561ec2
popd
a658f51
echo "%defattr(0644, root, mock)" > %{name}.cfgs
23f9673
find $RPM_BUILD_ROOT%{_sysconfdir}/mock -name "*.cfg" \
a658f51
    | sed -e "s|^$RPM_BUILD_ROOT|%%config(noreplace) |" >> %{name}.cfgs
a658f51
23f9673
# just for %%ghosting purposes
23f9673
ln -s fedora-rawhide-x86_64.cfg $RPM_BUILD_ROOT%{_sysconfdir}/mock/default.cfg
5561ec2
Clark Williams 6219f59
if [ -d $RPM_BUILD_ROOT%{_datadir}/bash-completion ]; then
Clark Williams 6219f59
    echo %{_datadir}/bash-completion/completions/mock >> %{name}.cfgs
Clark Williams 6219f59
    echo %{_datadir}/bash-completion/completions/mockchain >> %{name}.cfgs
Clark Williams 6219f59
elif [ -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d ]; then
Clark Williams 6219f59
    echo %{_sysconfdir}/bash_completion.d/mock >> %{name}.cfgs
Clark Williams 6219f59
fi
Clark Williams 6219f59
Seth Vidal 32b2475
%clean
Seth Vidal 32b2475
rm -rf $RPM_BUILD_ROOT
Seth Vidal 32b2475
Seth Vidal 32b2475
%pre
Clark Williams fbf2e29
Clark Williams fbf2e29
# check for existence of mock group, create it if not found
Clark Williams 9f2fec5
getent group mock > /dev/null || groupadd -f -g %mockgid -r mock
Clark Williams fbf2e29
exit 0
Seth Vidal 32b2475
23f9673
%post
Clark Williams fbf2e29
Clark Williams fbf2e29
# fix cache permissions from old installs
Clark Williams fbf2e29
chmod 2775 /var/cache/mock
Clark Williams fbf2e29
Clark Williams 971cfa7
if [ -e /etc/fedora-release ]
Clark Williams 971cfa7
then
Clark Williams 9e2a08e
    ver=$(rpm -q --nosignature --qf "%{VERSION}" --whatprovides fedora-release)
Clark Williams 971cfa7
else
Clark Williams 9e2a08e
Clark Williams 9e2a08e
    ver=$(rpm -q --nosignature --qf "%{VERSION}" --whatprovides redhat-release)
Clark Williams 971cfa7
fi
Clark Williams 971cfa7
Clark Williams 56e3469
rm -f %{_sysconfdir}/%{name}/default.cfg
Clark Williams 56e3469
cfg=%{?fedora:fedora}%{?rhel:epel}-$ver-$(uname -i).cfg
Clark Williams 971cfa7
[ -e %{_sysconfdir}/%{name}/$cfg ] || exit -2
Clark Williams 56e3469
ln -s -f $cfg %{_sysconfdir}/%{name}/default.cfg
23f9673
:
23f9673
23f9673
%files -f %{name}.cfgs
Seth Vidal 32b2475
%defattr(-, root, root)
49927b8
49927b8
# executables
49927b8
%{_bindir}/mock
cd46534
%{_bindir}/mockchain
5561ec2
%attr(0755, root, root) %{_sbindir}/mock
293fded
293fded
# python stuff
293fded
%{python_sitelib}/*
Clark Williams fbf2e29
%exclude %{python_sitelib}/mockbuild/scm.*
293fded
293fded
# config files
Seth Vidal 32b2475
%dir  %{_sysconfdir}/%{name}
23f9673
%ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/default.cfg
293fded
%config(noreplace) %{_sysconfdir}/%{name}/*.ini
49927b8
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
49927b8
%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
293fded
49927b8
# docs
ef5fe3f
%{_mandir}/man1/mock.1*
cd46534
%{_mandir}/man1/mockchain.1*
09bef10
%doc ChangeLog
49927b8
35d5baa
# cache & build dirs
35d5baa
%defattr(0775, root, mock, 02775)
35d5baa
%dir /var/cache/mock
35d5baa
%dir /var/lib/mock
Clark Williams fbf2e29
Clark Williams fbf2e29
%files scm
Clark Williams fbf2e29
%defattr(-, root, root)
Clark Williams fbf2e29
%{python_sitelib}/mockbuild/scm.py*
Clark Williams dcfea83
Seth Vidal 32b2475
%changelog
Clark Williams 4cd55ed
* Mon Mar 31 2014 Clark Williams <williams@redhat.com> - 1.1.38-1
Clark Williams 4cd55ed
- revert commit 34d0b1d815e4 for quoting (breaks fedora-review)
Clark Williams 4cd55ed
Clark Williams 9e2a08e
* Thu Mar 27 2014 Clark Williams <williams@redhat.com> - 1.1.37-2
Clark Williams 9e2a08e
- fix el6 requires for yum-utils
Clark Williams 9e2a08e
Clark Williams 6219f59
* Mon Mar 24 2014 Clark Williams <williams@redhat.com> - 1.1.37-1
Clark Williams 6219f59
- fix thinko in test script for running configs
Clark Williams 6219f59
- plugins: turn off package_state plugin by default
Clark Williams 6219f59
- fix automake to use 'xz' compression
Clark Williams 6219f59
- additional commits needed by scm commit
Clark Williams 6219f59
- elevate privs when accessing the chroot rpmdb [BZ# 1051474]
Clark Williams 6219f59
- quote --shell args like a shell [BZ# 966144]
Clark Williams 6219f59
- from Tuomo Soini <tis@foobar.fi>
Clark Williams 6219f59
  - Fix for race in directory creation [BZ# 1052045]
Clark Williams 6219f59
- from Peter Jönsson <peter.jonsson@klarna.com>
Clark Williams 6219f59
  - Add support for creating tarballs with scm data still inside
Clark Williams 6219f59
- from Tomas Kopecek <tkopecek@redhat.com>
Clark Williams 6219f59
  - internal_dev_setup option used consistently
Clark Williams 6219f59
- from Dennis Gilmore <dennis@ausil.us>
Clark Williams 6219f59
  - add rawhide aarch64 config
Clark Williams 6219f59
  - remove sparc rawhide configs, she be dead
Clark Williams 6219f59
- from Ville Skyttä <ville.skytta@iki.fi>
Clark Williams 6219f59
  - Use $(mocketcdir) in install-data-hook instead of duplicating its value
Clark Williams 6219f59
  - Use xz tarball to save a bit of space
Clark Williams 6219f59
  - Clean up unused imports
Clark Williams 6219f59
  - Install bash completion to proper dir with bash-completion 2
Clark Williams 6219f59
  - Remove Fedora 18 configs
Clark Williams 6219f59
  - Use install @foo instead of groupinstall foo in chroot_setup_cmd
Clark Williams 6219f59
- from Rodrigo Dias Cruz <rodrigodc+redhatbugzilla@gmail.com>
Clark Williams 6219f59
  -  fix scm problem with specfiles using rpm macros [BZ# 1056271]
Clark Williams 9e2a08e
- from Tomas Kopecek <tkopecek@redhat.com>
Clark Williams 9e2a08e
  - avoid undefined variable error in try/finally block [BZ# 1063275]
Clark Williams 6219f59
Clark Williams 6813eac
* Wed Feb  5 2014 Clark Williams <williams@redhat.com> - 1.1.36-1
Clark Williams 6813eac
- configs: first cut at epel-7 configs for x86_64 and ppc64
Clark Williams 6813eac
- Add 'extra_chroot_dirs' config option
Clark Williams 6813eac
- use repoquery --installroot to avoid yum cache corruption [BZ# 1029352 and 985681]
Clark Williams 6813eac
- mockchain: avoid special characters in repoid [BZ# 1034805]
Clark Williams 6813eac
- from Jon Disnard <jdisnard@gmail.com>:
Clark Williams 6813eac
  - implement autoreconf call in build phase of mock rpm [BZ# 926154]
Clark Williams 6813eac
  - fix --copyout by temporary drop and restore of privs [BZ# 1002142]
Clark Williams 6813eac
- from Dennis Gilmore <dennis@ausil.us>:
Clark Williams 6813eac
  - rawhide and f19/f18 is hardware floating point only for arm, drop the unneeded configs
Clark Williams 6813eac
- from Yann Droneaud <yann@droneaud.fr>:
Clark Williams 6813eac
  - pass root environment to repoquery calls for proxy config [BZ# 974499]
Clark Williams 6813eac
- from Miroslav Suchý <msuchy@redhat.com>:
Clark Williams 6813eac
  - add releasever config option to configs [BZ# 1056039]
Clark Williams 6813eac
Clark Williams 971cfa7
* Tue Nov  5 2013 Clark Williams <williams@redhat.com> - 1.1.35-1
Clark Williams 971cfa7
- modified %%post logic to set default config correctly
Clark Williams 971cfa7
Clark Williams 56e3469
* Tue Oct 29 2013 Clark Williams <williams@redhat.com> - 1.1.34-1
Clark Williams 56e3469
- fixed specfile to include mass rebuild changelog entry
Clark Williams 56e3469
- package_state: drop privs when writing available_packages data [BZ# 916685]
Clark Williams 56e3469
- unconditionally update default.cfg on install [BZ# 858822]
Clark Williams 56e3469
- attempt to make mock more EL5 friendly [BZ# 949616]
Clark Williams 56e3469
- do not ignore missing dependencies [BZ# 955478]
Clark Williams 56e3469
- set the group defined in chrootgid [BZ# 953519]
Clark Williams 56e3469
- add the --nocheck option to mock [BZ# 1015790]
Clark Williams 56e3469
- raise privs before deleting rpm db files in chroot [BZ# 973617]
Clark Williams 56e3469
- clean up orphan processes even if chroot not cleaned [BZ# 972868]
Clark Williams 56e3469
- do not remove the chroot builddir if not cleaning the chroot [BZ# 483486]
Clark Williams 56e3469
- use root object environment in package_state plugin [BZ# 921221]
Clark Williams 56e3469
- Pass values of --plugin-option through literal_eval [BZ# 1018359]
Clark Williams 56e3469
- add default mode to mount in tmpfs plugin [BZ# 598257]
Clark Williams 56e3469
- exit mockbuild.util.logOutput() when child process dies [BZ# 885405]
Clark Williams 56e3469
Clark Williams dcfea83
* Wed Aug 21 2013 Clark Williams <williams@redhat.com> - 1.1.33-1
Clark Williams dcfea83
- removed f17 configs
Clark Williams dcfea83
- added f20 configs
Clark Williams dcfea83
- fixed mockchain to use mock config default setup [BZ# 962573]
Clark Williams dcfea83
- remove bogus lockfile dir in _setupDirs() [BZ# 894305]
Clark Williams dcfea83
3076748
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.32-2
3076748
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3076748
Clark Williams 9f2fec5
* Thu Apr 18 2013 Clark Williams <williams@redhat.com> - 1.1.32-1
Clark Williams 9f2fec5
- fixed post scriptlet to use correct keyword to getent
Clark Williams 9f2fec5
Clark Williams fbf2e29
* Fri Apr 12 2013 Clark Williams <williams@redhat.com> - 1.1.31-1
Clark Williams fbf2e29
- removed f16 configurations files
Clark Williams fbf2e29
- selinux plugin: modify to catch yum-builddep in callback [BZ# 923927]
Clark Williams fbf2e29
- fix logging assumption in main mock file [BZ# 912624]
Clark Williams fbf2e29
- initial cut at chroot_scan plugin [BZ# 441090]
Clark Williams fbf2e29
- updated specfile to use static mock gid 135
Clark Williams fbf2e29
- from Marko Myllynen <myllynen@redhat.com>:
Clark Williams fbf2e29
  - separate scm module into separate package [BZ# 798367]
Clark Williams fbf2e29
  - scm plugin: Handle filenames w/ spaces in SCM/git  [BZ# 915264]
Clark Williams fbf2e29
  - scm plugin: if tar supports --exlcude-vcs use it [BZ#  824848]
Clark Williams fbf2e29
- from Shad L. Lords <slords@lordsfam.net>:
Clark Williams fbf2e29
  - mounts plugin: removed redundant '-t' specified for vfstype [BZ# 910857]
Clark Williams fbf2e29
- from Justin Lewis Salmon <jsalmon@cern.ch>:
Clark Williams fbf2e29
  - root cache plugin: add the --cache-alternations option [BZ# 905363]
Clark Williams fbf2e29
Clark Williams 7aaa952
* Thu Mar 28 2013 Clark Williams <williams@redhat.com> - 1.1.30-1
Clark Williams 7aaa952
- beef up the logic to remove RPM lock files inside the chroot
Clark Williams 7aaa952
- add backup-before-clean configuration options [BZ# 799639]
Clark Williams 7aaa952
- added fedora-19 config files [BZ# 922268]
Clark Williams 7aaa952
- package_state plugin: don't run repoquery when offline [BZ# 927496]
Clark Williams 7aaa952
Clark Williams 1e25ce6
* Fri Feb 22 2013 Clark Williams <williams@redhat.com> - 1.1.29-1
Clark Williams 1e25ce6
- move CLONE_NEWUTS to extended unshare options [BZ# 890695]
Clark Williams 1e25ce6
- make epel-5-* config files safe to eval [BZ# 903686]
Clark Williams 1e25ce6
- remove CLONE_NEWPID (for now) from unshare(2) call [BZ# 894623]
Clark Williams 1e25ce6
- initialize package_state_opts so that package_state plugin will work
Clark Williams 1e25ce6
- change default tests environment to be -i386
Clark Williams 1e25ce6
- From Tim Woods <timw.fedora@gmail.com>
Clark Williams 1e25ce6
  - Fix mockchain repo id calculation [BZ# 880849]
Clark Williams 1e25ce6
- From Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Clark Williams 1e25ce6
  - Fix most bashism in test scripts
Clark Williams 7aaa952
- From Seth Vidal <skvidal@fedoraproject.org>:
Clark Williams 7aaa952
  - mockchain: allow for a non-username tmpdir prefix
Clark Williams 7aaa952
  - mockchain: comma is a protected character make it _ instead
2eabcaf
a658f51
* Mon Sep 24 2012 Clark Williams <williams@redhat.com> - 1.1.28-1
896a5f3
- add updates-testing stanza to fedora-1x-*.cfg [BZ# 610826]
896a5f3
- modify scrub to handle non-existant chroots [BZ# 860368]
d10f258
a658f51
* Fri Sep  7 2012 Clark Williams <williams@redhat.com> - 1.1.27-1
6774620
- fixed configs test report to indicate configuration failure total
6774620
- remove dead code, unused array 'legal_arches'
6774620
- add an 'age_check' parameter to root_cache
6774620
- deal with NFS home directories and root_cache issues [BZ# 649192]
6774620
- from Mike Miller <mtmiller@ieee.org>:
6774620
  - Fix mock kernel version comparison [BZ# 847473]
6774620
- from Mathieu Bridon <bochecha@fedoraproject.org>:
6774620
  - fix various start/finish state problems [BZ# 835633]
6774620
- from Colin Walters <walters@redhat.com>:
6774620
  - add CLONE_NEWPID and CLONE_NEWIPC to unshare call [BZ# 851340]
6774620
a658f51
* Fri Aug 10 2012 Dennis Gilmore <dennis@ausil.us> - 1.1.26-2
a658f51
- add f18 configs
a658f51
- add rawhide s390 config
6774620
a658f51
* Mon Aug  6 2012 Clark Williams <williams@redhat.com> - 1.1.26-1
a658f51
- move the fedora-17-ppc* configs into the configs directory
75e3c7a
a658f51
* Tue Jul 31 2012 Clark Williams <williams@redhat.com> - 1.1.25-1
9a15127
- From Karsten Hopp <karsten@redhat.com>:
9a15127
  - added ppc and ppc64 configs for fedora 17
9a15127
a658f51
* Fri Jul 27 2012 Clark Williams <williams@redhat.com> - 1.1.24-1
b328b71
- Fixed error when calling os.getlogin() [BZ# 843434]
b328b71
- removed fedora-15 config files
b328b71
- from Matt McCutchen <matt@mattmccutchen.net>:
b328b71
  - allowed common options to be added to yum commands [BZ# 734576]
b328b71
- from Ville Skyttä <ville.skytta@iki.fi>:
b328b71
  - added mockchain completion
b328b71
- from Seth Vidal <skvidal@fedoraproject.org>:
b328b71
  - added package_state_plugin
8082e3f
a658f51
* Thu Jun  7 2012 Clark Williams <williams@redhat.com> - 1.1.23-1
cd46534
  - modified startup code to only set mock group [BZ# 809676]
cd46534
  - add CLONE_NEWUTS to unshare(2) call [BZ# 818445]
cd46534
  - from Seth Vidal <skvidal at fedoraproject.org>:
cd46534
    - add mockchain to mock [BZ# 812477]
cd46534
  - from Marko Myllynen <myllynen@redhat.com>:
cd46534
    - fix write_tar check in scm.py [BZ# 828677]
cd46534
  - from Masatake YAMATO <yamato@redhat.com>:
cd46534
    - added option to set a plugin parameter value [BZ# 754321]
cd46534
a658f51
* Thu Mar 29 2012 Clark Williams <williams@redhat.com> - 1.1.22-1
ee37ab0
- fix SCM problem with SSH_AUTH_SOCK [BZ# 803217]
ee37ab0
- From Chris St Pierre <chris.a.st.pierre@gmail.com>:
a658f51
  - allow chroot group to be configure option
ee37ab0
a658f51
* Wed Feb  8 2012 Clark Williams <williams@redhat.com> - 1.1.21-1
a658f51
- from Dennis Gilmore <dennis@ausil.us>
209b8b9
  - add Fedora 17 mock configs
209b8b9
  - have configs reflect the dropping of dist- for koji repos
209b8b9
  - add configs for arm hardware floating point
209b8b9
a658f51
* Mon Jan 30 2012 Clark Williams <williams@redhat.com> - 1.1.20-1
a658f51
- changed createrepo invocation to not be done inside the chroot [BZ# 783926]
a658f51
- changed [local] repo definitions in f16+ configs [BZ# 753735]
11542d9
- from Ville Skyttä <ville.skytta@iki.fi>
a658f51
  - Allow setting https, ftp, and no proxy in addition to http.
11542d9
a658f51
* Mon Jan  2 2012 Clark Williams <williams@redhat.com> - 1.1.19-2
a658f51
- fix missing files from Makefile.am
46fd486
a658f51
* Mon Jan  2 2012 Clark Williams <williams@redhat.com> - 1.1.19-1
a658f51
- fix dangling symlink when using SCM [BZ# 758781]
e02a702
- remove setting TMPDIR in chroot environment [BZ# 769728]
e02a702
- add code to allow global proxy in chroot [BZ# 766199]
e02a702
- explicitly set unprivileged umask in --shell [BZ# 747119]
e02a702
- add bind-mount config to create sourcedirs [BZ# 706174]
a658f51
- move mount management into classes
a658f51
- update environment management code
a658f51
a658f51
* Sat Nov 26 2011 Clark Williams <williams@redhat.com> - 1.1.18-1
7711100
- modify creation of default.cfg link to force creation if the
7711100
  symlink exists but doesn't point to a valid config [BZ# 741145]
7711100
- remove TZ from default environment [BZ# 754701]
7711100
- unbuffer output from --chroot command [BZ# 744761]
7711100
- added -debug stanzas in configs [BZ# 610823]
7711100
- report package contents of chroot after init [BZ# 736858]
7711100
- add _umountall() call to clean [BZ# 502922]
7711100
- updated release checklist overview and 1.1 checklist
7711100
- add code to tmpfs plugin to try a force umount on umount fail
7711100
- add 'lazy' option (-l) to umount
7711100
- prevent exceptions when showing installed packages on EPEL-4
7711100
- deleted unused (or cannot be used) configs
7711100
- from Davi Arnaut <davi.arnaut@gmail.com>
7711100
  - set chroot environment variables from config files [BZ# 753179]
7711100
a658f51
* Mon Oct 31 2011 Clark Williams <williams@redhat.com> - 1.1.17-1
a658f51
- fix borken shell argument handling [BZ# 750075]
7ab8ddf
- from Marko Myllynen <myllynen@redhat.com>:
7ab8ddf
  - Fix SCM integration on RHEL 5 [BZ# 749518]
a658f51
- from Ville Skyttä <ville.skytta@iki.fi>:
7ab8ddf
  - bash completion fixes
7ab8ddf
Clark Williams dcfea83
* Fri Oct 21 2011 Clark Williams <williams@redhat.com> - 1.1.16-1
85abec3
- modified bind_mount and tmpfs plugins to use hooks for shell and chroot
85abec3
- refactored --shell and --chroot commands [BZ# 619533,728004,745550]
85abec3
- added input validation for --buildsrpm [BZ# 743173]
85abec3
- ensured configs don't have execute bit set [BZ# 744013]
85abec3
- modified root cache pluging to not cache bind mounts [BZ# 744727]
85abec3
- removed invalid excludes from epel-{4,5}-x86_64 configs [BZ# 533762]
85abec3
- From Marko Myllynen <myllynen@redhat.com>:
85abec3
  - Set HOME properly when doing SCM checkouts [BZ# 745394]
85abec3
  - Support for setting timestamps for Git checkouts [BZ# 745396]
85abec3
- From Yury V. Zaytsev <yury@shurup.com>:
Clark Williams dcfea83
  - fix incorrect-fsf-address rpmlint warning [BZ#741068]
85abec3
- From Jan Vcelak <jvcelak@redhat.com>:
85abec3
  - resolve SELinux filesystem mountpoint [BZ# 734781]
85abec3
a658f51
* Fri Sep 23 2011 Clark Williams <williams@redhat.com> - 1.1.15-1
35d5baa
- Fixed logging issues due to namespace change [BZ# 740232,739550,739972]
35d5baa
- Fixed error removing old RMP db files [BZ# 738052]
35d5baa
- From Yury V. Zaytsev <yury@shurup.com>:
35d5baa
  - SELinux plugin uses Python 2.5 syntax [BZ# 740327]
35d5baa
  - Fix inconsistent permissions in specfile [BZ# 715286]
35d5baa
a658f51
* Fri Sep  9 2011 Clark Williams <williams@redhat.com> - 1.1.14-1
e735915
- From Toshio Ernie Kuratomi <a.badger@gmail.com>
e735915
  - Fix install path of mockbuild module and default path to module dir
e735915
a658f51
* Thu Sep  8 2011 Clark Williams <williams@redhat.com> - 1.1.13-1
d8c652b
- add custom exception for unshare(2) failures
d8c652b
- change getLog().warn to getLog().warning for consistency
d8c652b
- fix namespace collision with python-mock [BZ# 601725]
d8c652b
- from Kirby Zhou <kirbyzhou@sogou-inc.com>
d8c652b
  - remove rpmdb files before rebuilding SRPM [BZ# 719008]
d8c652b
- from Marko Myllynen <myllynen@redhat.com>
d8c652b
  - integrate mock with RHN
d8c652b
- from Giam Teck Choon <choon@choon.net>
d8c652b
  - add support for passing options to yum-buildep via mock cfg
d8c652b
a658f51
* Tue Jul 26 2011 Clark Williams <williams@redhat.com> - 1.1.12-1
95e8735
- remove f13 configs
95e8735
- added exception for unshare(2) failures [BZ# 718714]
95e8735
- added back 'newinstance' mount option to devpts (with symlink logic)
95e8735
- fixed epel-6-* configurations [BZ# 679885, 719740]
95e8735
- from Matt Domsch <Matt_Domsch@dell.com>
95e8735
  - tmpfs plugin typo fix
95e8735
a658f51
* Wed Jun 22 2011 Clark Williams <williams@redhat.com> - 1.1.11-1
927de5b
- remove 'newinstance' mount parameter from devpts filesystem mount (BZ# 711175)
927de5b
- modify --chroot command to print command output
927de5b
- update the python requirement to >= 2.6 for 1.1.x mock branch
927de5b
- updated build procedure using fedpkg
927de5b
- added Fedora 16 configuration files
927de5b
- from James Laska <jlaska@redhat.com>
927de5b
  - fix log message typo in SELinux plugin
927de5b
- from Yury V. Zaytsev <yury@shurup.com>
927de5b
  - Fix inconsistent permissions fixing on /var/cache/mock in SPEC template (BZ 715286)
927de5b
a658f51
* Fri May 13 2011 Clark Williams <williams@redhat.com> - 1.1.10-1
593f710
- raise exception if running mock and user not member of mock group (BZ# 630791)
593f710
- call setsid() to kill controlling terminal in chroot (BZ# 672713,501096)
593f710
- Went back to creating /dev/tty and /dev/ptmx in all chroots (BZ# 683111)
593f710
- Fixed problem where mock was not constrained to the chroot (BZ# 669733)
593f710
- Fix typo in /dev/tty creation code for EPEL{4,5} (BZ# 675803)
593f710
- From Marko Myllynen <myllynen@redhat.com>:
593f710
  - updated SCM integration (BZ# 670453)
593f710
- from Masatake YAMATO <yamato@redhat.com>:
593f710
  - fixed invocation typo in exception.py (BZ# 634555)
593f710
- From Jan Vcelak <jvcelak@redhat.com>:
593f710
  - updated selinux plugin (BZ# 573111, 667190)
593f710
- From Levente Farkas <lfarkas@lfarkas.org>:
593f710
  - adding missing macro for epel-5 configs (BZ# 695298)
593f710
- From  Mathieu Bridon <bochecha@fedoraproject.org> and
593f710
        Remi Collet <fedora@famillecollet.com>:
593f710
  - fix chroot cleanup issues (BZ# 668222)
593f710
  - fix ccache ownership issues (BZ# 700983)
593f710
- From Dan Horák <dan@danny.cz>:
593f710
  - added s390 back as legal arch for s390x (BZ# 678047)
593f710
- From Ville Skyttä <ville.skytta@iki.fi>:
593f710
  - Fixes shell escaping issue by using tuples rather than strings
593f710
a658f51
* Fri Feb 18 2011 Clark Williams <williams@redhat.com> - 1.1.9-1
896a5f3
- fix createrepo generated root-owned repository data (BZ# 668278)
a658f51
- commented out /dev/tty handling code in backend.py (BZ# 609201)
a658f51
- from Ville Skyttä <ville.skytta@iki.fi>
a658f51
  - Use completion goodies from bash-completion >= 1.2 if available.
a658f51
  - Add --scm-enable and --scm-option to bash completion.
a658f51
  - Delete trailing whitespace.
a658f51
  - Add --install bash completion.
a658f51
  - Make --enable/disable-plugin completion work again.
b00d7e2
- From Jesse Keating <jkeating@redhat.com>
b00d7e2
  - Make "dist" for rawhide configs be "rawhide" (BZ# 506157)
a658f51
  - Revert "turn off updates-released repository for fedora-14 configs"
a658f51
- From Mike McLean <mikem@redhat.com>
Clark Williams dcfea83
  - fix typo in el4/5 /dev/tty creation (fh ticket #13, mwhiteley)
593f710
- From Dennis Gilmore <dennis@ausil.us>
a658f51
  - Revert "disable the updates repos for F-15  they dont yet exist"
a658f51
  - sparc64 boxes can build 32 bit sparc stuff
a658f51
  - add rawhide arm config
a658f51
  - use the s390 mirrorlists for s390 configs
a658f51
  - disable the updates repos for F-15  they dont yet exist
a658f51
  - add the f15 mock configs
a658f51
a658f51
* Fri Dec 17 2010 Clark Williams <williams@redhat.com> - 1.1.8-1
90a5270
- corrected examples section of the mock.1 man page
90a5270
- added logging for 'install' and 'update' commadns (BZ# 594477)
90a5270
- added log file of root cache creation (BZ# 444796)
90a5270
- added logging to the scrub command
90a5270
- added unlockBuildRoot() method to clean up build root lockfile
a658f51
- added retry logic to mock.util.rmtree
a658f51
- removed fedora-12 config files
90a5270
- From Michael Hampton <error@ioerror.us>:
90a5270
  - Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223)
90a5270
- From Marko Myllynen <myllynen@redhat.com>:
90a5270
  - Integrate Mock with SCMs (CVS/Git/SVN)
90a5270
  - document SCM build options in usage and man page
90a5270
- From Masatake YAMATO <yamato@redhat.com>:
90a5270
  - add runtime location of plugins (BZ# 634224)
90a5270
a658f51
* Mon Dec 13 2010 Clark Williams <williams@redhat.com> - 1.1.7-1
23f9673
- add 'legal_host_arches' config option to configs (BZ# 622792)
23f9673
- add root check and group check (BZ# 662223)
23f9673
- from Ville Skyttä <ville.skytta@iki.fi>:
23f9673
  - Try to set up an appropriate default.cfg symlink at post install time
23f9673
  - Clean up disttag usage
23f9673
  - Drop obsolete and nonfunctional F-8 bits from specfile
23f9673
  - Drop no longer used requiresTextFromHdr() and uniqReqs()
23f9673
  - Install build deps with yum-builddep
23f9673
  - Add comment why binary packages are built with --nodeps
23f9673
a658f51
* Thu Oct 14 2010 Clark Williams <williams@redhat.com> - 1.1.6-1
d52e2d7
- replace call to perl with native python edit function
d52e2d7
- change permissions of selinux plugin 'filesystems' file
d52e2d7
- from Ville Skyttä <ville.skytta@iki.fi>:
d52e2d7
  - Find out completions for --*-plugin dynamically
d52e2d7
  - Keep $COLUMNS in consolehelper environment for --help formatting
d52e2d7
  - Document --scrub, --enable-plugin, and --disable-plugin
d52e2d7
  - Fix option name in --enable-plugin/--disable-plugin error string
d52e2d7
  - Add --scrub completion
d52e2d7
  - Complete on *.spm (*.src.rpm are sometimes named like that e.g. in SUSE)
d52e2d7
  - Fix buildsrpm() docstring
d52e2d7
  - Error message improvements
d52e2d7
a658f51
* Fri Sep 17 2010 Clark Williams <williams@redhat.com> - 1.1.5-1
a658f51
- fix typo in exception.py
db799ff
- add cmpKernelEVR function to compare kernel versions (BZ# 526414)
a658f51
- change selinux plugin to use tempfilej
db799ff
- added commandline argument checking for --buildsrpm (BZ# 605800)
db799ff
- create empty faillog and lastlog in <chroot>/var/log (BZ# 585973 & 633435)
db799ff
- changed copyin/copyout prints from debug to info
db799ff
- from Alan Franzoni <mailing@franzoni.eu>:
db799ff
  - reworked the root object _umountall() method
db799ff
- fix epel4 chroot cleanup and umountall issue
a658f51
- add exception trapping code to _unlock_and_rm_chroot() method
a658f51
a658f51
* Mon Aug 09 2010 Clark Williams <williams@redhat.com> - 1.1.4-1
a658f51
- pass selinux status to mock.util.rmtree() (BZ# 614440)
a658f51
- change integer constants to symbolic errno constants in util.py
a658f51
- from Paul Howarth <paul@city-fan.org>
a658f51
  - update packages after unpacking root cache (BZ# 557526)
a658f51
  - noarch is always a legal arch (BZ# 622170)
a658f51
  - exclude bind-mounted cache dirs from root cache
a658f51
  - retain order of umount commands (BZ# 620825)
a658f51
  - add i586 as legal build target (BZ# 622544)
a658f51
a658f51
* Tue Aug 03 2010 Clark Williams <williams@redhat.com> - 1.1.3-1
a658f51
- fix umount ordering problem with selinux plugin (BZ# 620825)
a658f51
- setup SELinux state properly (BZ# 620143)
a658f51
a658f51
* Fri Jul 30 2010 Clark Williams <williams@redhat.com> - 1.1.2-1
7abc309
- From Jan Vcelak <jvcelak@redhat.com>:
a658f51
  - added selinux plugin
7abc309
- From Kalev Lember <kalev@smartlink.ee>:
a658f51
  - added max_fs_size parameter for tmpfs plugin
7abc309
- From Ricky Zhou <rzhou@redhat.com>:
7abc309
  - allow --sources to specify either single file or directory (BZ# 510409)
7abc309
- From Dennis Gilmore <dennis@ausil.us>:
a658f51
  - update the epel-6 mock configs to point at the beta2 mirrorlist urls
a658f51
- From  Paul B. Schroeder <paulbsch@haywired.net>:
7abc309
  - add the --scrub option for cleaning up cache (BZ# 450726)
a658f51
- added f14 configs
7abc309
- added symlink from /proc/self/fd to /dev/fd in the chroot (BZ# 526414)
7abc309
- added i686 architecture
7abc309
- added logic to detect invalid architecture combinations (BZ# 607144)
7abc309
- added description of how to add user to the mock group (BZ# 570434)
a658f51
- deleted fedora-10 and fedora-11 configs
a658f51
- moved rpmdb clean block so that it works with --offline
a658f51
- changed from referencing defaults.cfs to site-defaults.cfg (BZ# 600487)
a658f51
- fix cachefile generation filtering logic
a658f51
- filter out proc,sys,and dev from cache file creation
f497284
a658f51
* Fri May 14 2010 Clark Williams <williams@redhat.com> - 1.1.1-1
a658f51
- patch from Seth Vidal <skvidal@fedoraproject.org> to handle
a658f51
  rpmdb cache issue (BZ#591741)
9f9edee
a658f51
* Thu Mar 11 2010 Jesse Keating <jkeating@redhat.com> - 1.1.0-1
a658f51
- Make the createrepo command arguments optional
a658f51
- Make the createrepo call disabled by default
fe19fa9
fff79f0
* Fri Feb 19 2010 Clark Williams <williams@redhat.com>- 1.0.6-1
fff79f0
- added code to check for SELinux being enabled or disabled
fff79f0
  and avoid calling 'chcon' if disabled
fff79f0
- add conditional Require of python-hashlib if building for
fff79f0
  the EL5 distro
fff79f0
5595cf8
* Wed Feb 17 2010 Clark Williams <williams@redhat.com>- 1.0.5-1
fff79f0
- from Jesse Keating <jkeating@redhat.com>:
fff79f0
  - fixed 'useradd' option conflict with EPEL (-N vs -n)
fff79f0
  - added Fedora 13 configs
5595cf8
febd38f
* Wed Feb 10 2010 Clark Williams <williams@redhat.com>- 1.0.4-1
Clark Williams dcfea83
- added patch from Seth Vidal <skvidal@fedoraproject.org> to
febd38f
  automatically run createrepo on generated rpms
febd38f
1fe53b3
* Mon Jan 18 2010 Clark Williams <williams@redhat.com>- 1.0.3-1
1fe53b3
- add logic for handling --unpriv with --shell (BZ# 522505)
1fe53b3
9f06302
* Wed Dec 23 2009 Clark Williams <williams@redhat.com>- 1.0.2-1
9f06302
- added IPv6 localhost entry for default /etc/hosts (BZ# 545435)
9f06302
- removed output of gethostname() in IPv4 localhost entry as this
9f06302
  caused koji problems and cause 'localhost' to be put into generated
9f06302
  rpms, rather than the output of hostname
9f06302
- add code to setup /dev/pts differently on EL* than on FC* hosts
9f06302
8fa39e0
* Wed Nov 25 2009 Clark Williams <williams@redhat.com>- 1.0.1-1
8fa39e0
- Patch from Paul Howarth to fix intermittent problems generating
8fa39e0
  root cache tarball (BZ# 540997)
8fa39e0
053a641
* Mon Nov 23 2009 Clark Williams <williams@redhat.com>- 1.0.0-1
053a641
- modified pty devpts mount code to actually work (BZ# 510183)
053a641
- deleted F9 configs
053a641
- version bump to 1.0.0
053a641
5681a56
* Fri Nov 13 2009 Clark Williams <williams@redhat.com>- 0.9.20-1
5681a56
- conditionalized import of uuid to avoid failure on RHEL5
5681a56
- added autoconf/automake mojo to prefer using rpmbuild-md5 for
5681a56
  cross-platform rpm compatibility
5681a56
042b67d
* Thu Nov  5 2009 Jesse Keating <jkeating@redhat.com>- 0.9.19-1
042b67d
- Fix target arch for i386 on 12 and rawhide
042b67d
3cf8009
* Thu Nov  5 2009 Jesse Keating <jkeating@redhat.com>- 0.9.18-1
3cf8009
- Update for Fedora 12 and 13 configs
3cf8009
- Patch from dgilmore to clean up epel configs
3cf8009
- Update configs for new koji static-repo locations
3cf8009
- Don't automatically update the chroot in a --no-clean scenario
a8d43a3
1968475
* Wed Jul  8 2009 Clark Williams <williams@redhat.com>- 0.9.17-1
1968475
- Patch from Jakub Jelinek <jakub@redhat.com> for mounting
1968475
  /dev/pts correctly in the chroot (BZ# 510183)
1968475
- raise exception when --shell specified for uninitialized chroot
1968475
  (BZ# 506288)
1968475
- add directory and infrastructure to allow dbus to run inside
1968475
  chroot (BZ# 460574)
1968475
- patch from Levente Farkas <lfarkas@lfarkas.org> to fix exclude
1968475
  in EPEL 5 x86_64 config
1968475
17893a2
* Mon May 11 2009 Jesse Keating <jkeating@redhat.com> - 0.9.16-1
17893a2
- Make F11 and rawhide build i586 on i386 targets.
301243b
17893a2
* Mon May 11 2009 Jesse Keating <jkeating@redhat.com> - 0.9.15-1
17893a2
- Add configs for F11 (jkeating)
57259aa
a2383be
* Mon Feb 02 2009 Clark Williams <williams@redhat.com> - 0.9.14-1
a2383be
- logging cleanup (mikem)
a2383be
- add new exception for resultdir not available (mebrown)
a2383be
- moved mock cache dir to /var/cache/mock (williams)
a2383be
- added version variable and version banner to logs (williams)
a2383be
- removed import of popen2 to whack deprecated message (williams)
a2383be
- prevent disabling ccache on epel-5 (tmz)
a2383be
- added configs for sparc and s390 (dgilmore)
a2383be
- fixed git log command used in build (tmz)
a2383be
- added copy of spec/sources for building srpms (mebrown)
a2383be
- changed unlink to rmdir (mebrown)
a2383be
- set HOME directory globally (mikeb)
a2383be
- commented out privlege drop in --copyin (williams)
9804fa8
58bb0a0
* Thu Nov 06 2008 Jesse Keating <jkeating@redhat.com> - 0.9.13-1
58bb0a0
- Add configs for F10 (jkeating)
58bb0a0
657f379
* Tue Oct 14 2008 Clark Williams <williams@redhat.com> - 0.9.12-1
657f379
- internal setarch support for s390/s390x (mikem)
657f379
- Refer to the .newkey location of current Fedora 8/9 updates. (jkeating)
657f379
- [bz458234] Picked up corrected patch (pmatilai)
657f379
c7d43cc
* Thu Sep  4 2008 Clark Williams <williams@redhat.com> - 0.9.11-1
c7d43cc
- added workarounds for rawhide rpm (BZ 455387 and 458234)
c7d43cc
- disabled tmpfs plugin on epel-4-x86_64
c7d43cc
- fixed autotools breakage in configure.ac
c7d43cc
65ae02f
* Tue May 20 2008 Jesse Keating <jkeating@redhat.com> - 0.9.10-1
65ae02f
- added fix for building F-8 mock (clark)
65ae02f
- Update epel configs
65ae02f
3f4a9e4
* Tue Apr 22 2008 Jesse Keating <jkeating@redhat.com> - 0.9.9-1
3f4a9e4
- Update config files for Fedora 9
3f4a9e4
- Comment out multilib excludes, no longer needed in F9+ with yum multilib changes
3f4a9e4
84691ed
* Mon Mar 31 2008 Jesse Keating <jkeating@redhat.com> - 0.9.8-1
84691ed
- modify rootcache logic to rebuild cache if config files have newer timestamp
84691ed
- For Fedora 8 and higher, use priority failover method
84691ed
- Point to the correct static-repo for rawhide stuff.
84691ed
- Move "devel" to "rawhide" to match current Fedora naming schemes.
84691ed
863e2eb
* Thu Jan 31 2008 Michael Brown <mebrown@michaels-house.net> - 0.9.7-1
863e2eb
- redo mock.util.do() to use python subprocess module, which should be
863e2eb
  much more maintainable than our old homegrown code.
cd46534
- Fix exclude= lines once again. Yum fnmatch parser doesn't understand [!x]
863e2eb
  notation
863e2eb
- add --unpriv and --cwd options to run chroot commands without elevated privs
863e2eb
  and in a specific working directory (under the root).
863e2eb
- mount all filesystems when running chroot commands
863e2eb
- remove redundant ccache init since we now source /etc/profile.d/ccache.sh
863e2eb
5561ec2
* Wed Jan 16 2008 Clark Williams <williams@redhat.com> - 0.9.6-1
5561ec2
- renamed configs and put compat symlinks in place
5561ec2
- misc cleanups (whitespace fixes, info messages, etc.)
5561ec2
- tmpfs plugin fix
5561ec2
- split --target and --arch command line arguments
5561ec2
- changed from -l to --login on bash invocations
5561ec2
- create /dev/full in chroot
5561ec2
207a4ec
* Thu Dec 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.5-1
207a4ec
- really fix file-based BuildRequires
207a4ec
2770ef6
* Wed Dec 19 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.4-1
2770ef6
- Result dir was not honoring --uniqueext=
2770ef6
- make rpmbuild run under a chroot login shell
2770ef6
- mock is now noarch due to drop of all binary components
2770ef6
- add tmpfs plugin (disabled by default)
2770ef6
- slightly more friendly logs.
2770ef6
093e419
* Fri Dec 14 2007 Clark Williams <williams@redhat.com> - 0.9.3-1
093e419
- added '--copyin' and '--copyout' modes
093e419
- added makeChrootPath() method to Root
093e419
- replaced most ad hock usages of .rootdir with makeChrootPath()
093e419
- updated man page && added test cases
093e419
- added 'help' target to Makefile.am
093e419
093e419
* Thu Dec 13 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.2-1
0980b75
- add '--update' mode
0980b75
- fix '--shell' mode
0980b75
2b4fa2e
* Tue Dec 11 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.1-1
2b4fa2e
- fix 'mock shell' command when passing more than one arg.
2b4fa2e
- add --orphanskill mode which only does orphankill
2b4fa2e
- make 'mock --shell' noninteractive and logged to root.log
2b4fa2e
- fix for file-based BuildRequires
2b4fa2e
- add sparcs to constant list for auto-setarch
2b4fa2e
09bef10
* Tue Dec 11 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.17-1
09bef10
- fix 'mock shell' command when passing more than one arg.
09bef10
- add --orphanskill mode which only does orphankill
09bef10
- make 'mock --shell' noninteractive and logged to root.log
09bef10
- fix for file-based BuildRequires
09bef10
- add sparcs to constant list for auto-setarch
09bef10
49927b8
* Sun Dec 09 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.0-1
49927b8
- drop suid helper and use consolehelper instead.
49927b8
- add unshare() call rather than clone(CLONE_NEWNS...)
49927b8
49927b8
* Sun Dec 09 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.16-1
49927b8
- drop FC6 configs. FC6 no longer supported
49927b8
- add --trace cmdline parameter
49927b8
- make logs slightly less verbose
49927b8
0b7f3d7
* Wed Dec 05 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.15-1
cd46534
- fix traceback when root cache doesn't exist.
0b7f3d7
- add "--with", "--without", and "--define" cmdline parameters which are passed
0b7f3d7
  to rpmbuild (courtesy Todd Zullinger)
0b7f3d7
29ffd5b
* Tue Dec 04 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.14-1
29ffd5b
- fix traceback when cache dir was not found
29ffd5b
29ffd5b
* Tue Dec 04 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.13-1
cd46534
- brown-paper-bag bug where built rpm didn't work due to lack of path
29ffd5b
  substitution in mock.py
29ffd5b
f24a64d
* Mon Dec 03 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.12-1
f24a64d
- fix builds of multiple srpms
f24a64d
- fix 'mock install'
f24a64d
- use python-decoratortools for better python 2.3 back compat
f24a64d
24fce5b
* Thu Nov 29 2007 Clark Williams <williams@redhat.com> - 0.8.11-1
24fce5b
- fixes from mebrown:
2770ef6
-   added back -q and -v flags
2770ef6
-   print yum output by default
2770ef6
-   added --offline option
2770ef6
-   cleaned up uid handling
24fce5b
bdcfba2
* Mon Nov 26 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.10-1
bdcfba2
- fix 'shell' command
bdcfba2
- fix a couple different selinux avc denial messages (didnt affect functionality)
bdcfba2
3f02685
* Tue Nov 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.9-1
3f02685
- Fixes so that mock will run cleanly on RHEL5
3f02685
- Add glib-devel.i386, glib2-devel.i386 to yum exclude list as it breaks
3f02685
  builds.
3f02685
- Add backwards-compatibility code for old-style 'automatically assume rebuild'
3f02685
  convention
3f02685
- automake symlink accidentally included in tarball rather than file
3f02685
  (py-compile)
3f02685
- update manpage
3f02685
b9306b2
* Mon Nov 19 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.8-1
b9306b2
- make it run correctly when called by the 'root' user
b9306b2
- internal_setarch: optionally run 'setarch' internally. This
b9306b2
  eliminates the need to run "setarch i386 mock ..." when building on
b9306b2
  target_arch != build_arch. This is turned on by default. Limitations:
b9306b2
  must have 'ctypes' python module available, which is only available
b9306b2
  by default in python 2.5, or as an extension module in <= 2.4.
b9306b2
  If the 'ctypes' module is not available, this feature will be
b9306b2
  disabled and you must manually run 'setarch'.
b9306b2
- Does not run 'clean' action for 'shell', 'chroot', 'install', or
b9306b2
  'installdeps' (docs updated)
b9306b2
- fix build for top_builddir != top_srcdir
b9306b2
- fix 'installdeps' so that it works with both rpms/srpms
b9306b2
- missing device file /dev/ptmx was causing 'expect' command to always
b9306b2
  fail. Affected any SRPM build that used 'expect'.
b9306b2
- hard spec file dep on python >= 2.4 due to python syntax changes.
b9306b2
- resultdir can now contain python-string substitutions for any
b9306b2
  variable in the chroot config.
3f02685
  rebuild my.src.rpm
b9306b2
- add 'dist' variable to all chroot config files so that it is
b9306b2
  available for resultdir substitutions.
b9306b2
- give good error message when logging.ini cannot be found.
b9306b2
- change default logging format to remove verbosity from build.log.
b9306b2
- make logging format configurable from defaults.cfg or chroot cfg.
b9306b2
- less verbose state.log format
b9306b2
a62f70a
* Mon Oct 22 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.4-1
a62f70a
- fix reported 'bad owner/group' from rpm in some configurations.
a62f70a
2677b2b
* Mon Oct 22 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.3-1
2677b2b
- BZ# 336361 -- cannot su - mockbuild
2677b2b
- BZ# 326561 -- update manpage
2677b2b
- BZ# 235141 -- error with immutable bit
2677b2b
Clark Williams dcfea83
* Sat Oct 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.0-1
293fded
- huge number of changes upstream
293fded
- convert to setuid wrapper instead of old setuid helper
293fded
- lots of bugfixes and improvements
293fded
- /var/cache/yum now saved and bind-mounted
293fded
- ccache integration
293fded
- rootcache improvements (formerly called autocache)
293fded
68ca6ab
* Mon Aug 27 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.6-1
68ca6ab
- ensure /etc/hosts is created in chroot properly
68ca6ab
df1e00d
* Mon Aug 13 2007 Clark Williams <williams@redhat.com> - 0.7.5-2
df1e00d
- build fix from Roland McGrath to fix compile of selinux lib
df1e00d
c1be951
* Wed Aug 8 2007 Clark Williams <williams@redhat.com> - 0.7.5-1
c1be951
- orphanskill feature (BZ#221351)
c1be951
c1be951
* Wed Aug 8 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.5-1
c1be951
- add example configs to defaults.cfg
c1be951
- dont rebuild cache if not clean build (BZ#250425)
c1be951
694ab0b
* Wed Jul 18 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.4-1
694ab0b
- return child exit status, so we properly report subcommand failures
694ab0b
4af962c
* Fri Jul  6 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.3-1
4af962c
- remove redundant defaults.cfg entries.
4af962c
4af962c
* Wed Jun 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.2-1
4af962c
- fix exclude list
4af962c
- remove legacy configs
4af962c
- disable 'local' repos by default (koji-repos)
4af962c
6363114
* Wed Jun 13 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.1-1
6363114
- Fix problem with autocache where different users couldnt share same cache
6363114
- Fix problem creating resolv.conf in rootfs
6363114
- cleanup perms on rootfs /etc/
6363114
6363114
* Tue Jun 12 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.1-1
6363114
- add EPEL 5 config files
6363114
c118de4
* Mon Jun 11 2007 Clark Williams <williams@redhat.com> - 0.7-1
c118de4
- fixed bind mount problems
c118de4
- added code to allow multiple users to use --no-clean
c118de4
- merged mock-0-6-branch to head and changed version
c118de4
c118de4
* Thu Jun  7 2007 Clark Williams <williams@redhat.com> - 0.6.17-1
c118de4
- added F-7 config files (BZ#242276)
c118de4
- modified epel configs for changed mirrorlist location (BZ#239981)
c118de4
- added bind mount of /dev (BZ#236428)
c118de4
- added copy of /etc/resolv.conf to chroot (BZ#237663 and BZ#238101)
c118de4
c118de4
* Tue May 01 2007 Clark Williams <williams@redhat.com> - 0.6.16-1
c118de4
- timeout code adds new cmdline option that will kill build process after
c118de4
  specified timeout. Useful for automated builds of things that may hang during
c118de4
  build and you just want it to fail.
c118de4
c118de4
* Tue Apr 10 2007 Clark Williams <williams@redhat.com> - 0.6.15-1
c118de4
- Fixed typo in FC4 -epel configs (BZ 235490)
c118de4
c118de4
* Sat Feb 24 2007 Clark Williams <williams@redhat.com> - 0.6.14-1
c118de4
- Ville Skyttä's fix for RPM_OPT_FLAGS (BZ 226673)
c118de4
c118de4
* Tue Feb 20 2007 Clark Williams <williams@redhat.com> - 0.6.13-1
c118de4
- Handle --no-clean option when doing yum.conf symlink (BZ 230824)
c118de4
acb05c0
* Fri Feb 16 2007 Clark Williams <williams@redhat.com> - 0.6.12-1
acb05c0
- added safety symlink for yum.conf
acb05c0
c118de4
* Wed Feb  7 2007 Clark Williams <williams@redhat.com> - 0.6.11-1
bd82605
- added error() calls to print command output on failed commands
c118de4
c118de4
* Tue Feb  6 2007 Clark Williams <williams@redhat.com> - 0.6.11-1
bd82605
- added installdeps command for long-term chroot management
bd82605
3a9c95c
* Mon Jan  8 2007 Clark Williams <williams@redhat.com> - 0.6.10-1
3a9c95c
- Added Josh Boyer's EPEL config files
3a9c95c
3a9c95c
* Tue Nov 21 2006 Clark Williams <williams@redhat.com> - 0.6.9-1
3a9c95c
- applied Eric Work's patch to fix defaults vs. command line option problem
3a9c95c
  (BZ 215168)
3a9c95c
- use /etc/mock/defaults.cfg if --configdir specified and no defaults found
3a9c95c
  in the specified configdir
3a9c95c
  (BZ 209407)
3a9c95c
- applied Jesse Keatings patch for arch specifi config files
3a9c95c
  (BZ 213516)
3a9c95c
5322e06
* Mon Oct 30 2006 Clark Williams <williams@redhat.com> - 0.6.8-1
5322e06
- respun tarballs without buildsys rpms
5322e06
377e791
* Mon Oct 30 2006 Clark Williams <williams@redhat.com> - 0.6.7-1
377e791
- updated for FC6 release
377e791
377e791
* Sat Oct 21 2006 Clark Williams <williams@redhat.com> - 0.6.6-1
377e791
- bumped version to 0.6.6 (fixed tarball problem)
377e791
c118de4
* Mon Sep 11 2006 Clark Williams <williams@redhat.com> - 0.6.5-1
c118de4
- changed version number for patch from Karanbir Singh
c118de4
  (rpm workaround on CentOS 4.4)
e087a33
c118de4
* Tue Aug 29 2006 Clark Williams <williams@redhat.com> - 0.6.3-1
c118de4
- changed version number to indicate fix for bz 204051
4512331
c118de4
* Tue Aug 29 2006 Clark Williams <williams@redhat.com> - 0.6.2-2
c118de4
- bumped revision for bz 204051
4a3346f
c118de4
* Wed Aug 23 2006 Clark Williams <williams@redhat.com> - 0.6.2-1
c118de4
- Updated README
c118de4
- Fixed link problem in etc/Makefile
c118de4
- Bumped version number
10da02d
c118de4
* Wed Aug 16 2006 Clark Williams <williams@redhat.com>
c118de4
- Added buildsys-build specfile to docs
c118de4
- Added disttag
c118de4
- Bumped release number
Seth Vidal d967c7b
c118de4
* Wed Jun  7 2006 Seth Vidal <skvidal at linux.duke.edu>
c118de4
- version update
a898638
c118de4
* Tue Apr 11 2006 Seth Vidal <skvidal at linux.duke.edu>
c118de4
- specfile version iterate
c5cd703
ef5fe3f
* Tue Dec 27 2005 Seth Vidal <skvidal@phy.duke.edu>
ef5fe3f
- add patch from Andreas Thienemann - adds man page
ef5fe3f
ef5fe3f
* Sat Jun 11 2005 Seth Vidal <skvidal@phy.duke.edu>
ef5fe3f
- security fix in mock-helper
ef5fe3f
Seth Vidal 32b2475
* Sun Jun  5 2005 Seth Vidal <skvidal@phy.duke.edu>
Seth Vidal 32b2475
- clean up packaging for fedora extras
Seth Vidal 32b2475
Seth Vidal 32b2475
* Thu May 19 2005 Seth Vidal <skvidal@phy.duke.edu>
Seth Vidal 32b2475
- second packaging and backing down the yum ver req
Seth Vidal 32b2475
Seth Vidal 32b2475
* Sun May 15 2005 Seth Vidal <skvidal@phy.duke.edu>
Seth Vidal 32b2475
- first version/packaging