|
|
7ba14bc |
# next four lines substituted by autoconf
|
|
|
cd217fc |
%define major 1
|
|
|
cd217fc |
%define minor 0
|
|
|
a0e666e |
%define sub 7
|
|
|
7ba14bc |
%define extralevel %{nil}
|
|
|
7ba14bc |
%define release_name mock
|
|
|
7ba14bc |
%define release_version %{major}.%{minor}.%{sub}%{extralevel}
|
|
|
7ba14bc |
|
|
|
7ba14bc |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
7ba14bc |
|
|
Seth Vidal |
32b2475 |
Summary: Builds packages inside chroots
|
|
Seth Vidal |
32b2475 |
Name: mock
|
|
|
7ba14bc |
Version: %{release_version}
|
|
|
f874559 |
Release: 1%{?dist}
|
|
|
7ba14bc |
License: GPLv2+
|
|
Seth Vidal |
32b2475 |
Group: Development/Tools
|
|
|
0d76dd8 |
Source: https://fedorahosted.org/mock/attachment/wiki/MockTarballs/%{name}-%{version}.tar.gz
|
|
Seth Vidal |
44500a7 |
URL: http://fedoraproject.org/wiki/Projects/Mock
|
|
Seth Vidal |
32b2475 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
0d76dd8 |
BuildArch: noarch
|
|
|
0d76dd8 |
Requires: python >= 2.4, yum >= 2.4, tar, gzip, python-ctypes, python-decoratortools, usermode
|
|
Seth Vidal |
32b2475 |
Requires(pre): shadow-utils
|
|
|
7ba14bc |
BuildRequires: python-devel
|
|
|
a0e666e |
%if "%{?dist}" == ".el5"
|
|
|
a0e666e |
Requires: python-hashlib
|
|
|
a0e666e |
%endif
|
|
|
ef5fe3f |
|
|
Seth Vidal |
32b2475 |
%description
|
|
|
a0e666e |
Mock takes an SRPM and builds it in a chroot
|
|
Seth Vidal |
32b2475 |
|
|
Seth Vidal |
32b2475 |
%prep
|
|
Seth Vidal |
32b2475 |
%setup -q
|
|
|
656b475 |
%if "%{?dist}" == ".fc8"
|
|
|
656b475 |
pushd etc/mock
|
|
|
656b475 |
sed -i -e 's/^#exclude=/exclude=/' -e '/^# The above is not/d' \
|
|
|
656b475 |
fedora-9-x86_64.cfg fedora-rawhide-x86_64.cfg
|
|
|
656b475 |
popd
|
|
|
656b475 |
%endif
|
|
|
e087a33 |
|
|
Seth Vidal |
32b2475 |
%build
|
|
|
7ba14bc |
%configure
|
|
|
7ba14bc |
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
|
|
|
7ba14bc |
mkdir -p $RPM_BUILD_ROOT/var/lib/mock
|
|
|
04b0ced |
mkdir -p $RPM_BUILD_ROOT/var/cache/mock
|
|
|
0d76dd8 |
ln -s consolehelper $RPM_BUILD_ROOT/usr/bin/mock
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
# compatibility symlinks
|
|
|
0d76dd8 |
# (probably be nuked in the future)
|
|
|
0d76dd8 |
pushd $RPM_BUILD_ROOT/etc/mock
|
|
|
0d76dd8 |
ln -s epel-4-i386.cfg fedora-4-i386-epel.cfg
|
|
|
0d76dd8 |
ln -s epel-4-ppc.cfg fedora-4-ppc-epel.cfg
|
|
|
0d76dd8 |
ln -s epel-4-x86_64.cfg fedora-4-x86_64-epel.cfg
|
|
|
0d76dd8 |
ln -s epel-5-i386.cfg fedora-5-i386-epel.cfg
|
|
|
0d76dd8 |
ln -s epel-5-ppc.cfg fedora-5-ppc-epel.cfg
|
|
|
0d76dd8 |
ln -s epel-5-x86_64.cfg fedora-5-x86_64-epel.cfg
|
|
|
656b475 |
# more compat, from devel/rawhide rename
|
|
|
656b475 |
ln -s fedora-rawhide-i386.cfg fedora-devel-i386.cfg
|
|
|
656b475 |
ln -s fedora-rawhide-x86_64.cfg fedora-devel-x86_64.cfg
|
|
|
656b475 |
ln -s fedora-rawhide-ppc.cfg fedora-devel-ppc.cfg
|
|
|
656b475 |
ln -s fedora-rawhide-ppc64.cfg fedora-devel-ppc64.cfg
|
|
|
0d76dd8 |
popd
|
|
Seth Vidal |
32b2475 |
|
|
Seth Vidal |
32b2475 |
%clean
|
|
Seth Vidal |
32b2475 |
rm -rf $RPM_BUILD_ROOT
|
|
Seth Vidal |
32b2475 |
|
|
Seth Vidal |
32b2475 |
%pre
|
|
Seth Vidal |
32b2475 |
if [ $1 -eq 1 ]; then
|
|
Seth Vidal |
32b2475 |
groupadd -r mock >/dev/null 2>&1 || :
|
|
Seth Vidal |
32b2475 |
fi
|
|
Seth Vidal |
32b2475 |
|
|
Seth Vidal |
32b2475 |
%files
|
|
Seth Vidal |
32b2475 |
%defattr(-, root, root)
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
# executables
|
|
|
0d76dd8 |
%{_bindir}/mock
|
|
|
0d76dd8 |
%attr(0755, root, root) %{_sbindir}/mock
|
|
|
7ba14bc |
|
|
|
7ba14bc |
# python stuff
|
|
|
7ba14bc |
%{python_sitelib}/*
|
|
|
7ba14bc |
|
|
|
7ba14bc |
# config files
|
|
Seth Vidal |
32b2475 |
%dir %{_sysconfdir}/%{name}
|
|
Seth Vidal |
32b2475 |
%config(noreplace) %{_sysconfdir}/%{name}/*.cfg
|
|
|
7ba14bc |
%config(noreplace) %{_sysconfdir}/%{name}/*.ini
|
|
|
0d76dd8 |
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
|
|
|
0d76dd8 |
%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
|
|
|
7ba14bc |
|
|
|
0d76dd8 |
# docs
|
|
|
ef5fe3f |
%{_mandir}/man1/mock.1*
|
|
|
0d76dd8 |
%doc ChangeLog
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
# build dir
|
|
Seth Vidal |
32b2475 |
%attr(02775, root, mock) %dir /var/lib/mock
|
|
Seth Vidal |
32b2475 |
|
|
|
04b0ced |
# cache dir
|
|
|
04b0ced |
%attr(02775, root, mock) %dir /var/cache/mock
|
|
|
04b0ced |
|
|
Seth Vidal |
32b2475 |
%changelog
|
|
|
a0e666e |
* Thu Mar 11 2010 Jesse Keating <jkeating@redhat.com> - 1.0.7-1
|
|
|
a0e666e |
- Revert new createrepo feature
|
|
|
a0e666e |
- Revert -n/-N useradd change, just use -n as it still works
|
|
|
a0e666e |
|
|
|
a0e666e |
* Fri Feb 19 2010 Clark Williams <williams@redhat.com>- 1.0.6-1
|
|
|
a0e666e |
- added code to check for SELinux being enabled or disabled
|
|
|
a0e666e |
and avoid calling 'chcon' if disabled
|
|
|
a0e666e |
- add conditional Require of python-hashlib if building for
|
|
|
a0e666e |
the EL5 distro
|
|
|
a0e666e |
|
|
|
0f292d4 |
* Wed Feb 17 2010 Clark Williams <williams@redhat.com>- 1.0.5-1
|
|
|
a0e666e |
- from Jesse Keating <jkeating@redhat.com>:
|
|
|
a0e666e |
- fixed 'useradd' option conflict with EPEL (-N vs -n)
|
|
|
a0e666e |
- added Fedora 13 configs
|
|
|
0f292d4 |
|
|
|
23a6d0f |
* Wed Feb 10 2010 Clark Williams <williams@redhat.com>- 1.0.4-1
|
|
|
23a6d0f |
- added patch from Seth Vidal <skvidal@fedoraproject.org> to
|
|
|
23a6d0f |
automatically run createrepo on generated rpms
|
|
|
23a6d0f |
|
|
|
90f84bf |
* Mon Jan 18 2010 Clark Williams <williams@redhat.com>- 1.0.3-1
|
|
|
90f84bf |
- add logic for handling --unpriv with --shell (BZ# 522505)
|
|
|
90f84bf |
|
|
|
f874559 |
* Wed Dec 23 2009 Clark Williams <williams@redhat.com>- 1.0.2-1
|
|
|
f874559 |
- added IPv6 localhost entry for default /etc/hosts (BZ# 545435)
|
|
|
f874559 |
- removed output of gethostname() in IPv4 localhost entry as this
|
|
|
f874559 |
caused koji problems and cause 'localhost' to be put into generated
|
|
|
f874559 |
rpms, rather than the output of hostname
|
|
|
f874559 |
- add code to setup /dev/pts differently on EL* than on FC* hosts
|
|
|
4804a6e |
|
|
|
919c191 |
* Wed Nov 25 2009 Clark Williams <williams@redhat.com>- 1.0.1-1
|
|
|
919c191 |
- Patch from Paul Howarth to fix intermittent problems generating
|
|
|
919c191 |
root cache tarball (BZ# 540997)
|
|
|
919c191 |
|
|
|
cd217fc |
* Mon Nov 23 2009 Clark Williams <williams@redhat.com>- 1.0.0-1
|
|
|
cd217fc |
- modified pty devpts mount code to actually work (BZ# 510183)
|
|
|
cd217fc |
- deleted F9 configs
|
|
|
cd217fc |
- version bump to 1.0.0
|
|
|
cd217fc |
|
|
|
5bb2387 |
* Fri Nov 13 2009 Clark Williams <williams@redhat.com>- 0.9.20-1
|
|
|
5bb2387 |
- conditionalized import of uuid to avoid failure on RHEL5
|
|
|
5bb2387 |
- added autoconf/automake mojo to prefer using rpmbuild-md5 for
|
|
|
5bb2387 |
cross-platform rpm compatibility
|
|
|
5bb2387 |
|
|
|
5bb2387 |
* Thu Nov 5 2009 Jesse Keating <jkeating@redhat.com>- 0.9.19-1
|
|
|
5bb2387 |
- Fix target arch for i386 on 12 and rawhide
|
|
|
5bb2387 |
|
|
|
5bb2387 |
* Thu Nov 5 2009 Jesse Keating <jkeating@redhat.com>- 0.9.18-1
|
|
|
5bb2387 |
- Update for Fedora 12 and 13 configs
|
|
|
5bb2387 |
- Patch from dgilmore to clean up epel configs
|
|
|
5bb2387 |
- Update configs for new koji static-repo locations
|
|
|
5bb2387 |
- Don't automatically update the chroot in a --no-clean scenario
|
|
|
5bb2387 |
|
|
|
5bb2387 |
* Wed Jul 8 2009 Clark Williams <williams@redhat.com>- 0.9.17-1
|
|
|
5bb2387 |
- Patch from Jakub Jelinek <jakub@redhat.com> for mounting
|
|
|
5bb2387 |
/dev/pts correctly in the chroot (BZ# 510183)
|
|
|
5bb2387 |
- raise exception when --shell specified for uninitialized chroot
|
|
|
5bb2387 |
(BZ# 506288)
|
|
|
5bb2387 |
- add directory and infrastructure to allow dbus to run inside
|
|
|
5bb2387 |
chroot (BZ# 460574)
|
|
|
5bb2387 |
- patch from Levente Farkas <lfarkas@lfarkas.org> to fix exclude
|
|
|
5bb2387 |
in EPEL 5 x86_64 config
|
|
|
5bb2387 |
|
|
|
5bb2387 |
* Mon May 11 2009 Jesse Keating <jkeating@redhat.com> - 0.9.16-1
|
|
|
5bb2387 |
- Make F11 and rawhide build i586 on i386 targets.
|
|
|
5bb2387 |
|
|
|
5bb2387 |
* Mon May 11 2009 Jesse Keating <jkeating@redhat.com> - 0.9.15-1
|
|
|
5bb2387 |
- Add configs for F11 (jkeating)
|
|
|
974f8a4 |
|
|
|
04b0ced |
* Mon Feb 02 2009 Clark Williams <williams@redhat.com> - 0.9.14-1
|
|
|
04b0ced |
- logging cleanup (mikem)
|
|
|
04b0ced |
- add new exception for resultdir not available (mebrown)
|
|
|
04b0ced |
- moved mock cache dir to /var/cache/mock (williams)
|
|
|
04b0ced |
- added version variable and version banner to logs (williams)
|
|
|
04b0ced |
- removed import of popen2 to whack deprecated message (williams)
|
|
|
04b0ced |
- prevent disabling ccache on epel-5 (tmz)
|
|
|
04b0ced |
- added configs for sparc and s390 (dgilmore)
|
|
|
04b0ced |
- fixed git log command used in build (tmz)
|
|
|
04b0ced |
- added copy of spec/sources for building srpms (mebrown)
|
|
|
04b0ced |
- changed unlink to rmdir (mebrown)
|
|
|
04b0ced |
- set HOME directory globally (mikeb)
|
|
|
04b0ced |
- commented out privlege drop in --copyin (williams)
|
|
|
04b0ced |
|
|
|
04b0ced |
* Thu Nov 06 2008 Jesse Keating <jkeating@redhat.com> - 0.9.13-1
|
|
|
04b0ced |
- Add configs for F10 (jkeating)
|
|
|
04b0ced |
|
|
|
04b0ced |
* Tue Oct 14 2008 Clark Williams <williams@redhat.com> - 0.9.12-1
|
|
|
04b0ced |
- internal setarch support for s390/s390x (mikem)
|
|
|
04b0ced |
- Refer to the .newkey location of current Fedora 8/9 updates. (jkeating)
|
|
|
04b0ced |
- [bz458234] Picked up corrected patch (pmatilai)
|
|
|
04b0ced |
|
|
|
656b475 |
* Thu Sep 4 2008 Clark Williams <williams@redhat.com> - 0.9.11-1
|
|
|
656b475 |
- added workarounds for rawhide rpm (BZ 455387 and 458234)
|
|
|
656b475 |
- disabled tmpfs plugin on epel-4-x86_64
|
|
|
656b475 |
- fixed autotools breakage in configure.ac
|
|
|
656b475 |
|
|
|
656b475 |
* Tue May 20 2008 Jesse Keating <jkeating@redhat.com> - 0.9.10-1
|
|
|
656b475 |
- added fix for building F-8 mock (clark)
|
|
|
656b475 |
- Update epel configs
|
|
|
656b475 |
|
|
|
656b475 |
* Tue Apr 22 2008 Jesse Keating <jkeating@redhat.com> - 0.9.9-1
|
|
|
656b475 |
- Update config files for Fedora 9
|
|
|
656b475 |
- Comment out multilib excludes, no longer needed in F9+ with yum multilib changes
|
|
|
656b475 |
|
|
|
656b475 |
* Mon Mar 31 2008 Jesse Keating <jkeating@redhat.com> - 0.9.8-1
|
|
|
656b475 |
- modify rootcache logic to rebuild cache if config files have newer timestamp
|
|
|
656b475 |
- For Fedora 8 and higher, use priority failover method
|
|
|
656b475 |
- Point to the correct static-repo for rawhide stuff.
|
|
|
656b475 |
- Move "devel" to "rawhide" to match current Fedora naming schemes.
|
|
|
656b475 |
|
|
|
0d76dd8 |
* Thu Jan 31 2008 Michael Brown <mebrown@michaels-house.net> - 0.9.7-1
|
|
|
0d76dd8 |
- redo mock.util.do() to use python subprocess module, which should be
|
|
|
0d76dd8 |
much more maintainable than our old homegrown code.
|
|
|
0d76dd8 |
- Fix exclude= lines once again. Yum fnmatch parser doesnt understand [!x]
|
|
|
0d76dd8 |
notation
|
|
|
0d76dd8 |
- add --unpriv and --cwd options to run chroot commands without elevated privs
|
|
|
0d76dd8 |
and in a specific working directory (under the root).
|
|
|
0d76dd8 |
- mount all filesystems when running chroot commands
|
|
|
0d76dd8 |
- remove redundant ccache init since we now source /etc/profile.d/ccache.sh
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Wed Jan 16 2008 Clark Williams <williams@redhat.com> - 0.9.6-1
|
|
|
0d76dd8 |
- renamed configs and put compat symlinks in place
|
|
|
0d76dd8 |
- misc cleanups (whitespace fixes, info messages, etc.)
|
|
|
0d76dd8 |
- tmpfs plugin fix
|
|
|
0d76dd8 |
- split --target and --arch command line arguments
|
|
|
0d76dd8 |
- changed from -l to --login on bash invocations
|
|
|
0d76dd8 |
- create /dev/full in chroot
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Thu Dec 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.5-1
|
|
|
0d76dd8 |
- really fix file-based BuildRequires
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Wed Dec 19 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.4-1
|
|
|
0d76dd8 |
- Result dir was not honoring --uniqueext=
|
|
|
0d76dd8 |
- make rpmbuild run under a chroot login shell
|
|
|
0d76dd8 |
- mock is now noarch due to drop of all binary components
|
|
|
0d76dd8 |
- add tmpfs plugin (disabled by default)
|
|
|
0d76dd8 |
- slightly more friendly logs.
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Fri Dec 14 2007 Clark Williams <williams@redhat.com> - 0.9.3-1
|
|
|
0d76dd8 |
- added '--copyin' and '--copyout' modes
|
|
|
0d76dd8 |
- added makeChrootPath() method to Root
|
|
|
0d76dd8 |
- replaced most ad hock usages of .rootdir with makeChrootPath()
|
|
|
0d76dd8 |
- updated man page && added test cases
|
|
|
0d76dd8 |
- added 'help' target to Makefile.am
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Thu Dec 13 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.2-1
|
|
|
0d76dd8 |
- add '--update' mode
|
|
|
0d76dd8 |
- fix '--shell' mode
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Tue Dec 11 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.1-1
|
|
|
0d76dd8 |
- fix 'mock shell' command when passing more than one arg.
|
|
|
0d76dd8 |
- add --orphanskill mode which only does orphankill
|
|
|
0d76dd8 |
- make 'mock --shell' noninteractive and logged to root.log
|
|
|
0d76dd8 |
- fix for file-based BuildRequires
|
|
|
0d76dd8 |
- add sparcs to constant list for auto-setarch
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Tue Dec 11 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.17-1
|
|
|
0d76dd8 |
- fix 'mock shell' command when passing more than one arg.
|
|
|
0d76dd8 |
- add --orphanskill mode which only does orphankill
|
|
|
0d76dd8 |
- make 'mock --shell' noninteractive and logged to root.log
|
|
|
0d76dd8 |
- fix for file-based BuildRequires
|
|
|
0d76dd8 |
- add sparcs to constant list for auto-setarch
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Sun Dec 09 2007 Michael Brown <mebrown@michaels-house.net> - 0.9.0-1
|
|
|
0d76dd8 |
- drop suid helper and use consolehelper instead.
|
|
|
0d76dd8 |
- add unshare() call rather than clone(CLONE_NEWNS...)
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Sun Dec 09 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.16-1
|
|
|
0d76dd8 |
- drop FC6 configs. FC6 no longer supported
|
|
|
0d76dd8 |
- add --trace cmdline parameter
|
|
|
0d76dd8 |
- make logs slightly less verbose
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Wed Dec 05 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.15-1
|
|
|
0d76dd8 |
- fix traceback when root cache doesnt exist.
|
|
|
0d76dd8 |
- add "--with", "--without", and "--define" cmdline parameters which are passed
|
|
|
0d76dd8 |
to rpmbuild (courtesy Todd Zullinger)
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Tue Dec 04 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.14-1
|
|
|
0d76dd8 |
- fix traceback when cache dir was not found
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Tue Dec 04 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.13-1
|
|
|
0d76dd8 |
- brown-paper-bag bug where built rpm didnt work due to lack of path
|
|
|
0d76dd8 |
substitution in mock.py
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Mon Dec 03 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.12-1
|
|
|
0d76dd8 |
- fix builds of multiple srpms
|
|
|
0d76dd8 |
- fix 'mock install'
|
|
|
0d76dd8 |
- use python-decoratortools for better python 2.3 back compat
|
|
|
0d76dd8 |
|
|
|
0d76dd8 |
* Thu Nov 29 2007 Clark Williams <williams@redhat.com> - 0.8.11-1
|
|
|
0d76dd8 |
- fixes from mebrown:
|
|
|
0d76dd8 |
- added back -q and -v flags
|
|
|
0d76dd8 |
- print yum output by default
|
|
|
0d76dd8 |
- added --offline option
|
|
|
0d76dd8 |
- cleaned up uid handling
|
|
|
0d76dd8 |
|
|
|
1f5d92f |
* Mon Nov 26 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.10-1
|
|
|
1f5d92f |
- fix 'shell' command
|
|
|
1f5d92f |
- fix a couple different selinux avc denial messages (didnt affect functionality)
|
|
|
1f5d92f |
|
|
|
7ba14bc |
* Tue Nov 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.9-1
|
|
|
7ba14bc |
- Fixes so that mock will run cleanly on RHEL5
|
|
|
7ba14bc |
- Add glib-devel.i386, glib2-devel.i386 to yum exclude list as it breaks
|
|
|
7ba14bc |
builds.
|
|
|
7ba14bc |
- Add backwards-compatibility code for old-style 'automatically assume rebuild'
|
|
|
7ba14bc |
convention
|
|
|
7ba14bc |
- automake symlink accidentally included in tarball rather than file
|
|
|
7ba14bc |
(py-compile)
|
|
|
7ba14bc |
- update manpage
|
|
|
7ba14bc |
|
|
|
7ba14bc |
* Mon Nov 19 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.8-1
|
|
|
7ba14bc |
- make it run correctly when called by the 'root' user
|
|
|
7ba14bc |
- internal_setarch: optionally run 'setarch' internally. This
|
|
|
7ba14bc |
eliminates the need to run "setarch i386 mock ..." when building on
|
|
|
7ba14bc |
target_arch != build_arch. This is turned on by default. Limitations:
|
|
|
7ba14bc |
must have 'ctypes' python module available, which is only available
|
|
|
7ba14bc |
by default in python 2.5, or as an extension module in <= 2.4.
|
|
|
7ba14bc |
If the 'ctypes' module is not available, this feature will be
|
|
|
7ba14bc |
disabled and you must manually run 'setarch'.
|
|
|
7ba14bc |
- Does not run 'clean' action for 'shell', 'chroot', 'install', or
|
|
|
7ba14bc |
'installdeps' (docs updated)
|
|
|
7ba14bc |
- fix build for top_builddir != top_srcdir
|
|
|
7ba14bc |
- fix 'installdeps' so that it works with both rpms/srpms
|
|
|
7ba14bc |
- missing device file /dev/ptmx was causing 'expect' command to always
|
|
|
7ba14bc |
fail. Affected any SRPM build that used 'expect'.
|
|
|
7ba14bc |
- hard spec file dep on python >= 2.4 due to python syntax changes.
|
|
|
7ba14bc |
- resultdir can now contain python-string substitutions for any
|
|
|
7ba14bc |
variable in the chroot config.
|
|
|
7ba14bc |
rebuild my.src.rpm
|
|
|
7ba14bc |
- add 'dist' variable to all chroot config files so that it is
|
|
|
7ba14bc |
available for resultdir substitutions.
|
|
|
7ba14bc |
- give good error message when logging.ini cannot be found.
|
|
|
7ba14bc |
- change default logging format to remove verbosity from build.log.
|
|
|
7ba14bc |
- make logging format configurable from defaults.cfg or chroot cfg.
|
|
|
7ba14bc |
- less verbose state.log format
|
|
|
7ba14bc |
|
|
|
7ba14bc |
* Mon Oct 22 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.4-1
|
|
|
7ba14bc |
- fix reported 'bad owner/group' from rpm in some configurations.
|
|
|
7ba14bc |
|
|
|
7ba14bc |
* Mon Oct 22 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.3-1
|
|
|
7ba14bc |
- BZ# 336361 -- cannot su - mockbuild
|
|
|
7ba14bc |
- BZ# 326561 -- update manpage
|
|
|
7ba14bc |
- BZ# 235141 -- error with immutable bit
|
|
|
7ba14bc |
|
|
|
7ba14bc |
* Fri Oct 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.8.0-1
|
|
|
7ba14bc |
- huge number of changes upstream
|
|
|
7ba14bc |
- convert to setuid wrapper instead of old setuid helper
|
|
|
7ba14bc |
- lots of bugfixes and improvements
|
|
|
7ba14bc |
- /var/cache/yum now saved and bind-mounted
|
|
|
7ba14bc |
- ccache integration
|
|
|
7ba14bc |
- rootcache improvements (formerly called autocache)
|
|
|
f9f1ba3 |
|
|
|
f9f1ba3 |
* Mon Aug 27 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.6-1
|
|
|
f9f1ba3 |
- ensure /etc/hosts is created in chroot properly
|
|
|
f9f1ba3 |
|
|
|
f9f1ba3 |
* Mon Aug 13 2007 Clark Williams <williams@redhat.com> - 0.7.5-2
|
|
|
f9f1ba3 |
- build fix from Roland McGrath to fix compile of selinux lib
|
|
|
f9f1ba3 |
|
|
|
f9f1ba3 |
* Wed Aug 8 2007 Clark Williams <williams@redhat.com> - 0.7.5-1
|
|
|
f9f1ba3 |
- orphanskill feature (BZ#221351)
|
|
|
f9f1ba3 |
|
|
|
f9f1ba3 |
* Wed Aug 8 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.5-1
|
|
|
f9f1ba3 |
- add example configs to defaults.cfg
|
|
|
f9f1ba3 |
- dont rebuild cache if not clean build (BZ#250425)
|
|
|
f9f1ba3 |
|
|
|
f9f1ba3 |
* Wed Jul 18 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.4-1
|
|
|
f9f1ba3 |
- return child exit status, so we properly report subcommand failures
|
|
|
f9f1ba3 |
|
|
|
f9f1ba3 |
* Fri Jul 6 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.3-1
|
|
|
f9f1ba3 |
- remove redundant defaults.cfg entries.
|
|
|
f9f1ba3 |
|
|
|
f9f1ba3 |
* Wed Jun 20 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.2-1
|
|
|
f9f1ba3 |
- fix exclude list
|
|
|
f9f1ba3 |
- remove legacy configs
|
|
|
f9f1ba3 |
- disable 'local' repos by default (koji-repos)
|
|
|
f9f1ba3 |
|
|
|
0d99644 |
* Wed Jun 13 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.1-1
|
|
|
0d99644 |
- Fix problem with autocache where different users couldnt share same cache
|
|
|
0d99644 |
- Fix problem creating resolv.conf in rootfs
|
|
|
0d99644 |
- cleanup perms on rootfs /etc/
|
|
|
c266042 |
|
|
|
0d99644 |
* Tue Jun 12 2007 Michael Brown <mebrown@michaels-house.net> - 0.7.1-1
|
|
|
0d99644 |
- add EPEL 5 config files
|
|
|
055e8d6 |
|
|
|
0d99644 |
* Mon Jun 11 2007 Clark Williams <williams@redhat.com> - 0.7-1
|
|
|
0d99644 |
- fixed bind mount problems
|
|
|
0d99644 |
- added code to allow multiple users to use --no-clean
|
|
|
0d99644 |
- merged mock-0-6-branch to head and changed version
|
|
|
2d7af73 |
|
|
|
0d99644 |
* Thu Jun 7 2007 Clark Williams <williams@redhat.com> - 0.6.17-1
|
|
|
0d99644 |
- added F-7 config files (BZ#242276)
|
|
|
0d99644 |
- modified epel configs for changed mirrorlist location (BZ#239981)
|
|
|
0d99644 |
- added bind mount of /dev (BZ#236428)
|
|
|
0d99644 |
- added copy of /etc/resolv.conf to chroot (BZ#237663 and BZ#238101)
|
|
|
41ae2c3 |
|
|
|
0d99644 |
* Tue May 01 2007 Clark Williams <williams@redhat.com> - 0.6.16-1
|
|
|
0d99644 |
- timeout code adds new cmdline option that will kill build process after
|
|
|
0d99644 |
specified timeout. Useful for automated builds of things that may hang during
|
|
|
0d99644 |
build and you just want it to fail.
|
|
|
5322e06 |
|
|
|
0d99644 |
* Tue Apr 10 2007 Clark Williams <williams@redhat.com> - 0.6.15-1
|
|
|
0d99644 |
- Fixed typo in FC4 -epel configs (BZ 235490)
|
|
|
377e791 |
|
|
|
0d99644 |
* Sat Feb 24 2007 Clark Williams <williams@redhat.com> - 0.6.14-1
|
|
|
0d99644 |
- Ville Skyttä's fix for RPM_OPT_FLAGS (BZ 226673)
|
|
|
377e791 |
|
|
|
0d99644 |
* Tue Feb 20 2007 Clark Williams <williams@redhat.com> - 0.6.13-1
|
|
|
0d99644 |
- Handle --no-clean option when doing yum.conf symlink (BZ 230824)
|
|
|
57346b5 |
|
|
|
0d99644 |
* Fri Feb 16 2007 Clark Williams <williams@redhat.com> - 0.6.12-1
|
|
|
0d99644 |
- added safety symlink for yum.conf
|
|
|
920bb17 |
|
|
|
0d99644 |
* Wed Feb 7 2007 Clark Williams <williams@redhat.com> - 0.6.11-1
|
|
|
0d99644 |
- added error() calls to print command output on failed commands
|
|
|
b2ea84b |
|
|
|
0d99644 |
* Tue Feb 6 2007 Clark Williams <williams@redhat.com> - 0.6.11-1
|
|
|
0d99644 |
- added installdeps command for long-term chroot management
|
|
|
29a463b |
|
|
|
0d99644 |
* Mon Jan 8 2007 Clark Williams <williams@redhat.com> - 0.6.10-1
|
|
|
0d99644 |
- Added Josh Boyer's EPEL config files
|
|
|
ce20b8e |
|
|
|
0d99644 |
* Tue Nov 21 2006 Clark Williams <williams@redhat.com> - 0.6.9-1
|
|
|
0d99644 |
- applied Eric Work's patch to fix defaults vs. command line option problem
|
|
|
0d99644 |
(BZ 215168)
|
|
|
0d99644 |
- use /etc/mock/defaults.cfg if --configdir specified and no defaults found
|
|
|
0d99644 |
in the specified configdir
|
|
|
0d99644 |
(BZ 209407)
|
|
|
0d99644 |
- applied Jesse Keatings patch for arch specifi config files
|
|
|
0d99644 |
(BZ 213516)
|
|
|
e087a33 |
|
|
|
0d99644 |
* Mon Oct 30 2006 Clark Williams <williams@redhat.com> - 0.6.8-1
|
|
|
0d99644 |
- respun tarballs without buildsys rpms
|
|
|
4512331 |
|
|
|
0d99644 |
* Mon Oct 30 2006 Clark Williams <williams@redhat.com> - 0.6.7-1
|
|
|
0d99644 |
- updated for FC6 release
|
|
|
4a3346f |
|
|
|
0d99644 |
* Sat Oct 21 2006 Clark Williams <williams@redhat.com> - 0.6.6-1
|
|
|
0d99644 |
- bumped version to 0.6.6 (fixed tarball problem)
|
|
|
10da02d |
|
|
|
0d99644 |
* Mon Sep 11 2006 Clark Williams <williams@redhat.com> - 0.6.5-1
|
|
|
0d99644 |
- changed version number for patch from Karanbir Singh
|
|
|
0d99644 |
(rpm workaround on CentOS 4.4)
|
|
Seth Vidal |
d967c7b |
|
|
|
0d99644 |
* Tue Aug 29 2006 Clark Williams <williams@redhat.com> - 0.6.3-1
|
|
|
0d99644 |
- changed version number to indicate fix for bz 204051
|
|
|
a898638 |
|
|
|
0d99644 |
* Tue Aug 29 2006 Clark Williams <williams@redhat.com> - 0.6.2-2
|
|
|
0d99644 |
- bumped revision for bz 204051
|
|
|
47e815c |
|
|
|
0d99644 |
* Wed Aug 23 2006 Clark Williams <williams@redhat.com> - 0.6.2-1
|
|
|
0d99644 |
- Updated README
|
|
|
0d99644 |
- Fixed link problem in etc/Makefile
|
|
|
0d99644 |
- Bumped version number
|
|
|
c5cd703 |
|
|
|
0d99644 |
* Wed Aug 16 2006 Clark Williams <williams@redhat.com>
|
|
|
0d99644 |
- Added buildsys-build specfile to docs
|
|
|
0d99644 |
- Added disttag
|
|
|
0d99644 |
- Bumped release number
|
|
|
ef5fe3f |
|
|
|
0d99644 |
* Wed Jun 7 2006 Seth Vidal <skvidal at linux.duke.edu>
|
|
|
0d99644 |
- version update
|
|
|
33c5e67 |
|
|
|
0d99644 |
* Tue Apr 11 2006 Seth Vidal <skvidal at linux.duke.edu>
|
|
|
0d99644 |
- specfile version iterate
|
|
Seth Vidal |
44500a7 |
|
|
|
0d99644 |
* Tue Dec 27 2005 Seth Vidal <skvidal@phy.duke.edu>
|
|
|
0d99644 |
- add patch from Andreas Thienemann - adds man page
|
|
|
342578e |
|
|
|
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
|