kanarip / rpms / mock

Forked from rpms/mock 5 years ago
Clone
Jeroen van Meeuwen (Kolab Systems) c09abab
%bcond_without tests
Jeroen van Meeuwen (Kolab Systems) c09abab
Jeroen van Meeuwen (Kolab Systems) c09abab
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} >= 8
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
681c0cb
%global python_sitelib %{python2_sitelib}
af65557
%endif
af65557
Seth Vidal 32b2475
Summary: Builds packages inside chroots
Seth Vidal 32b2475
Name: mock
3b61daf
Version: 1.4.14
3b61daf
Release: 1%{?dist}
3ea2d8b
License: GPLv2+
6dc2c2b
# Source is created by
6dc2c2b
# git clone https://github.com/rpm-software-management/mock.git
6dc2c2b
# cd mock
6dc2c2b
# git reset --hard %{name}-%{version}
6dc2c2b
# tito build --tgz
6dc2c2b
Source: %{name}-%{version}.tar.gz
Miroslav Suchý dbf838d
URL: https://github.com/rpm-software-management/mock/
2770ef6
BuildArch: noarch
c81e926
Requires: tar
c81e926
Requires: pigz
f212e7b
%if 0%{?mageia}
f212e7b
Requires: usermode-consoleonly
f212e7b
%else
c81e926
Requires: usermode
f212e7b
%endif
c280da3
Requires: createrepo_c
f212e7b
Requires: mock-core-configs >= 27.4
36e0617
%if 0%{?use_python2}
c280da3
Requires: pyliblzma
36e0617
%endif
c81e926
Requires: systemd
6dc2c2b
%if 0%{?fedora}
699daea
Requires: systemd-container
699daea
%endif
2fb669f
Requires: coreutils
fde9dbf
%if 0%{?fedora}
fde9dbf
Suggests: iproute
fde9dbf
%endif
f212e7b
%if 0%{?mageia}
f212e7b
Suggests: iproute2
f212e7b
%endif
6219f59
BuildRequires: bash-completion
af65557
%if %{use_python3}
af65557
Requires: python3
6daa597
Requires: python3-distro
3b61daf
Requires: python3-jinja2
Miroslav Suchý dbf838d
Requires: python3-six >= 1.4.0
af65557
Requires: python3-requests
f212e7b
Requires: python3-rpm
f212e7b
Requires: python3-pyroute2
af65557
BuildRequires: python3-devel
Jeroen van Meeuwen (Kolab Systems) c09abab
%if %{with tests}
Miroslav Suchý dbf838d
BuildRequires: python3-pylint
Jeroen van Meeuwen (Kolab Systems) c09abab
%endif
af65557
%else
af65557
Requires: python-ctypes
6daa597
Requires: python2-distro
3b61daf
Requires: python2-jinja2
Miroslav Suchý dbf838d
Requires: python-six >= 1.4.0
af65557
Requires: python-requests
f212e7b
Requires: python2-pyroute2
d94eb2a
Requires: python >= 2.7
d579f5f
Requires: rpm-python
af65557
%endif
32df0b6
BuildRequires: python2-devel
Jeroen van Meeuwen (Kolab Systems) c09abab
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} >= 8
92391a3
Requires: dnf
92391a3
Suggests: yum
92391a3
Requires: dnf-plugins-core
0668632
Recommends: btrfs-progs
3b61daf
Recommends: dnf-utils
0253fbf
Suggests: qemu-user-static
Jeroen van Meeuwen (Kolab Systems) c09abab
%else
6dc2c2b
%if 0%{?rhel} == 7
0668632
Requires: btrfs-progs
92391a3
Requires: yum >= 2.4
92391a3
Requires: yum-utils
0668632
%endif
Jeroen van Meeuwen (Kolab Systems) c09abab
%endif
Jeroen van Meeuwen (Kolab Systems) c09abab
Jeroen van Meeuwen (Kolab Systems) c09abab
%if 0%{?fedora} || 0%{?rhel} >= 8
a3e5828
BuildRequires: perl-interpreter
a3e5828
%else
d94eb2a
BuildRequires: perl
a3e5828
%endif
28637b3
# hwinfo plugin
28637b3
Requires: util-linux
28637b3
Requires: coreutils
28637b3
Requires: procps-ng
28637b3
28637b3
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}
c704486
%if 0%{?rhel} && 0%{?rhel} < 8
c81e926
Requires: cvs
c81e926
Requires: git
c81e926
Requires: subversion
c81e926
Requires: tar
c704486
%else
c704486
Recommends: cvs
c704486
Recommends: git
c704486
Recommends: subversion
c704486
Recommends: tar
c704486
%endif
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
3704e28
%if %{use_python2}
af65557
for file in py/mock.py py/mockchain.py; do
3704e28
  sed -i 1"s|#!/usr/bin/python3 |#!/usr/bin/python |" $file
af65557
done
af65557
%endif
e087a33
Seth Vidal 32b2475
%build
Miroslav Suchý dbf838d
for i in py/mock.py py/mockchain.py; do
Miroslav Suchý dbf838d
    perl -p -i -e 's|^__VERSION__\s*=.*|__VERSION__="%{version}"|' $i
Miroslav Suchý dbf838d
    perl -p -i -e 's|^SYSCONFDIR\s*=.*|SYSCONFDIR="%{_sysconfdir}"|' $i
Miroslav Suchý dbf838d
    perl -p -i -e 's|^PYTHONDIR\s*=.*|PYTHONDIR="%{python_sitelib}"|' $i
Miroslav Suchý dbf838d
    perl -p -i -e 's|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR="%{python_sitelib}/mockbuild"|' $i
Miroslav Suchý dbf838d
done
Miroslav Suchý dbf838d
for i in docs/mockchain.1 docs/mock.1; do
0253fbf
    perl -p -i -e 's|\@VERSION\@|%{version}"|' $i
Miroslav Suchý dbf838d
done
Seth Vidal 32b2475
Seth Vidal 32b2475
%install
Miroslav Suchý dbf838d
install -d %{buildroot}%{_bindir}
Miroslav Suchý dbf838d
install -d %{buildroot}%{_libexecdir}/mock
Miroslav Suchý dbf838d
install py/mockchain.py %{buildroot}%{_bindir}/mockchain
Miroslav Suchý dbf838d
install py/mock.py %{buildroot}%{_libexecdir}/mock/mock
Miroslav Suchý dbf838d
ln -s consolehelper %{buildroot}%{_bindir}/mock
2fb669f
install create_default_route_in_container.sh %{buildroot}%{_libexecdir}/mock/
2fb669f
 
Miroslav Suchý dbf838d
install -d %{buildroot}%{_sysconfdir}/pam.d
Miroslav Suchý dbf838d
cp -a etc/pam/* %{buildroot}%{_sysconfdir}/pam.d/
a658f51
Miroslav Suchý dbf838d
install -d %{buildroot}%{_sysconfdir}/mock
Miroslav Suchý dbf838d
cp -a etc/mock/* %{buildroot}%{_sysconfdir}/mock/
Miroslav Suchý dbf838d
Miroslav Suchý dbf838d
install -d %{buildroot}%{_sysconfdir}/security/console.apps/
Miroslav Suchý dbf838d
cp -a etc/consolehelper/mock %{buildroot}%{_sysconfdir}/security/console.apps/%{name}
Miroslav Suchý dbf838d
Miroslav Suchý dbf838d
install -d %{buildroot}%{_datadir}/bash-completion/completions/
Miroslav Suchý dbf838d
cp -a etc/bash_completion.d/* %{buildroot}%{_datadir}/bash-completion/completions/
Miroslav Suchý dbf838d
ln -s mock %{buildroot}%{_datadir}/bash-completion/completions/mockchain
Miroslav Suchý dbf838d
Miroslav Suchý dbf838d
install -d %{buildroot}%{_sysconfdir}/pki/mock
Miroslav Suchý dbf838d
cp -a etc/pki/* %{buildroot}%{_sysconfdir}/pki/mock/
Miroslav Suchý dbf838d
Miroslav Suchý dbf838d
install -d %{buildroot}%{python_sitelib}/
Miroslav Suchý dbf838d
cp -a py/mockbuild %{buildroot}%{python_sitelib}/
5561ec2
Miroslav Suchý dbf838d
install -d %{buildroot}%{_mandir}/man1
Miroslav Suchý dbf838d
cp -a docs/mockchain.1 docs/mock.1 %{buildroot}%{_mandir}/man1/
Miroslav Suchý dbf838d
Miroslav Suchý dbf838d
install -d %{buildroot}/var/lib/mock
Miroslav Suchý dbf838d
install -d %{buildroot}/var/cache/mock
Miroslav Suchý dbf838d
Miroslav Suchý dbf838d
%check
Jeroen van Meeuwen (Kolab Systems) c09abab
%if %{with tests}
Miroslav Suchý dbf838d
# ignore the errors for now, just print them and hopefully somebody will fix it one day
6dc2c2b
pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
Jeroen van Meeuwen (Kolab Systems) c09abab
%endif
Miroslav Suchý dbf838d
2fb669f
%files
2fb669f
%defattr(0644, root, mock)
2fb669f
%config(noreplace) %{_sysconfdir}/mock/site-defaults.cfg
2fb669f
%{_datadir}/bash-completion/completions/mock
2fb669f
%{_datadir}/bash-completion/completions/mockchain
2fb669f
Seth Vidal 32b2475
%defattr(-, root, root)
49927b8
49927b8
# executables
49927b8
%{_bindir}/mock
cd46534
%{_bindir}/mockchain
Miroslav Suchý dbf838d
%{_libexecdir}/mock
293fded
293fded
# python stuff
681c0cb
%{python_sitelib}/*
fbf2e29
%exclude %{python_sitelib}/mockbuild/scm.*
c81e926
%exclude %{python_sitelib}/mockbuild/plugins/lvm_root.*
293fded
293fded
# config files
293fded
%config(noreplace) %{_sysconfdir}/%{name}/*.ini
49927b8
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
49927b8
%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
293fded
6dc2c2b
# directory for personal 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
681c0cb
%{python_sitelib}/mockbuild/scm.py*
28637b3
%if %{use_python3}
28637b3
%{python3_sitelib}/mockbuild/__pycache__/scm.*.py*
28637b3
%endif
dcfea83
c81e926
%files lvm
681c0cb
%{python_sitelib}/mockbuild/plugins/lvm_root.*
28637b3
%if %{use_python3}
28637b3
%{python3_sitelib}/mockbuild/plugins/__pycache__/lvm_root.*.py*
28637b3
%endif
94ee71d
c81e926
%changelog
3b61daf
* Tue Feb 19 2019 Miroslav Suchý <msuchy@redhat.com> 1.4.14-1
3b61daf
- config['decompress_program'] default (praiskup@redhat.com)
3b61daf
- add example for jinja templates
3b61daf
- implement templated configs using jinja2
3b61daf
- move live defaults from site-defaults.cfg to utils.py
3b61daf
- introduce "decompress_program" option for root_cache for bsdtar
3b61daf
- fix exclude patter for bsdtar
3b61daf
- delete old changelog entries
3b61daf
- use f29 for tests
3b61daf
- update the default in sitec-defaults.cfg
3b61daf
- Recommend dnf-utils (fzatlouk@redhat.com)
3b61daf
- ignore useless-object-inheritance pylint warning
3b61daf
- add scientific linux on list of rhel clones [GH#228]
3b61daf
- Use 32-bit personality for armv7*/armv8* builds (bero@lindev.ch)
3b61daf
- create custom error message for dnf-utils not being installed
3b61daf
  (pjunak)
bb6a53e
681c0cb
* Mon Aug 13 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.13-1
681c0cb
- fix python_sitelib macro
681c0cb
681c0cb
* Mon Aug 13 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.12-1
681c0cb
- Don't try to use a spec we've already cleaned up (otaylor@fishsoup.net)
681c0cb
- only set print_main_output when not set in configs
681c0cb
  (chuck.wilson+github@gmail.com)
681c0cb
- Try to get the proxy from environment (brunovern.a@gmail.com)
681c0cb
- stop after first failure if -c or --recurse is not used
681c0cb
- fallback to C.UTF-8 locale (tomek@pipebreaker.pl)
681c0cb
- completion: improve --copy(in|out), --cwd, --macro-file, --rootdir, and
681c0cb
  --sources (tmz@pobox.com)
681c0cb
- do not get spec from command line when using scm [GH#203]
681c0cb
- enable cap_ipc_lock in nspawn container [RHBZ#1580435]
681c0cb
- use host's resolv.conf when --enable-network is set on cml [RHBZ#1593212]
681c0cb
  (jskarvad@redhat.com)
681c0cb
- add --forcearch to bash_completion
a71c9e2
0253fbf
* Tue Jun 12 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.11-1
0253fbf
- fix @VERSION@ processing in man pages (ktdreyer@ktdreyer.com)
0253fbf
- update testing.src.rpm to recent standard
0253fbf
- Allow --spec arg to be used with rebuild option (sfowler@redhat.com)
0253fbf
- Disable use_host_resolv by default (tmz@pobox.com)
0253fbf
- Add support for microdnf [GH#76] (zdenekirsax@gmail.com)
0253fbf
- skip running groupadd if gid is 0 (nhorman@tuxdriver.com)
0253fbf
- Allow overriding of mock chroot build user name (nhorman@tuxdriver.com)
0253fbf
- do not populate /etc/resolv.conf when networking is disabled (RHBZ#1514028)
0253fbf
  (tmz@pobox.com)
0253fbf
- add version to EL check in _prepare_nspawn_command() (tmz@pobox.com)
0253fbf
- pass force-arch to builddep and resolvedep [GH#120]
0253fbf
- Support setting up foreign architecture chroots
0253fbf
- add support for bsdtar
0253fbf
- use fedora 28 for tests
0253fbf
3704e28
* Thu May 10 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.10-1
3704e28
- remove executable bit from trace_decorator.py
3704e28
- Change sign plugint to sign only builded rpm and not every file in results
3704e28
  [RHBZ#1217495] (necas.marty@gmail.com)
3704e28
- overlayfs plugin: added explicit mount support (zzambers@redhat.com)
3704e28
- encode content before writing [RHBZ#1564035]
3704e28
- allow to bind_mount just one file (necas.marty@gmail.com)
3704e28
- added overlayfs plugin (zzambers@redhat.com)
3704e28
- invoke chroot scan for 'initfailed' event (clime7@gmail.com)
3704e28
- add support for .spec in --installdeps (necas.marty@gmail.com)
3704e28
- revert workaround introduced in 057c51d6 [RHBZ#1544801]
3704e28
- comment out macro in changelog (msuchy@redhat.com)
3704e28
7753876
* Mon Feb 12 2018 Miroslav Suchý <msuchy@redhat.com> 1.4.9-1
7753876
- "setup_cmd" of bootstrap container is the actuall $pm_install_command from
7753876
  the main container [RHBZ#1540813]
7753876
- do not produce warning when we are using different PM for bootstrap container
7753876
- Honor the "cwd" flag when nspawn is being used and "chrootPath" is not set
7753876
  (matthew.prahl@outlook.com)
7753876
- do not run ccache in bootstrap chroot [RHBZ#1540813]
7753876
- use DNF on EL7 when bootstrap is used [RHBZ#1540813]
7753876
- site-defaults: fix quoting in sign_opts example [RHBZ#1537797]
7753876
  (tmz@pobox.com)
7753876
- Detect if essential mounts are already mounted (msimacek@redhat.com)
32df0b6
- Update Python 2 dependency declarations to new packaging standards
7753876
- improvement code/docs for opstimeout (Mikhail_Campos-Guadamuz@epam.com)
7753876
- simplifying of utils.do() (Mikhail_Campos-Guadamuz@epam.com)
7753876
- New config option 'opstimeout' has been added. (Mikhail_Campos-
7753876
  Guadamuz@epam.com)
7753876
- Don't setup user mounts in the bootstrap buildroot (bkorren@redhat.com)
7753876
- el5 is sensitive to order of params
7753876
- Default for config_opts['dnf_warning'] according to docs
7753876
  (praiskup@redhat.com)
7753876
- Avoid manual interpolation in logging of BUILDSTDERR (Mikhail_Campos-
7753876
  Guadamuz@epam.com)
7753876
- Splitting stdout and stderr in build.log. All stderr output lines are
7753876
  prefixed by 'BUILDSTDERR:' (Mikhail_Campos-Guadamuz@epam.com)
32df0b6
c704486
* Fri Dec 22 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.8-1
c704486
- orphanskill: send SIGKILL when SIGTERM is not enough [RHBZ#1495214]
c704486
- pass --non-unique to usermod because of old targets
c704486
- remove _selinuxYumIsSetoptSupported()
c704486
- only use -R if first umount failed
c704486
- use recursive unmount for tmpfs
c704486
- do not cd to dir if nspawn is used [GH#108]
c704486
- add new option --config-opts [GH#138]
c704486
- add --enable-network to bash_completation
c704486
- Strip trailing / from mountpath in ismounted()
c704486
- new cli option --enable-network [RHBZ#1513953]
c704486
- when creating yum/dnf.conf copy timestamp from host [RHBZ#1293910]
c704486
- do not populate /etc/resolv.conf when networking is disabled [RHBZ#1514028]
c704486
- soften mock-scm dependencies [RHBZ#1515989]
c704486
- mount /proc and /sys before executing any PM command [RHBZ#1467299]
c704486
70a8eb8
* Tue Oct 31 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.7-1
70a8eb8
- user and group is actually not used here since some logic moved to buildroot.py
70a8eb8
- add config_opts['chrootgroup'] to site-defaults.cfg
70a8eb8
- Enable chrootgroup as a config file option
70a8eb8
- override some keys for bootstrap config
70a8eb8
- Add support for DeskOS
70a8eb8
- Delete rootdir as well when calling clean
70a8eb8
- Fix mock & mock-core-config specs to support Mageia
70a8eb8
- Ensure mock-core-configs will select the right default on Mageia
70a8eb8
- ccache: use different bind mount directory
70a8eb8
- new-chroot: set up new network namespace and add default route in it
70a8eb8
- use primary key for F-27+ on s390x
70a8eb8
- man: add dnf to see also
70a8eb8
- man: escape @
70a8eb8
- remove Seth email
70a8eb8
- more grammar fixes
70a8eb8
- fix typo in mock(1)
70a8eb8
- sort debug-config output
70a8eb8
fde9dbf
* Fri Sep 15 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.6-1
fde9dbf
- requires mock-core-configs
fde9dbf
2fb669f
* Fri Sep 15 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.5-1
2fb669f
- introduce -N for --no-cleanup-after (jsynacek@redhat.com)
2fb669f
- add man page entry for --debug-config
2fb669f
- Added option --debug-config (matejkudera1@seznam.cz)
2fb669f
- site-defaults: Fix comment about nspawn/chroot default (ville.skytta@iki.fi)
2fb669f
- move chroot configs to mock-core-configs directory
2fb669f
- pass --private-network to every container spawning if specified
2fb669f
- add script to create default route in container to localhost
2fb669f
- [site-defaults] Fix umount_root documentation
2fb669f
- Fix keeping the LVM volume mounted
2fb669f
- suggest dnf-utils
2fb669f
- Always create /dev/loop nodes
2fb669f
a3e5828
* Tue Aug 22 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.4-1
a3e5828
- Rename group inside of chroot from mockbuild to mock
a3e5828
- add F27 configs
a3e5828
- populate /etc/dnf/dnf.conf even when using yum PM
a3e5828
- create /etc/dnf directory
a3e5828
- correct path is /etc/dnf/dnf.conf instead of /etc/dnf.conf
a3e5828
- perl dependency renamed to perl-interpreter
a3e5828
  <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
a3e5828
d94eb2a
* Mon Aug 07 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.3-1
d94eb2a
- selinux: do not try to import yum when PM is dnf [RHBZ#1474513]
d94eb2a
- create /dev nodes even when using nspawn [RHBZ#1467299]
d94eb2a
- scm: define _sourcedir to checkout directory
d94eb2a
  (ignatenkobrain@fedoraproject.org)
d94eb2a
- mageia-cauldron: Change releasever to 7 (ngompa13@gmail.com)
d94eb2a
- enhance detection of RHEL [RHBZ#1470189]
d94eb2a
- Add detection of OL (Oracle Linux) distribution
d94eb2a
  (pixdrift@users.noreply.github.com)
d94eb2a
- Make LVM sleep time configurable (mizdebsk@redhat.com)
d94eb2a
- on fedoras use python3 to detect correct arch in %%post [RHBZ#1462310]
d94eb2a
- backend.py: quote check_opt (jlebon@redhat.com)
d94eb2a
- Grammar fixes (ville.skytta@iki.fi)
d94eb2a
- Docstring spelling fix (ville.skytta@iki.fi)
d94eb2a
- Document python >= 2.7 requirement (ville.skytta@iki.fi)
d94eb2a
- Remove obsolete internal_setarch config option (ville.skytta@iki.fi)
1a568b8
92391a3
* Sat Jun 10 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.2-1
92391a3
- define PermissionError for python2
92391a3
- make /etc/yum.conf symlink to /etc/yum/yum.conf
92391a3
- Do not use systemd-nspawn for EL6 chroots [RHBZ#1456421]
92391a3
- umount all internal mounts before umounting lvm
92391a3
- umountall try to umount several times in case there are deps between mounts
92391a3
- unify behaviour of umount
92391a3
- display which state start/stop, if normal or bootstrap
92391a3
- do not umount LVM volumes if umount_root is set to true [RHBZ#1447658]
92391a3
- use LC_ALL=C.UTF-8 rather than plain C
92391a3
- add modularity options to custom chroots config
92391a3
- initial support for modularity
92391a3
- add boostrap options to bash completation
92391a3
- set --no-bootstrap-chroot as default for now
92391a3
- Use bash --login with systemd-nspawn as well (rhbz #1450516)
92391a3
  (orion@cora.nwra.com)
92391a3
- docs: add note for subscription-manager.conf (#55)
92391a3
  (gitDeveloper@bitthinker.com)
92391a3
- Pass canonical spelling False, not false to mock's setopt=deltarpm
92391a3
  (ville.skytta@iki.fi)
92391a3
- make it easier to detect if buildroot is bootstrap or not
92391a3
- document other lvm options in site-defaults.cfg
92391a3
- do not call yum-deprecated from bootstrap chroot [RHBZ#1446294]
92391a3
- do not use bootstrap for custom chroots [RHBZ#1448321]
92391a3
- hard require dnf-plugins-core on Fedora
92391a3
- we do not BuildRequire autoconf and automake any more
92391a3
- do not require yum and yum-utils in Fedora
92391a3
- Fix calls of yum-builddep and repoquery, and use 'dnf repoquery' for dnf
92391a3
  (ngompa13@gmail.com)
92391a3
- call plugins of bootstrap when it has sense
92391a3
- call scrub hook for bootstrap chroot too [RHBZ#1446297]
92391a3
6dc2c2b
* Wed Apr 26 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.1-1
6dc2c2b
- remove leading space [RHBZ#1442005]
6dc2c2b
- copy nosync libraries to /var/tmp
6dc2c2b
- use tmpdir same as in in bootstrap chroot (Issue#59)
6dc2c2b
- do not ship distribution gpg keys
6dc2c2b
- pylint has been renamed
6dc2c2b
- Fix "init_install_output" error (marc.c.dionne@gmail.com)
6dc2c2b
- Epel5 has been EOLed (Issue#66) 
6dc2c2b
- hw_info: Protect log output against non-ASCII, closes #68
6dc2c2b
  (ville.skytta@iki.fi)
6dc2c2b
- secondary arch config cleanups (dennis@ausil.us)
6dc2c2b
- Point more links to github (ville.skytta@iki.fi)
6dc2c2b
- ignore exit codes from machinectl 
6dc2c2b
- create bind mount paths just before mounting (#57) 
6dc2c2b
- always print output of error in exception 
6dc2c2b
- fix syntax in docs-examples (gitDeveloper@bitthinker.com)
6dc2c2b
- do not refer to fedorahosted.org in Source0 
6dc2c2b
- Missed an instance of outer_buildroot (michael@cullen-online.com)
6dc2c2b
- Fixed up more PR comments, mostly being more consistent with naming
6dc2c2b
  (michael@cullen-online.com)
6dc2c2b
- Fixed pylint errors introduced by previous commit and other review comments
6dc2c2b
  (michael@cullen-online.com)
6dc2c2b
- Added command line options for overriding default bootstrap setting
6dc2c2b
  (michael@cullen-online.com)
6dc2c2b
- Bootstrap package manager using outer chroot (michael@cullen-online.com)
6dc2c2b
- Add %%distro_section macro to Mageia targets (ngompa13@gmail.com)
6dc2c2b
- test: ask for sudo password, so later we do not need to wait for password
6dc2c2b
- we cannot use /tmp for testing as that is automatically mounted as tmpfs by
6dc2c2b
  systemd-nspawn 
6dc2c2b
- add /dev/prandom device to chroot (#33) 
6dc2c2b
- add /dev/hwrng device to chroot (#33) 
6dc2c2b
- enable package_state plugin by default again [RHBZ#1277187]
6dc2c2b
  (gitDeveloper@bitthinker.com)
6dc2c2b
- Use python errno module instead of hardcoding errno values.
6dc2c2b
  (marcus.sundberg@aptilo.com)
6dc2c2b
- UidManager.changeOwner: Use _tolerant_chown for top level as well
6dc2c2b
  (marcus.sundberg@aptilo.com)
6dc2c2b
- Buildroot: Ensure homedir and build dirs always have correct owner
6dc2c2b
  (marcus.sundberg@aptilo.com)
6dc2c2b
- UidManager: Use os.lchown instead of os.chown
6dc2c2b
  (marcus.sundberg@aptilo.com)
6dc2c2b
- Buildroot._init: Ensure chrootuser always has correct UID
6dc2c2b
  (marcus.sundberg@aptilo.com)
6dc2c2b
- Buildroot._init: Ensure homedir is owned by correct user.
6dc2c2b
  (marcus.sundberg@aptilo.com)
6dc2c2b
- change_home_dir: Actually set ownership of homedir
6dc2c2b
  (marcus.sundberg@aptilo.com)
6dc2c2b
- fix permissions in chroot_scan's result dir, so user can delete it
6dc2c2b
  (gitDeveloper@bitthinker.com)
6dc2c2b
- spec: simplify condition 
6dc2c2b
- remove el6 references from spec file 
6dc2c2b
- use systemd-nspawn by default
6dc2c2b
28637b3
* Mon Feb 27 2017 Miroslav Suchý <msuchy@redhat.com> 1.3.4-1
28637b3
- add support for dist-git to scm plugin (clime@redhat.com)
28637b3
- preserve mode of files when doing chroot_scan [RHBZ#1297430]
28637b3
  (msuchy@redhat.com)
28637b3
- spec: add to package pycache for subpackages (msuchy@redhat.com)
28637b3
- restore permissions on chroot_scan dir (drop to unprivUid, unprivGid)
28637b3
  (gitDeveloper@bitthinker.com)
28637b3
- add fedora 26 configs (msuchy@redhat.com)
28637b3
- config: add best=1 also into rawhide configs (praiskup@redhat.com)
28637b3
- rename package_state's log to have .log suffix (gitDeveloper@bitthinker.com)
28637b3
- systemd-nspawn: run as PID2 #36 (msuchy@redhat.com)
28637b3
- fix defaults for yum_builddep_opts (gitDeveloper@bitthinker.com)
28637b3
- Support nspawn_args (walters@verbum.org)
28637b3
- return exit code 2 when /usr/libexec/mock/mock run directly without
28637b3
  consolehelper (msuchy@redhat.com)
28637b3
- change path of /usr/sbin/mock in error message (msuchy@redhat.com)
28637b3
- Fix debuginfo repo naming (msimacek@redhat.com)
28637b3
- more examples of PS1 [RHBZ#1183733] (msuchy@redhat.com)
28637b3
- simplify PROMPT_COMMAND string (msuchy@redhat.com)
28637b3
- "Rawhide" has been changed to "rawhide" in os-release file in current rawhide
28637b3
  (F26) [RHBZ#1409735] (msuchy@redhat.com)
28637b3
- Update local repo URLs for rawhide (mizdebsk@redhat.com)
28637b3
- Switch kojipkgs URLs to https (mizdebsk@redhat.com)
28637b3
- run pylint on plugins too (msuchy@redhat.com)
28637b3
- introduce hw_info plugin (msuchy@redhat.com)
28637b3
- remove fedora-23 configs (msuchy@redhat.com)
2b4f7e3
6daa597
* Sun Jan 01 2017 Miroslav Suchý <msuchy@redhat.com> 1.3.3-1
6daa597
- use F25 for tests
6daa597
- handle cwd directories with spaces [RHBZ#1389663]
6daa597
- add config option `hostname` to set hostname
6daa597
  (constantine.peresypk@rackspace.com)
6daa597
- use DNF on RHEL, when it is installed and configured [RHBZ#1405783]
6daa597
- use best=1 for DNF
6daa597
- error is not iterable [RHBZ#1387895]
6daa597
- use best=true for dnf.conf for repos passed to mockchain using -a
6daa597
- add epel-7-aarch64 config
6daa597
- better naming for tmp directories
6daa597
- Remove tmpdirs regardless of buildroot existence (msimacek@redhat.com)
6daa597
- clarify examples of using more_buildreqs feature
6daa597
  (gitDeveloper@bitthinker.com)
6daa597
- fix more_buildreqs case: correctly compare if req is basestring
6daa597
  (gitDeveloper@bitthinker.com)
6daa597
- fix formating a bit (gitDeveloper@bitthinker.com)
6daa597
- add missing step in 'getting & compiling' part (gitDeveloper@bitthinker.com)
6daa597
- Add bash completion for .cfg files outside /etc/mock (#20)
6daa597
  (github@kayari.org)
6daa597
- man: example how to use --plugin-option
6daa597
- require most recent distribution-gpg-keys to get F25 keys
6daa597
- man: state that shell does not produce logs
6daa597
- Delay mounting of user-defined mountpoints (rhbz#1386544)
6daa597
  (msimacek@redhat.com)
6daa597
- man: clarify chroot cleanups