76fd650
# next four lines substituted by autoconf
053a641
%define major 1
c81e926
%define minor 2
0668632
%define sub 8
293fded
%define extralevel %{nil}
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
af65557
%if 0%{?fedora} > 21
af65557
%global use_python3 1
af65557
%global use_python2 0
af65557
%else
af65557
%global use_python3 0
af65557
%global use_python2 1
af65557
%endif
af65557
af65557
%if %{use_python3}
af65557
%global python_sitelib %{python3_sitelib}
af65557
%else
af65557
%global python_sitelib %{python_sitelib}
af65557
%endif
af65557
fbf2e29
# mock group id allocate for Fedora
fbf2e29
%global mockgid  135
fbf2e29
Seth Vidal 32b2475
Summary: Builds packages inside chroots
Seth Vidal 32b2475
Name: mock
293fded
Version: %{release_version}
c81e926
Release: 1%{?dist}
3ea2d8b
License: GPLv2+
6219f59
Source: https://git.fedorahosted.org/cgit/mock.git/snapshot/%{name}-%{version}.tar.xz
Seth Vidal 44500a7
URL: http://fedoraproject.org/wiki/Projects/Mock
2770ef6
BuildArch: noarch
0668632
%if 0%{?fedora} > 21
0668632
Requires: yum >= yum-3.4.3-505
0668632
%else
c81e926
Requires: yum >= 2.4
0668632
%endif
c81e926
Requires: tar
c81e926
Requires: pigz
c81e926
Requires: usermode
9e2a08e
Requires: yum-utils
c280da3
Requires: createrepo_c
c280da3
Requires: pyliblzma
c81e926
%if 0%{?rhel} != 6
c81e926
Requires: systemd
c81e926
%endif
Seth Vidal 32b2475
Requires(pre): shadow-utils
23f9673
Requires(post): coreutils
af65557
BuildRequires: autoconf, automake
6219f59
%if 0%{?fedora} || 0%{?rhel} > 6
6219f59
BuildRequires: bash-completion
6219f59
%endif
af65557
%if %{use_python3}
af65557
Requires: python3
af65557
Requires: python3-six
af65557
Requires: python3-requests
af65557
Requires: rpm-python3
af65557
BuildRequires: python3-devel
af65557
%else
af65557
Requires: python-ctypes
af65557
Requires: python-six
af65557
Requires: python-requests
af65557
Requires: python >= 2.6
af65557
BuildRequires: python-devel
af65557
%endif
7ed7574
%if 0%{?fedora} > 21
7ed7574
Recommends: dnf
7ed7574
Recommends: dnf-plugins-core
0668632
Recommends: btrfs-progs
0668632
%endif
0668632
%if 0%{?fedora} == 21 || 0%{?fedora} == 20
0668632
Requires: dnf
0668632
Requires: dnf-plugins-core
0668632
Requires: btrfs-progs
7ed7574
%endif
0668632
%if 0%{?rhel} >= 0
0668632
Requires: btrfs-progs
0668632
%endif
0668632
Seth Vidal 32b2475
Seth Vidal 32b2475
%description
c280da3
Mock takes an SRPM and builds it in a chroot.
Seth Vidal 32b2475
fbf2e29
%package scm
fbf2e29
Summary: Mock SCM integration module
c81e926
Requires: %{name} = %{version}-%{release}
c81e926
Requires: cvs
c81e926
Requires: git
c81e926
Requires: subversion
c81e926
Requires: tar
fbf2e29
fbf2e29
%description scm
c280da3
Mock SCM integration module.
fbf2e29
af65557
%if 0%{?rhel} != 6 && %{use_python2}
c81e926
# lvm plugin requires lvm2-python-libs, kernel >= 3.0 and glibc >= 2.14, which
c81e926
# are not available on el6
c81e926
%package lvm
c81e926
Summary: LVM plugin for mock
c81e926
Requires: %{name} = %{version}-%{release}
c81e926
Requires: lvm2
c81e926
Requires: lvm2-python-libs
c81e926
Requires: glibc >= 2.14
c81e926
c81e926
%description lvm
c81e926
Mock plugin that enables using LVM as a backend and support creating snapshots
c81e926
of the buildroot.
c81e926
%endif
c81e926
Seth Vidal 32b2475
%prep
Seth Vidal 32b2475
%setup -q
c81e926
%if 0%{?rhel} == 6
b1d5982
sed -i "s|^USE_NSPAWN = True|USE_NSPAWN = False|" py/mockbuild/util.py
c81e926
%endif
af65557
%if %{use_python3}
af65557
sed -i 's/AM_PATH_PYTHON/AM_PATH_PYTHON([3])/' configure.ac
af65557
for file in py/mock.py py/mockchain.py; do
af65557
  sed -i 1"s|#!/usr/bin/python |#!/usr/bin/python3 |" $file
af65557
done
af65557
%endif
e087a33
Seth Vidal 32b2475
%build
6813eac
autoreconf -vif
293fded
%configure
293fded
make
0668632
sed -i '1,$s/1.2.8/%{version}/' docs/mock.1
0668632
sed -i '1,$s/1.2.8/%{version}/' docs/mockchain.1
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
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
6219f59
if [ -d $RPM_BUILD_ROOT%{_datadir}/bash-completion ]; then
6219f59
    echo %{_datadir}/bash-completion/completions/mock >> %{name}.cfgs
6219f59
    echo %{_datadir}/bash-completion/completions/mockchain >> %{name}.cfgs
6219f59
elif [ -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d ]; then
6219f59
    echo %{_sysconfdir}/bash_completion.d/mock >> %{name}.cfgs
6219f59
fi
6219f59
f3eaee2
%if 0%{?rhel} == 6
f3eaee2
    # can be removed when yum-utils >= 1.1.31 lands in el6
f3eaee2
    echo "config_opts['plugin_conf']['package_state_enable'] = False" >> $RPM_BUILD_ROOT%{_sysconfdir}/mock/site-defaults.cfg
f3eaee2
%endif
0668632
%if 0%{?fedora} > 21
0668632
    echo "config_opts['yum_command'] = '/usr/bin/yum-deprecated'" >> $RPM_BUILD_ROOT%{_sysconfdir}/mock/site-defaults.cfg
0668632
%endif
Seth Vidal 32b2475
%pre
fbf2e29
fbf2e29
# check for existence of mock group, create it if not found
9f2fec5
getent group mock > /dev/null || groupadd -f -g %mockgid -r mock
fbf2e29
exit 0
Seth Vidal 32b2475
23f9673
%post
fbf2e29
fbf2e29
# fix cache permissions from old installs
c81e926
chmod 2775 %{_localstatedir}/cache/%{name}
c81e926
b1d5982
if [ -s /etc/os-release ]; then
af65557
    # fedora and rhel7
af65557
    if grep -Fq Rawhide /etc/os-release; then
af65557
        ver=rawhide
c280da3
    else
af65557
        ver=$(source /etc/os-release && echo $VERSION_ID | cut -d. -f1 | grep -o '[0-9]\+')
c280da3
    fi
af65557
else
af65557
    # rhel6 or something obsure, use buildtime version
af65557
    ver=%{?rhel}%{?fedora}
af65557
fi
af65557
mock_arch=$(python -c "import rpmUtils.arch; baseArch = rpmUtils.arch.getBaseArch(); print baseArch")
af65557
cfg=%{?fedora:fedora}%{?rhel:epel}-$ver-${mock_arch}.cfg
af65557
[ -e %{_sysconfdir}/%{name}/$cfg ] || exit -2
af65557
if [ "$(readlink %{_sysconfdir}/%{name}/default.cfg)" != "$cfg" ]; then
af65557
  ln -s $cfg %{_sysconfdir}/%{name}/default.cfg 2>/dev/null || ln -s -f $cfg %{_sysconfdir}/%{name}/default.cfg.rpmnew
c81e926
fi
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}/*
fbf2e29
%exclude %{python_sitelib}/mockbuild/scm.*
c81e926
%exclude %{python_sitelib}/mockbuild/plugins/lvm_root.*
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
f3eaee2
# gpg keys
f3eaee2
%dir %{_sysconfdir}/pki/mock
f3eaee2
%config(noreplace) %{_sysconfdir}/pki/mock/*
f3eaee2
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)
c81e926
%dir %{_localstatedir}/cache/mock
c81e926
%dir %{_localstatedir}/lib/mock
fbf2e29
fbf2e29
%files scm
fbf2e29
%{python_sitelib}/mockbuild/scm.py*
dcfea83
af65557
%if 0%{?rhel} != 6 && %{use_python2}
c81e926
%files lvm
c81e926
%{python_sitelib}/mockbuild/plugins/lvm_root.*
c81e926
%endif
94ee71d
c81e926
%changelog
0668632
* Wed Apr 29 2015 Miroslav Suchý <msuchy@redhat.com> - 1.2.8-1
0668632
- LVM plugin is removed on F22+ due RHBZ 1136366
0668632
- allow the chroot's location to be configurable [RHBZ#452730]
0668632
- send output of --chroot to log [RHBZ#1214178]
0668632
- chroot_scan: implement "only_failed" option [RHBZ#1190763]
0668632
- add comment why this previous commit was done [RHBZ#1192128]
0668632
- use rpm macros instead of cmd option for --nocheck [RHBZ#1192128]
0668632
- plugin options can be string if specified on command line [RHBZ#1193487]
0668632
- root_cache: do not assume volatile root with tmpfs [RHBZ#1193487]
0668632
- use CONFIG instead of CHROOT in help/man for --root option [RHBZ#1197131]
0668632
- more clarification on --dnf-cmd/--yum-cmd [RHBZ#1211621]
0668632
- scm correct the logic of exclude_vcs [RHBZ#1204240]
0668632
- ignore missing files in ccache [RHBZ#1210569]
0668632
- install buildsys-macros in el5 chroot [RHBZ#1213482]
0668632
- remove forgotten print statement [RHBZ#1202845]
0668632
- add a plugin that calls command (from the host) on the produced rpms.
0668632
- save/restore os.environ when dropping/restoring Privs [RHBZ#1204395]
0668632
- mock-scm pull tarball name from specfile instead of hardcoding [RHBZ#1204935]
0668632
- clarify "--yum-cmd" / "--dnf-cmd" options [RHBZ#1211621]
0668632
- return the SRPM name from do_buildsrpm (required for SCM builds) [1190450]
0668632
- binding DNF cache directory with yum_cache [RHBZ#1176560]
0668632
- suggest user to install dnf-plugins-core [RHBZ#1196248]
0668632
- ignore btrfs errors on non-btrfs systems [RHBZ#1205564]
0668632
- on F21- use hard deps instead of soft [RHBZ#1198769]
0668632
- delete btrfs subvolumes on exit [RHBZ#1205564]
0668632
- on python3 convert err from bytes to str [RHBZ#1211199]
0668632
- on F22+ use yum-deprecated instead of yum [RHBZ#1211978]
0668632
- if mountpoint is inside chroot, remove chroot part [RHBZ#1208299]
0668632
- chmod directory only if we really created it [RHBZ#1209532]
0668632
- port epel-5 configs to Python 3 [RHBZ#1204662]
0668632
- use nosync only for package management and chroot init [RHBZ#1184964]
0668632
- missing config file should not be fatal [RHBZ#1195749]
0668632
- pass variable "name" [RHBZ#1194171]
0668632
- correct chroot_scan configuration sample in site-defaults
0668632
- install missing chroot_scan plugin
0668632
- avoid creating resultdir as root
0668632
0668632
7ed7574
* Fri Feb 13 2015 Miroslav Suchý <msuchy@redhat.com> - 1.2.7-1
7ed7574
- add Fedora 22 configs
7ed7574
- rawhide configs use DNF
7ed7574
- touch should not truncate file [RHBZ#1188770]
7ed7574
08bdeba
* Mon Feb  2 2015 Clark Williams <williams@redhat.com> - 1.2.6-1
08bdeba
- fix broken build issue
08bdeba
- From Mikhail Campos Guadamuz <Mikhail_Campos-Guadamuz@epam.com>:
08bdeba
  - use default logging.ini if non-default does not exist [RHBZ#1187727]
08bdeba
- From Michael Simacek <msimacek@redhat.com>:
08bdeba
  - Update manpage regarding multiple arguments
08bdeba
  - Take package arguments in update [RHBZ#1187136]
08bdeba
- From Miroslav Suchý <msuchy@redhat.com>:
08bdeba
  - reset LC before calling lvm commands [RHBZ#1185912]
08bdeba
b1d5982
* Fri Jan 23 2015 Clark Williams <williams@redhat.com> - 1.2.5-1
b1d5982
- mounts: do not mount /dev/shm or /dev/pts if internal setup false
b1d5982
- actually package compress_logs plugin
b1d5982
- use relative imports
b1d5982
- touch /etc/os-release after install @buildsys-build [RHBZ#1183454]
b1d5982
- parse /etc/os-release only if it exists and size is non-zero [RHBZ#1183454]
b1d5982
25cbeb9
* Fri Jan 16 2015 Miroslav Suchý <msuchy@redhat.com> - 1.2.4-1
25cbeb9
- each user have its own ccache cache [RHBZ#1168116]
25cbeb9
- man: write example for --chroot option
25cbeb9
- sort options in man page
25cbeb9
- sort command in man page
25cbeb9
- add Fedora 22 GPG keys
25cbeb9
- improve --resultdir part of man page [RHBZ#1181554]
25cbeb9
- allow the subsitution of resultdir into the yum.conf block [RHBZ#1125376]
25cbeb9
- do no print duplicities in bash completion
25cbeb9
- Fixed systemd-nspawn machine name collision [RHBZ#1174286]
25cbeb9
- do shell expansion on  --new-chroot --chroot [RHBZ#1174317]
25cbeb9
- log executing command after nspawn expansion
25cbeb9
- make sure that mockchain generate unique repoid for all repos [RHBZ#1179806]
25cbeb9
- workaround old python-six in EL7
25cbeb9
- Remove checking for chroot existence in --chroot
25cbeb9
- Exclude .bash_history and .bashrc from builddir cleanup
25cbeb9
- Ignore broken symlinks in chown_home_dir
25cbeb9
- create SCM files as non-privileg user [RHBZ#1178576]
25cbeb9
- With --no-clean, delete /builddir except build/SOURCES [RHBZ#1173126]
25cbeb9
- Man page formatting improvements
25cbeb9
- Move the pool size check to later time when pool already exists
25cbeb9
- Always use returnOutput in lvm plugin to get possible error output
25cbeb9
- put correct version in man page
25cbeb9
- Fix unicode characters in logs on Python 2 [RHBZ#1171707]
25cbeb9
- Added new option 'postinstall' [RHBZ#1168911]
25cbeb9
- Use keepcache=1 in yum.conf [RHBZ#1169126]
25cbeb9
- Warn user when LVM thin pool is filled up [RHBZ#1167761]
25cbeb9
- add missing max_metadata_age_days do site-defaults.cfg
25cbeb9
- add age_check to site-default.cfg
25cbeb9
- compress also logs created by package_state plugin
25cbeb9
d2faac0
* Thu Dec  4 2014 Miroslav Suchý <msuchy@redhat.com> - 1.2.3-1
d2faac0
- fixed incorrect command construction in PackageManager:build_invocation [RHBZ#1170230]
d2faac0
- completion: correctly expand --install [RHBZ#1168220]
d2faac0
- copyin: when source is directory, then handle corner cases [RHBZ#1169051]
d2faac0
- increase default for tmpfs to 768
d2faac0
- check if key exist [RHBZ#476837]
d2faac0
- Added tmpfs new option 'keep_mounted' [RHBZ#476837]
d2faac0
- add 2 common tmpfs dirs to find_non_nfs_dir()
d2faac0
- Added new option --symlink-dereference used with --buildsrpm [BZ# 1165242]
d2faac0
- accept None as macro value in config [RHBZ#1165778]
d2faac0
- Don't do yum update when --no-clean specified [RHBZ#1165716]
d2faac0
- do not delete /buildir when --no-clean was set [RHBZ#483486]
d2faac0
- bash completation for --copyin and --sources
d2faac0
- bash_completion.d/mock: fix syntax error
d2faac0
- Correct check for --source cmd option, single file can be used [RHBZ#1165213]
d2faac0
- update BUGS part of man page
d2faac0
- add missing options to man page
d2faac0
1ad2eaf
* Tue Nov 18 2014 Miroslav Suchý <msuchy@redhat.com> - 1.2.2-1
1ad2eaf
- add missing import [RHBZ#1165061]
1ad2eaf
af65557
* Sat Nov 15 2014 Miroslav Suchý <msuchy@redhat.com> - 1.2.1-1
af65557
- allow mockchain to accept path as config
af65557
- end yum's installroot path with a slash [RHBZ#1160428]
af65557
- add --mount option [RHBZ#1162637]
af65557
- add some missing bash completation strings
af65557
- run --shell as root with --new-chroot
af65557
- Don't fail scrub when there's no pool [RHBZ#1162631]
af65557
- Globbing and tilde expansion
af65557
- move restoring priviledges to finally [RHBZ#1162720]
af65557
- Remove "Buildroot must be already initialized" note
af65557
- Add missing --print-root-path to manpage
af65557
- Do not print ANSI escape characters into log [RHBZ#1163037]
af65557
- in site-defaults.cfg initialize dictionary of plugins [RHBZ#1162595]
af65557
- Disable empty names and values in config_opts[macros] [RHBZ#1160765]
af65557
- Disable single macros in -D cmd option [RHBZ#1160765]
af65557
- rpmbuild is in /usr/bin [RHBZ#1161112]
af65557
- man page for --macro-file [RHBZ#1160326]
af65557
- Added option [--macro-file] to support external rpm macros file [RHBZ#1160326]
af65557
- Don't output installation/build output when redirected
af65557
- Better log message for intial buildroot installation
af65557
- Be more specific when installing configs
af65557
- Install into correct sitelib when using Python 3
af65557
- Fix nosync on aarch64
af65557
- wrap all remaining getcwd() [RHBZ#1159300]
25cbeb9
- do not use rpm in %%post scriptlet [RHBZ#1131279]
af65557
- Fix unclear legal host output [RHBZ#1159794]
af65557
- allow running from directory, which is deleted [RHBZ#1159300]
af65557
- create compress_logs plugin [RHBZ#1100923]
af65557
- when default.cfg exists create default.cfg.rpmnew [RHBZ#1085308]
af65557
- accept paths to target definition files [RHBZ#1126117]
af65557
- set title bar in xterm [RHBZ#1126235]
af65557
- pass --enablerepo/--disablerepo to yum in the same order as provided to mock [RHBZ#1154604]
af65557
- Fix incorrect printing of binary strings on py3
af65557
- Add missing Requires rpm-python3
af65557
- Don't print Yum and build output when quiet
af65557
- Prevent output being printed twice with --verbose (rhbz#1152971)
af65557
- Fix printing non-ascii characters with output redirected (rhbz#1152952)
af65557
- replace urlgrabber by python-requests
af65557
- use python3 for Fedora22+
af65557
- Don't print we're doing rpmbuild -bb, when it may not be true
af65557
- 'prep' choice missing in short-circuit option parser
af65557
- Don't execute prebuild in short-circuit mode
af65557
c81e926
* Thu Oct  9 2014 Miroslav Suchý <msuchy@redhat.com> - 1.2.0-1
c81e926
- update configs for secondary architecture (Dan Horák)
c81e926
- caching of buildroots using LVM (Michael Simacek)
c81e926
- add support for DNF (Michael Simacek)
c81e926
- initial porting to python3 (Michael Simacek)
c81e926
- new config option nosync (Michael Simacek)
c81e926
- add CentOS extra repository [BZ# 1108402]
c81e926
- correctly create default.cfg on arm [BZ# 1033786]
c81e926
- postpone loading of rpm after chroot is set [BZ# 1111147]
c81e926
- use systemd-nspawn instead of chroot [RHBZ# 1132762]
c81e926
- in --copyout do not fail on symlinks [BZ# 971474]
c81e926
- allow to short circuit to prep phase [BZ# 966985]
4266eca
ed02f44
* Fri Jul 18 2014 Clark Williams <williams@redhat.com> - 1.1.41-1
ed02f44
- fix python 2.7 feature so we can run on rhel6
ed02f44
ed02f44
* Thu Jul 17 2014 Clark Williams <williams@redhat.com> - 1.1.40-1
f3eaee2
- from Miroslav Suchý <msuchy@redhat.com>:
f3eaee2
  - mock: Revert "revert 7ec6a1e9d202ab56fb31c914dbf7516c045e56ab" [BZ# 1103239]
f3eaee2
  - configs: use final Centos 7 path in configs [BZ# 1108402]
f3eaee2
  - configs: fix typo in fedora-rawhide-armhfp config [BZ# 1108847]
f3eaee2
  - mockchain: use getuid() instead of getgid() [BZ# 1108265]
f3eaee2
  - configs: check gpg key of packages from Fedora, Centos, Epel
f3eaee2
  - plugins: disable package_state by default on el6
f3eaee2
  - make /etc/mtab symlink to /proc/self/mounts [BZ# 1116158]
f3eaee2
  - do not list pki files twice
f3eaee2
  - deploy etc/pki to buildroot
f3eaee2
- from Michael Simacek <msimacek@redhat.com>:
f3eaee2
  - mock: do not allow config scripts to regain root priviledges
f3eaee2
- from Igor Gnatenko <i.gnatenko.brain@gmail.com>:
f3eaee2
  - Add F21 configs
f3eaee2
  - Change releasever to 22 for rawhide
f3eaee2
c280da3
* Wed May 21 2014 Clark Williams <williams@redhat.com> - 1.1.39-1
c280da3
- configs: update epel-7 koji repo to use correct URL
c280da3
- from Ken Dreyer <ktdryer@ktdryder.com>
c280da3
  - Use RHEL 7 RC mirrorlist URLs
c280da3
from Miroslav Suchý <msuchy@redhat.com>
c280da3
  - add support for subscription-manager (RHSM)
c280da3
  - expand tabs for better readablity
c280da3
  - cut of everything after decimal point, if there is some [BZ# 1098477]
c280da3
  - better code readablity
c280da3
  - clarify the log messages
c280da3
  - use metalink instead of mirrorlist in yum config
c280da3
  - set LC_MESSAGE to C before executing command [BZ# 519258]
c280da3
  - use ctypes.get_errno() instead of ctypes.c_int.in_dll(_libc, "errno")
c280da3
  - revert 7ec6a1e9d202ab56fb31c914dbf7516c045e56ab (python 2.4 workarounds)
25cbeb9
  - buildroot and %%clean is not needed for el6 and fedoras
c280da3
  - description should always end with dot
c280da3
  - remove shebang from mockbuild/mounts.py
25cbeb9
  - %%defattr is not needed since rpm 4.4
c280da3
  - remove el5 conditional
c280da3
  - use createrepo_c which is much faster
c280da3
  - whitespace fixes
c280da3
  - remove unused variables: 'username' and 'hdr'
c280da3
  - better logging of kernel version [BZ# 1048826]
c280da3
  - partially revert 9db6edb33cc34a450e762eb5d2bedf9067ebc419 [BZ# 1034805]
c280da3
  - teach mockchain about ftp [BZ# 1061776]
c280da3
from Jerry James <loganjerry@gmail.com>
c280da3
  - fix post scriptlet to deal with rawhide [BZ# 1083689]
c280da3
4cd55ed
* Mon Mar 31 2014 Clark Williams <williams@redhat.com> - 1.1.38-1
4cd55ed
- revert commit 34d0b1d815e4 for quoting (breaks fedora-review)
4cd55ed
9e2a08e
* Thu Mar 27 2014 Clark Williams <williams@redhat.com> - 1.1.37-2
9e2a08e
- fix el6 requires for yum-utils
9e2a08e
6219f59
* Mon Mar 24 2014 Clark Williams <williams@redhat.com> - 1.1.37-1
6219f59
- fix thinko in test script for running configs
6219f59
- plugins: turn off package_state plugin by default
6219f59
- fix automake to use 'xz' compression
6219f59
- additional commits needed by scm commit
6219f59
- elevate privs when accessing the chroot rpmdb [BZ# 1051474]
6219f59
- quote --shell args like a shell [BZ# 966144]
6219f59
- from Tuomo Soini <tis@foobar.fi>
6219f59
  - Fix for race in directory creation [BZ# 1052045]
6219f59
- from Peter Jönsson <peter.jonsson@klarna.com>
6219f59
  - Add support for creating tarballs with scm data still inside
6219f59
- from Tomas Kopecek <tkopecek@redhat.com>
6219f59
  - internal_dev_setup option used consistently
6219f59
- from Dennis Gilmore <dennis@ausil.us>
6219f59
  - add rawhide aarch64 config
6219f59
  - remove sparc rawhide configs, she be dead
6219f59
- from Ville Skyttä <ville.skytta@iki.fi>
6219f59
  - Use $(mocketcdir) in install-data-hook instead of duplicating its value
6219f59
  - Use xz tarball to save a bit of space
6219f59
  - Clean up unused imports
6219f59
  - Install bash completion to proper dir with bash-completion 2
6219f59
  - Remove Fedora 18 configs
6219f59
  - Use install @foo instead of groupinstall foo in chroot_setup_cmd
6219f59
- from Rodrigo Dias Cruz <rodrigodc+redhatbugzilla@gmail.com>
6219f59
  -  fix scm problem with specfiles using rpm macros [BZ# 1056271]
9e2a08e
- from Tomas Kopecek <tkopecek@redhat.com>
9e2a08e
  - avoid undefined variable error in try/finally block [BZ# 1063275]
6219f59
6813eac
* Wed Feb  5 2014 Clark Williams <williams@redhat.com> - 1.1.36-1
6813eac
- configs: first cut at epel-7 configs for x86_64 and ppc64
6813eac
- Add 'extra_chroot_dirs' config option
6813eac
- use repoquery --installroot to avoid yum cache corruption [BZ# 1029352 and 985681]
6813eac
- mockchain: avoid special characters in repoid [BZ# 1034805]
6813eac
- from Jon Disnard <jdisnard@gmail.com>:
6813eac
  - implement autoreconf call in build phase of mock rpm [BZ# 926154]
6813eac
  - fix --copyout by temporary drop and restore of privs [BZ# 1002142]
6813eac
- from Dennis Gilmore <dennis@ausil.us>:
6813eac
  - rawhide and f19/f18 is hardware floating point only for arm, drop the unneeded configs
6813eac
- from Yann Droneaud <yann@droneaud.fr>:
6813eac
  - pass root environment to repoquery calls for proxy config [BZ# 974499]
6813eac
- from Miroslav Suchý <msuchy@redhat.com>:
6813eac
  - add releasever config option to configs [BZ# 1056039]
6813eac
971cfa7
* Tue Nov  5 2013 Clark Williams <williams@redhat.com> - 1.1.35-1
971cfa7
- modified %%post logic to set default config correctly
971cfa7
56e3469
* Tue Oct 29 2013 Clark Williams <williams@redhat.com> - 1.1.34-1
56e3469
- fixed specfile to include mass rebuild changelog entry
56e3469
- package_state: drop privs when writing available_packages data [BZ# 916685]
56e3469
- unconditionally update default.cfg on install [BZ# 858822]
56e3469
- attempt to make mock more EL5 friendly [BZ# 949616]
56e3469
- do not ignore missing dependencies [BZ# 955478]
56e3469
- set the group defined in chrootgid [BZ# 953519]
56e3469
- add the --nocheck option to mock [BZ# 1015790]
56e3469
- raise privs before deleting rpm db files in chroot [BZ# 973617]
56e3469
- clean up orphan processes even if chroot not cleaned [BZ# 972868]
56e3469
- do not remove the chroot builddir if not cleaning the chroot [BZ# 483486]
56e3469
- use root object environment in package_state plugin [BZ# 921221]
56e3469
- Pass values of --plugin-option through literal_eval [BZ# 1018359]
56e3469
- add default mode to mount in tmpfs plugin [BZ# 598257]
56e3469
- exit mockbuild.util.logOutput() when child process dies [BZ# 885405]
56e3469
dcfea83
* Wed Aug 21 2013 Clark Williams <williams@redhat.com> - 1.1.33-1
dcfea83
- removed f17 configs
dcfea83
- added f20 configs
dcfea83
- fixed mockchain to use mock config default setup [BZ# 962573]
dcfea83
- remove bogus lockfile dir in _setupDirs() [BZ# 894305]
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
9f2fec5
* Thu Apr 18 2013 Clark Williams <williams@redhat.com> - 1.1.32-1
9f2fec5
- fixed post scriptlet to use correct keyword to getent
9f2fec5
fbf2e29
* Fri Apr 12 2013 Clark Williams <williams@redhat.com> - 1.1.31-1
fbf2e29
- removed f16 configurations files
fbf2e29
- selinux plugin: modify to catch yum-builddep in callback [BZ# 923927]
fbf2e29
- fix logging assumption in main mock file [BZ# 912624]
fbf2e29
- initial cut at chroot_scan plugin [BZ# 441090]
fbf2e29
- updated specfile to use static mock gid 135
fbf2e29
- from Marko Myllynen <myllynen@redhat.com>:
fbf2e29
  - separate scm module into separate package [BZ# 798367]
fbf2e29
  - scm plugin: Handle filenames w/ spaces in SCM/git  [BZ# 915264]
fbf2e29
  - scm plugin: if tar supports --exlcude-vcs use it [BZ#  824848]
fbf2e29
- from Shad L. Lords <slords@lordsfam.net>:
fbf2e29
  - mounts plugin: removed redundant '-t' specified for vfstype [BZ# 910857]
fbf2e29
- from Justin Lewis Salmon <jsalmon@cern.ch>:
fbf2e29
  - root cache plugin: add the --cache-alternations option [BZ# 905363]