|
|
78b6aeb |
%{!?python_sitelib: %global 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
|
|
|
1364298 |
Version: 1.3.5
|
|
|
e2600bf |
Release: 1%{?dist}
|
|
|
3ea2d8b |
License: GPLv2+
|
|
|
2f04903 |
Source: https://fedorahosted.org/releases/m/o/mock/%{name}-%{version}.tar.gz
|
|
|
2f04903 |
URL: https://github.com/rpm-software-management/mock/
|
|
|
2770ef6 |
BuildArch: noarch
|
|
|
0668632 |
%if 0%{?fedora} > 21
|
|
|
5e91867 |
Requires: 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
|
|
|
2f04903 |
Requires: distribution-gpg-keys >= 1.9
|
|
|
36e0617 |
%if 0%{?use_python2}
|
|
|
c280da3 |
Requires: pyliblzma
|
|
|
36e0617 |
%endif
|
|
|
5b498ad |
%if 0%{?rhel} != 6 && 0%{?fedora} > 0 && 0%{?fedora} < 24
|
|
|
c81e926 |
Requires: systemd
|
|
|
c81e926 |
%endif
|
|
|
8465514 |
%if 0%{?fedora} > 23
|
|
|
5b498ad |
Requires: systemd-container
|
|
|
5b498ad |
%endif
|
|
Seth Vidal |
32b2475 |
Requires(pre): shadow-utils
|
|
|
23f9673 |
Requires(post): coreutils
|
|
|
c7420eb |
%if 0%{?fedora} > 0
|
|
|
b51a630 |
Requires(post): system-release
|
|
|
c7420eb |
%endif
|
|
|
c7420eb |
%if 0%{?rhel} > 6
|
|
|
c7420eb |
Requires(post): /etc/os-release
|
|
|
c7420eb |
%endif
|
|
|
af65557 |
BuildRequires: autoconf, automake
|
|
|
6219f59 |
%if 0%{?fedora} || 0%{?rhel} > 6
|
|
|
6219f59 |
BuildRequires: bash-completion
|
|
|
6219f59 |
%endif
|
|
|
af65557 |
%if %{use_python3}
|
|
|
af65557 |
Requires: python3
|
|
|
2f04903 |
Requires: python3-distro
|
|
|
2f04903 |
Requires: python3-six >= 1.4.0
|
|
|
af65557 |
Requires: python3-requests
|
|
|
af65557 |
Requires: rpm-python3
|
|
|
af65557 |
BuildRequires: python3-devel
|
|
|
2f04903 |
#check
|
|
|
2f04903 |
BuildRequires: python3-pylint
|
|
|
af65557 |
%else
|
|
|
af65557 |
Requires: python-ctypes
|
|
|
2f04903 |
Requires: python2-distro
|
|
|
2f04903 |
Requires: python-six >= 1.4.0
|
|
|
af65557 |
Requires: python-requests
|
|
|
af65557 |
Requires: python >= 2.6
|
|
|
99c8df9 |
Requires: rpm-python
|
|
|
af65557 |
%endif
|
|
|
5a7f342 |
BuildRequires: python-devel
|
|
|
5b498ad |
%if 0%{?fedora}
|
|
|
7ed7574 |
Recommends: dnf
|
|
|
7ed7574 |
Recommends: dnf-plugins-core
|
|
|
0668632 |
Recommends: btrfs-progs
|
|
|
0668632 |
%endif
|
|
|
9a6484d |
%if 0%{?rhel} >= 7
|
|
|
0668632 |
Requires: btrfs-progs
|
|
|
0668632 |
%endif
|
|
|
2f04903 |
BuildRequires: perl
|
|
Seth Vidal |
32b2475 |
|
|
|
5a7f342 |
# hwinfo plugin
|
|
|
5a7f342 |
Requires: util-linux
|
|
|
5a7f342 |
Requires: coreutils
|
|
|
5a7f342 |
%if 0%{?rhel} == 6
|
|
|
5a7f342 |
Requires: procps
|
|
|
5a7f342 |
%else
|
|
|
5a7f342 |
Requires: procps-ng
|
|
|
5a7f342 |
%endif
|
|
|
5a7f342 |
|
|
|
5a7f342 |
|
|
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 |
|
|
|
c81e926 |
%package lvm
|
|
|
c81e926 |
Summary: LVM plugin for mock
|
|
|
c81e926 |
Requires: %{name} = %{version}-%{release}
|
|
|
c81e926 |
Requires: lvm2
|
|
|
c81e926 |
|
|
|
c81e926 |
%description lvm
|
|
|
c81e926 |
Mock plugin that enables using LVM as a backend and support creating snapshots
|
|
|
c81e926 |
of the buildroot.
|
|
|
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 |
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
|
|
|
2f04903 |
for i in py/mock.py py/mockchain.py; do
|
|
|
2f04903 |
perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="%{version}"|' $i
|
|
|
2f04903 |
perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="%{_sysconfdir}"|' $i
|
|
|
2f04903 |
perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="%{python_sitelib}"|' $i
|
|
|
2f04903 |
perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="%{python_sitelib}/mockbuild"|' $i
|
|
|
2f04903 |
done
|
|
|
2f04903 |
for i in docs/mockchain.1 docs/mock.1; do
|
|
|
2f04903 |
perl -p -i -e 's|@VERSION@|%{version}"|' $i
|
|
|
2f04903 |
done
|
|
Seth Vidal |
32b2475 |
|
|
Seth Vidal |
32b2475 |
%install
|
|
|
2f04903 |
install -d %{buildroot}%{_bindir}
|
|
|
2f04903 |
install -d %{buildroot}%{_libexecdir}/mock
|
|
|
2f04903 |
install py/mockchain.py %{buildroot}%{_bindir}/mockchain
|
|
|
2f04903 |
install py/mock.py %{buildroot}%{_libexecdir}/mock/mock
|
|
|
2f04903 |
ln -s consolehelper %{buildroot}%{_bindir}/mock
|
|
Seth Vidal |
32b2475 |
|
|
|
2f04903 |
install -d %{buildroot}%{_sysconfdir}/pam.d
|
|
|
2f04903 |
cp -a etc/pam/* %{buildroot}%{_sysconfdir}/pam.d/
|
|
|
a658f51 |
|
|
|
2f04903 |
install -d %{buildroot}%{_sysconfdir}/mock
|
|
|
2f04903 |
cp -a etc/mock/* %{buildroot}%{_sysconfdir}/mock/
|
|
|
2f04903 |
|
|
|
2f04903 |
install -d %{buildroot}%{_sysconfdir}/security/console.apps/
|
|
|
2f04903 |
cp -a etc/consolehelper/mock %{buildroot}%{_sysconfdir}/security/console.apps/%{name}
|
|
|
2f04903 |
|
|
|
2f04903 |
install -d %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
2f04903 |
cp -a etc/bash_completion.d/* %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
2f04903 |
ln -s mock %{buildroot}%{_datadir}/bash-completion/completions/mockchain
|
|
|
2f04903 |
|
|
|
2f04903 |
install -d %{buildroot}%{_sysconfdir}/pki/mock
|
|
|
2f04903 |
cp -a etc/pki/* %{buildroot}%{_sysconfdir}/pki/mock/
|
|
|
2f04903 |
|
|
|
2f04903 |
install -d %{buildroot}%{python_sitelib}/
|
|
|
2f04903 |
cp -a py/mockbuild %{buildroot}%{python_sitelib}/
|
|
|
5561ec2 |
|
|
|
2f04903 |
install -d %{buildroot}%{_mandir}/man1
|
|
|
2f04903 |
cp -a docs/mockchain.1 docs/mock.1 %{buildroot}%{_mandir}/man1/
|
|
|
2f04903 |
|
|
|
2f04903 |
install -d %{buildroot}/var/lib/mock
|
|
|
2f04903 |
install -d %{buildroot}/var/cache/mock
|
|
|
2f04903 |
|
|
|
2f04903 |
# generate files section with config - there is many of them
|
|
|
2f04903 |
echo "%defattr(0644, root, mock)" > %{name}.cfgs
|
|
|
2f04903 |
find %{buildroot}%{_sysconfdir}/mock -name "*.cfg" \
|
|
|
2f04903 |
| sed -e "s|^%{buildroot}|%%config(noreplace) |" >> %{name}.cfgs
|
|
|
2f04903 |
# just for %%ghosting purposes
|
|
|
2f04903 |
ln -s fedora-rawhide-x86_64.cfg %{buildroot}%{_sysconfdir}/mock/default.cfg
|
|
|
2f04903 |
# bash-completion
|
|
|
2f04903 |
if [ -d %{buildroot}%{_datadir}/bash-completion ]; then
|
|
|
6219f59 |
echo %{_datadir}/bash-completion/completions/mock >> %{name}.cfgs
|
|
|
6219f59 |
echo %{_datadir}/bash-completion/completions/mockchain >> %{name}.cfgs
|
|
|
2f04903 |
elif [ -d %{buildroot}%{_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
|
|
|
2f04903 |
echo "config_opts['plugin_conf']['package_state_enable'] = False" >> %{buildroot}%{_sysconfdir}/mock/site-defaults.cfg
|
|
|
2f04903 |
echo "config_opts['use_nspawn'] = False" >> %{buildroot}%{_sysconfdir}/mock/site-defaults.cfg
|
|
|
f3eaee2 |
%endif
|
|
|
fbf2e29 |
|
|
|
2f04903 |
|
|
|
2f04903 |
%pre
|
|
|
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 |
# fix cache permissions from old installs
|
|
|
c81e926 |
chmod 2775 %{_localstatedir}/cache/%{name}
|
|
|
c81e926 |
|
|
|
b1d5982 |
if [ -s /etc/os-release ]; then
|
|
|
af65557 |
# fedora and rhel7
|
|
|
5a7f342 |
if grep -Fiq 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
|
|
|
99c8df9 |
if [ -e %{_sysconfdir}/%{name}/$cfg ]; then
|
|
|
99c8df9 |
if [ "$(readlink %{_sysconfdir}/%{name}/default.cfg)" != "$cfg" ]; then
|
|
|
99c8df9 |
ln -s $cfg %{_sysconfdir}/%{name}/default.cfg 2>/dev/null || ln -s -f $cfg %{_sysconfdir}/%{name}/default.cfg.rpmnew
|
|
|
99c8df9 |
fi
|
|
|
99c8df9 |
else
|
|
|
99c8df9 |
echo "Warning: file %{_sysconfdir}/%{name}/$cfg does not exists."
|
|
|
99c8df9 |
echo " unable to update %{_sysconfdir}/%{name}/default.cfg"
|
|
|
c81e926 |
fi
|
|
|
23f9673 |
:
|
|
|
23f9673 |
|
|
|
2f04903 |
%check
|
|
|
2f04903 |
# ignore the errors for now, just print them and hopefully somebody will fix it one day
|
|
|
5a7f342 |
python3-pylint py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
|
|
|
2f04903 |
|
|
|
23f9673 |
%files -f %{name}.cfgs
|
|
Seth Vidal |
32b2475 |
%defattr(-, root, root)
|
|
|
49927b8 |
|
|
|
49927b8 |
# executables
|
|
|
49927b8 |
%{_bindir}/mock
|
|
|
cd46534 |
%{_bindir}/mockchain
|
|
|
2f04903 |
%{_libexecdir}/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*
|
|
|
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*
|
|
|
5a7f342 |
%if %{use_python3}
|
|
|
5a7f342 |
%{python3_sitelib}/mockbuild/__pycache__/scm.*.py*
|
|
|
5a7f342 |
%endif
|
|
|
dcfea83 |
|
|
|
c81e926 |
%files lvm
|
|
|
c81e926 |
%{python_sitelib}/mockbuild/plugins/lvm_root.*
|
|
|
5a7f342 |
%if %{use_python3}
|
|
|
5a7f342 |
%{python3_sitelib}/mockbuild/plugins/__pycache__/lvm_root.*.py*
|
|
|
5a7f342 |
%endif
|
|
|
94ee71d |
|
|
|
c81e926 |
%changelog
|
|
|
1364298 |
* Thu Mar 02 2017 Miroslav Suchý <msuchy@redhat.com> 1.3.5-1
|
|
|
1364298 |
- fix path to "df" [RHBZ#1428301] (msuchy@redhat.com)
|
|
|
1364298 |
|
|
|
5a7f342 |
* Mon Feb 27 2017 Miroslav Suchý <msuchy@redhat.com> 1.3.4-1
|
|
|
5a7f342 |
- add support for dist-git to scm plugin (clime@redhat.com)
|
|
|
5a7f342 |
- preserve mode of files when doing chroot_scan [RHBZ#1297430]
|
|
|
5a7f342 |
(msuchy@redhat.com)
|
|
|
5a7f342 |
- spec: add to package pycache for subpackages (msuchy@redhat.com)
|
|
|
5a7f342 |
- restore permissions on chroot_scan dir (drop to unprivUid, unprivGid)
|
|
|
5a7f342 |
(gitDeveloper@bitthinker.com)
|
|
|
5a7f342 |
- add fedora 26 configs (msuchy@redhat.com)
|
|
|
5a7f342 |
- config: add best=1 also into rawhide configs (praiskup@redhat.com)
|
|
|
5a7f342 |
- rename package_state's log to have .log suffix (gitDeveloper@bitthinker.com)
|
|
|
5a7f342 |
- systemd-nspawn: run as PID2 #36 (msuchy@redhat.com)
|
|
|
5a7f342 |
- fix defaults for yum_builddep_opts (gitDeveloper@bitthinker.com)
|
|
|
5a7f342 |
- Support nspawn_args (walters@verbum.org)
|
|
|
5a7f342 |
- return exit code 2 when /usr/libexec/mock/mock run directly without
|
|
|
5a7f342 |
consolehelper (msuchy@redhat.com)
|
|
|
5a7f342 |
- change path of /usr/sbin/mock in error message (msuchy@redhat.com)
|
|
|
5a7f342 |
- Fix debuginfo repo naming (msimacek@redhat.com)
|
|
|
5a7f342 |
- more examples of PS1 [RHBZ#1183733] (msuchy@redhat.com)
|
|
|
5a7f342 |
- simplify PROMPT_COMMAND string (msuchy@redhat.com)
|
|
|
5a7f342 |
- "Rawhide" has been changed to "rawhide" in os-release file in current rawhide
|
|
|
5a7f342 |
(F26) [RHBZ#1409735] (msuchy@redhat.com)
|
|
|
5a7f342 |
- Update local repo URLs for rawhide (mizdebsk@redhat.com)
|
|
|
5a7f342 |
- Switch kojipkgs URLs to https (mizdebsk@redhat.com)
|
|
|
5a7f342 |
- run pylint on plugins too (msuchy@redhat.com)
|
|
|
5a7f342 |
- introduce hw_info plugin (msuchy@redhat.com)
|
|
|
5a7f342 |
- remove fedora-23 configs (msuchy@redhat.com)
|
|
|
5a7f342 |
|
|
|
2f04903 |
* Sun Jan 01 2017 Miroslav Suchý <msuchy@redhat.com> 1.3.3-1
|
|
|
2f04903 |
- use F25 for tests
|
|
|
2f04903 |
- handle cwd directories with spaces [RHBZ#1389663]
|
|
|
2f04903 |
- add config option `hostname` to set hostname
|
|
|
2f04903 |
(constantine.peresypk@rackspace.com)
|
|
|
2f04903 |
- use DNF on RHEL, when it is installed and configured [RHBZ#1405783]
|
|
|
2f04903 |
- use best=1 for DNF
|
|
|
2f04903 |
- error is not iterable [RHBZ#1387895]
|
|
|
2f04903 |
- use best=true for dnf.conf for repos passed to mockchain using -a
|
|
|
2f04903 |
- add epel-7-aarch64 config
|
|
|
2f04903 |
- better naming for tmp directories
|
|
|
2f04903 |
- Remove tmpdirs regardless of buildroot existence (msimacek@redhat.com)
|
|
|
2f04903 |
- clarify examples of using more_buildreqs feature
|
|
|
2f04903 |
(gitDeveloper@bitthinker.com)
|
|
|
2f04903 |
- fix more_buildreqs case: correctly compare if req is basestring
|
|
|
2f04903 |
(gitDeveloper@bitthinker.com)
|
|
|
2f04903 |
- fix formating a bit (gitDeveloper@bitthinker.com)
|
|
|
2f04903 |
- add missing step in 'getting & compiling' part (gitDeveloper@bitthinker.com)
|
|
|
2f04903 |
- Add bash completion for .cfg files outside /etc/mock (#20)
|
|
|
2f04903 |
(github@kayari.org)
|
|
|
2f04903 |
- man: example how to use --plugin-option
|
|
|
2f04903 |
- require most recent distribution-gpg-keys to get F25 keys
|
|
|
2f04903 |
- man: state that shell does not produce logs
|
|
|
2f04903 |
- Delay mounting of user-defined mountpoints (rhbz#1386544)
|
|
|
2f04903 |
(msimacek@redhat.com)
|
|
|
2f04903 |
- man: clarify chroot cleanups
|
|
|
2f04903 |
|
|
|
2f04903 |
* Mon Oct 17 2016 Miroslav Suchý 1.3.2-1
|
|
|
2f04903 |
- flake8 fixes
|
|
|
2f04903 |
- correctly escape --nocheck [GH#2] (msuchy@redhat.com)
|
|
|
2f04903 |
- change hostname in container [RHBZ#1302040] (msuchy@redhat.com)
|
|
|
2f04903 |
- example how to change hostname in container [RHBZ#1302040]
|
|
|
2f04903 |
(msuchy@redhat.com)
|
|
|
2f04903 |
- skip unshare() if running inside of Docker [RHBZ#1336750] (msuchy@redhat.com)
|
|
|
2f04903 |
- Bring back logging.raiseExceptions = 0 (ville.skytta@iki.fi)
|
|
|
2f04903 |
- Purge no longer needed Python < 2.5 workarounds (ville.skytta@iki.fi)
|
|
|
2f04903 |
- Purge no longer needed six < 1.4.0 workaround (ville.skytta@iki.fi)
|
|
|
2f04903 |
- run pylint during %%check phase (msuchy@redhat.com)
|
|
|
2f04903 |
|
|
|
2f04903 |
* Tue Sep 27 2016 Miroslav Suchý <msuchy@redhat.com> 1.3.1-1
|
|
|
2f04903 |
- remove F21 GPG keys
|
|
|
2f04903 |
- remove F22 configs
|
|
|
2f04903 |
- update upstream URL
|
|
|
2f04903 |
- move /usr/sbin/mock to /usr/libexec/mock/mock [RHBZ#1246810]
|
|
|
2f04903 |
- Initialized to use tito.
|
|
|
2f04903 |
- add pylint config
|
|
|
2f04903 |
* Tue Sep 13 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.21-1
|
|
|
2f04903 |
- CVE-2016-6299 - fixed root rights escalation in mock-scm
|
|
|
2f04903 |
- root_cache: Mention _root_ cache being created in state updates
|
|
|
2f04903 |
- Rename mageia pubkey to RPM-GPG-KEY-Mageia
|
|
|
2f04903 |
- require generic system-release rather than fedora-release [RHBZ#1367746]
|
|
|
2f04903 |
|
|
|
e2600bf |
* Wed Aug 17 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.20-1
|
|
|
2f04903 |
- use epel GPG keys for epel
|
|
|
e2600bf |
|
|
|
c7420eb |
* Wed Aug 10 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.19-1
|
|
|
e2600bf |
- disable tmpfs plugin for init-clean test
|
|
|
c7420eb |
- pass cwd option to systemd-nspawn [RHBZ#1264508]
|
|
|
c7420eb |
- pass unpriv id to doshell() [RHBZ#1298220]
|
|
|
c7420eb |
- enable package_state plugin by default and create installed_pkgs file [RHBZ#1277187]
|
|
|
c7420eb |
- installed_pkgs can be created even in offline mode
|
|
|
c7420eb |
- Use context manager for drop/restore calls of uid manager [RHBZ#1362478]
|
|
|
c7420eb |
- require /etc/os-release during post section [RHBZ#1358397]
|
|
|
c7420eb |
- use mageia gpg keys from distribution-gpg-keys package
|
|
|
c7420eb |
- use fedora gpg keys from distribution-gpg-keys package
|
|
|
c7420eb |
- use epel gpg keys from distribution-gpg-keys package
|
|
|
c7420eb |
- add F25 configs
|
|
|
c7420eb |
- 'include' statement has been added [RHBZ#1272381]
|
|
|
c7420eb |
- Handle file open/close more with "with", close more eagerly
|
|
|
c7420eb |
- Use logging.warning instead of deprecated warn
|
|
|
c7420eb |
- add chroot_additional_packages to custom chroots
|
|
|
c7420eb |
- chroot_additional_packages: new option
|
|
|
c7420eb |
|
|
|
99c8df9 |
* Fri Jun 10 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.18-1
|
|
|
99c8df9 |
- add custom config
|
|
|
99c8df9 |
- add Mageia configs
|
|
|
99c8df9 |
- copy just content of SRPM not the attributes [RHBZ#1301985]
|
|
|
99c8df9 |
- do not fail when we cannot link default.cfg [RHBZ#1305367]
|
|
|
99c8df9 |
- Build always fails when using --nocheck [RHBZ#1327594]
|
|
|
99c8df9 |
- Escape the escape sequences in PROMPT_COMMAND, improve prompt
|
|
|
99c8df9 |
- requires rpm-python
|
|
|
99c8df9 |
- Use root name instead config name for backups dir
|
|
|
99c8df9 |
- Unconditionally setup resolver config
|
|
|
99c8df9 |
- keep machine-id in /etc/machine-id [RHBZ#1344305]
|
|
|
99c8df9 |
- use DNF for F24
|
|
|
99c8df9 |
- Add MIPS personalities
|
|
|
99c8df9 |
- scm plugin: fix handling of submodules
|
|
|
99c8df9 |
|
|
|
8465514 |
* Fri Mar 11 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.17-1
|
|
|
8465514 |
- call rpmbuild correctly
|
|
|
8465514 |
|
|
|
5b498ad |
* Tue Mar 8 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.16-1
|
|
|
5b498ad |
- remove old %if statements
|
|
|
5b498ad |
- systemd-nspawn is now in systemd-container package
|
|
|
5b498ad |
- become root user correct way [RHBZ#1312820][RHBZ#1311796]
|
|
|
5b498ad |
- remove the sparc config
|
|
|
5b498ad |
- Let logging format messages on demand
|
|
|
5b498ad |
- tell nspawn which variables it should set [RHBZ#1311796]
|
|
|
5b498ad |
- do not call /bin/su and rather utilize --user of systemd-nspawn [RHBZ#1301953]
|
|
|
5b498ad |
|
|
|
78b6aeb |
* Mon Feb 22 2016 Miroslav Suchý <msuchy@redhat.com> - 1.2.15-1
|
|
|
78b6aeb |
- ccache plugin disabled by default
|
|
|
78b6aeb |
- F21 configs removed
|
|
|
78b6aeb |
- F24 configs added
|
|
|
78b6aeb |
- typo fixed [RHBZ#1285630]
|
|
|
78b6aeb |
- read user config from ~/.config/mock.cfg too
|
|
|
78b6aeb |
- disable "local" dnf plugin [RHBZ#1264215]
|
|
|
78b6aeb |
- when removing buildroot, do that as root [RHBZ#1294979]
|
|
|
9dcce51 |
|
|
|
b6c7481 |
* Fri Nov 20 2015 Miroslav Suchý <msuchy@redhat.com> - 1.2.14-1
|
|
|
b6c7481 |
- after unpacking chroot, change back to $CWD [RHBZ#1281369]
|
|
|
b6c7481 |
- Fix package manager version handling for CentOS
|
|
|
b6c7481 |
- use --setopt=deltarpm=false as default value for dnf_common_opts [RHBZ#1281355]
|
|
|
b6c7481 |
- add arguments, do not over ride previous ones
|
|
|
8465514 |
- Add %%(resultdir) placeholder for sign plugin. [RHBZ#1272123]
|
|
|
b6c7481 |
- decode shell output when running under Python3 [RHBZ#1267161]
|
|
|
b6c7481 |
- create tmpfs with unlimited inodes [RHBZ#1266453]
|
|
|
b6c7481 |
- typo [RHBZ#1241827]
|
|
|
b6c7481 |
- do not use machinectl --no-legend as it is not el7 compatible [RHBZ#1241827]
|
|
|
b6c7481 |
- directly tell yum which yum.conf he should use [RHBZ#1264462]
|
|
|
d2acf13 |
|
|
|
16328cd |
* Wed Sep 16 2015 Miroslav Suchý <msuchy@redhat.com> - 1.2.13-1
|
|
|
16328cd |
- Use 'machinectl terminate' inside orphanskill() when systemd-nspawn used [RHBZ#1171737]
|
|
|
16328cd |
- use quite systemd-nspawn in quite mode [RHBZ#1262889]
|
|
|
16328cd |
- when calling systemd-nspawn become root first [RHBZ#1241827]
|
|
|
16328cd |
- revert F23 configs back to yum
|
|
|
16328cd |
- Give user hint what to do if he miss scm plugin.
|
|
|
16328cd |
- when cleaning up /dev/ do not fail on mountpoins
|
|
|
16328cd |
- warn (but not fail) on RHELs when you try to use DNF
|
|
|
16328cd |
- migrate package_state to use dnf when package_manager is set to dnf
|
|
|
16328cd |
- redownload metadata if they changed on server [RHBZ#1230508]
|
|
|
16328cd |
- provide --scrub=dnf-cache as alias for yum-cache [RHBZ#1241296]
|
|
|
16328cd |
- copy files to correct location [RHBZ#1252088]
|
|
|
16328cd |
- do not install weak deps in chroot [RHBZ#1254634]
|
|
|
16328cd |
- Try to set PTY window size [RHBZ#1155199]
|
|
|
16328cd |
- Set default LVM pool name [RHBZ#1163008]
|
|
|
16328cd |
- better parsing of content-disposition header [RHBZ#1248344]
|
|
|
16328cd |
- backend: Ensure output files are owned by unpriv user with nspawn
|
|
|
16328cd |
- Add "rpmbuild_networking" key (False by default) for nspawn backend
|
|
|
16328cd |
- fdfd464 Update Fedora Wiki URLs
|
|
|
16328cd |
- use yum-deprecated as the yum_command if it exists
|
|
|
16328cd |
|
|
|
5e91867 |
* Tue Jul 14 2015 clark Williams <williams@redhat.com> - 1.2.12-1
|
|
|
5e91867 |
- from Dennis Gilmore <dennis@ausil.us>:
|
|
|
5e91867 |
- setup support so loopback devices can work [RHBZ#1245401]
|
|
|
5e91867 |
- from Miroslav Suchý <msuchy@redhat.com>:
|
|
|
5e91867 |
- clarify path [RHBZ#1228751]
|
|
|
5e91867 |
- document target_arch and legal_host_arches in site-defaults.cfg [RHBZ#1228751]
|
|
|
5e91867 |
- document "yum.conf" in site-defaults.cfg [RHBZ#1228751]
|
|
|
5e91867 |
- correctly specify requires of yum [RHBZ#1244475]
|
|
|
5e91867 |
- bump up releasever in rawhide targets
|
|
|
5e91867 |
- remove EOLed gpg keys
|
|
|
5e91867 |
- add f23 configs
|
|
|
5e91867 |
- removing EOLed f19 and f20 configs
|
|
|
5e91867 |
|
|
|
9a6484d |
* Tue Jul 14 2015 clark Williams <williams@redhat.com> - 1.2.11-1
|
|
|
9a6484d |
- dropped code that does stray mount cleanup of chroot [RHBZ#1208092]
|
|
|
9a6484d |
- modified package_manager resolvedep cmd to use repoquery when dnf is installed
|