From 580558b3db59f1525b586633e5a217c215bd8ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 14 Sep 2017 16:05:43 +0200 Subject: [PATCH 01/16] Update mock-core-configs to 27.2-1 --- .gitignore | 1 + README.md | 3 -- mock-core-configs.spec | 115 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 117 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 mock-core-configs.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d422d04 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/mock-core-configs-27.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index fbca91e..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# mock-core-configs - -The mock-core-configs package \ No newline at end of file diff --git a/mock-core-configs.spec b/mock-core-configs.spec new file mode 100644 index 0000000..c53ae35 --- /dev/null +++ b/mock-core-configs.spec @@ -0,0 +1,115 @@ +# mock group id allocate for Fedora +%global mockgid 135 + +Name: mock-core-configs +Version: 27.2 +Release: 1%{?dist} +Summary: Mock core config files basic chroots + +License: GPLv2+ +URL: https://github.com/rpm-software-management/mock/ +# Source is created by +# git clone https://github.com/rpm-software-management/mock.git +# cd mock/mock-core-configs +# git reset --hard %{name}-%{version} +# tito build --tgz +Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz +BuildArch: noarch +Requires(pre): shadow-utils +Requires(post): coreutils +%if 0%{?fedora} +# to detect correct default.cfg +Requires(post): python3-dnf +Requires(post): python3-hawkey +Requires(post): system-release +Requires(post): python3 +%endif +%if 0%{?rhel} +# to detect correct default.cfg +Requires(post): python +Requires(post): yum +Requires(post): /etc/os-release +%endif + +%description +Config files which allow you to create chroots for: + * Fedora + * Epel + * Mageia + * Custom chroot + +%prep +%setup -q + + +%build +# nothing to do here + + +%install +mkdir -p %{buildroot}%{_sysconfdir}/mock +install -pm 0644 etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock + +# generate files section with config - there is many of them +echo "%defattr(0644, root, mock)" > %{name}.cfgs +find %{buildroot}%{_sysconfdir}/mock -name "*.cfg" \ + | sed -e "s|^%{buildroot}|%%config(noreplace) |" >> %{name}.cfgs +# just for %%ghosting purposes +ln -s fedora-rawhide-x86_64.cfg %{buildroot}%{_sysconfdir}/mock/default.cfg +# bash-completion +if [ -d %{buildroot}%{_datadir}/bash-completion ]; then + echo %{_datadir}/bash-completion/completions/mock >> %{name}.cfgs + echo %{_datadir}/bash-completion/completions/mockchain >> %{name}.cfgs +elif [ -d %{buildroot}%{_sysconfdir}/bash_completion.d ]; then + echo %{_sysconfdir}/bash_completion.d/mock >> %{name}.cfgs +fi + +%pre +# check for existence of mock group, create it if not found +getent group mock > /dev/null || groupadd -f -g %mockgid -r mock +exit 0 + +%post +if [ -s /etc/os-release ]; then + # fedora and rhel7 + if grep -Fiq Rawhide /etc/os-release; then + ver=rawhide + else + ver=$(source /etc/os-release && echo $VERSION_ID | cut -d. -f1 | grep -o '[0-9]\+') + fi +else + # something obsure, use buildtime version + ver=%{?rhel}%{?fedora} +fi +%if 0%{?fedora} +mock_arch=$(python3 -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))") +%else +mock_arch=$(python -c "import rpmUtils.arch; baseArch = rpmUtils.arch.getBaseArch(); print baseArch") +%endif +cfg=%{?fedora:fedora}%{?rhel:epel}-$ver-${mock_arch}.cfg +if [ -e %{_sysconfdir}/mock/$cfg ]; then + if [ "$(readlink %{_sysconfdir}/mock/default.cfg)" != "$cfg" ]; then + ln -s $cfg %{_sysconfdir}/mock/default.cfg 2>/dev/null || ln -s -f $cfg %{_sysconfdir}/mock/default.cfg.rpmnew + fi +else + echo "Warning: file %{_sysconfdir}/mock/$cfg does not exists." + echo " unable to update %{_sysconfdir}/mock/default.cfg" +fi +: + + +%files -f %{name}.cfgs +%defattr(-, root, root, -) +%license COPYING +%dir %{_sysconfdir}/mock +%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg + +%changelog +* Tue Sep 12 2017 Miroslav Suchý 27.2-1 +- add source url +- grammar fix + +* Thu Sep 07 2017 Miroslav Suchý 27.1-1 +- Split from Mock package. + + diff --git a/sources b/sources new file mode 100644 index 0000000..2701de4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (mock-core-configs-27.2.tar.gz) = 390faddc0547c18f08b0097b772f116436ca9a09866446f41e093c9b9bb46c6b23b3b121f7fb312d54abb8ab7db84dc4e1ef867dc2c5f102a082dbecdbd91fbf From d2ff6cc9fc1f4a3563f139e5c5969fd038425594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 27 Sep 2017 12:26:44 +0200 Subject: [PATCH 02/16] Update mock-core-configs to 27.3-1 --- .gitignore | 1 + mock-core-configs.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d422d04..6902343 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /mock-core-configs-27.2.tar.gz +/mock-core-configs-27.3.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index c53ae35..84f6145 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 27.2 +Version: 27.3 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -105,6 +105,9 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Wed Sep 27 2017 Miroslav Suchý 27.3-1 +- use primary key for F-27+ on s390x (dan@danny.cz) + * Tue Sep 12 2017 Miroslav Suchý 27.2-1 - add source url - grammar fix diff --git a/sources b/sources index 2701de4..9225d86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-27.2.tar.gz) = 390faddc0547c18f08b0097b772f116436ca9a09866446f41e093c9b9bb46c6b23b3b121f7fb312d54abb8ab7db84dc4e1ef867dc2c5f102a082dbecdbd91fbf +SHA512 (mock-core-configs-27.3.tar.gz) = fe963b7a23baf462ad1bb5d561b97b52cfd6bb9404db5393d5f4b93e4d956a9d7549db2304bf693eaee5c5d08f2cea6064a034b2a90fcb33bb1712c012e4fd66 From 907960b2cab22c46ca6c335c3d370058184dc405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Tue, 31 Oct 2017 21:42:22 +0100 Subject: [PATCH 03/16] Update mock-core-configs to 27.4-1 --- .gitignore | 1 + mock-core-configs.spec | 33 ++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 6902343..7ad3883 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /mock-core-configs-27.2.tar.gz /mock-core-configs-27.3.tar.gz +/mock-core-configs-27.4.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 84f6145..97681ad 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 27.3 +Version: 27.4 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -15,14 +15,19 @@ URL: https://github.com/rpm-software-management/mock/ # tito build --tgz Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz BuildArch: noarch + +# distribution-gpg-keys contains GPG keys used by mock configs +Requires: distribution-gpg-keys >= 1.15 + Requires(pre): shadow-utils Requires(post): coreutils -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?mageia} # to detect correct default.cfg Requires(post): python3-dnf Requires(post): python3-hawkey Requires(post): system-release Requires(post): python3 +Requires(post): sed %endif %if 0%{?rhel} # to detect correct default.cfg @@ -74,25 +79,34 @@ if [ -s /etc/os-release ]; then # fedora and rhel7 if grep -Fiq Rawhide /etc/os-release; then ver=rawhide + # mageia + elif [ -s /etc/mageia-release ]; then + if grep -Fiq Cauldron /etc/mageia-release; then + ver=cauldron + fi else ver=$(source /etc/os-release && echo $VERSION_ID | cut -d. -f1 | grep -o '[0-9]\+') fi else # something obsure, use buildtime version - ver=%{?rhel}%{?fedora} + ver=%{?rhel}%{?fedora}%{?mageia} +fi +%if 0%{?fedora} || 0%{?mageia} +if [ -s /etc/mageia-release ]; then + mock_arch=$(sed -n '/^$/!{$ s/.* \(\w*\)$/\1/p}' /etc/mageia-release) +else + mock_arch=$(python3 -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))") fi -%if 0%{?fedora} -mock_arch=$(python3 -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))") %else mock_arch=$(python -c "import rpmUtils.arch; baseArch = rpmUtils.arch.getBaseArch(); print baseArch") %endif -cfg=%{?fedora:fedora}%{?rhel:epel}-$ver-${mock_arch}.cfg +cfg=%{?fedora:fedora}%{?rhel:epel}%{?mageia:mageia}-$ver-${mock_arch}.cfg if [ -e %{_sysconfdir}/mock/$cfg ]; then if [ "$(readlink %{_sysconfdir}/mock/default.cfg)" != "$cfg" ]; then ln -s $cfg %{_sysconfdir}/mock/default.cfg 2>/dev/null || ln -s -f $cfg %{_sysconfdir}/mock/default.cfg.rpmnew fi else - echo "Warning: file %{_sysconfdir}/mock/$cfg does not exists." + echo "Warning: file %{_sysconfdir}/mock/$cfg does not exist." echo " unable to update %{_sysconfdir}/mock/default.cfg" fi : @@ -105,6 +119,11 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Mon Oct 09 2017 Miroslav Suchý 27.4-1 +- Fix mock & mock-core-config specs to support Mageia (ngompa13@gmail.com) +- Ensure mock-core-configs will select the right default on Mageia + (ngompa13@gmail.com) + * Wed Sep 27 2017 Miroslav Suchý 27.3-1 - use primary key for F-27+ on s390x (dan@danny.cz) diff --git a/sources b/sources index 9225d86..0303af0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-27.3.tar.gz) = fe963b7a23baf462ad1bb5d561b97b52cfd6bb9404db5393d5f4b93e4d956a9d7549db2304bf693eaee5c5d08f2cea6064a034b2a90fcb33bb1712c012e4fd66 +SHA512 (mock-core-configs-27.4.tar.gz) = a48dfc3c64fb8f542d19229ff09555cb4ad886d7fc7c32be0f629ef594e016802ef248913afeb8db284c8e55e391e7200f55022a7041afcc14281422175ccdb0 From 1d9d4b9d90b4286db0dc015da0ac9e2a1407b7fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 22 Jan 2018 16:33:53 +0100 Subject: [PATCH 04/16] Update mock-core-configs to 28.1-1 --- .gitignore | 1 + mock-core-configs.spec | 19 ++++++++++++++----- sources | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 7ad3883..d8afdde 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /mock-core-configs-27.2.tar.gz /mock-core-configs-27.3.tar.gz /mock-core-configs-27.4.tar.gz +/mock-core-configs-28.1.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 97681ad..7a46394 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 27.4 +Version: 28.1 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -21,7 +21,7 @@ Requires: distribution-gpg-keys >= 1.15 Requires(pre): shadow-utils Requires(post): coreutils -%if 0%{?fedora} || 0%{?mageia} +%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7 # to detect correct default.cfg Requires(post): python3-dnf Requires(post): python3-hawkey @@ -29,7 +29,7 @@ Requires(post): system-release Requires(post): python3 Requires(post): sed %endif -%if 0%{?rhel} +%if 0%{?rhel} <= 7 # to detect correct default.cfg Requires(post): python Requires(post): yum @@ -76,7 +76,7 @@ exit 0 %post if [ -s /etc/os-release ]; then - # fedora and rhel7 + # fedora and rhel7+ if grep -Fiq Rawhide /etc/os-release; then ver=rawhide # mageia @@ -91,7 +91,7 @@ else # something obsure, use buildtime version ver=%{?rhel}%{?fedora}%{?mageia} fi -%if 0%{?fedora} || 0%{?mageia} +%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7 if [ -s /etc/mageia-release ]; then mock_arch=$(sed -n '/^$/!{$ s/.* \(\w*\)$/\1/p}' /etc/mageia-release) else @@ -119,6 +119,15 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Mon Jan 22 2018 Miroslav Suchý 28.1-1 +- bump up version to 28.1 + +* Mon Jan 22 2018 Miroslav Suchý 27.5-1 +- add fedora 28 configs +- remove failovermethod=priority for repos which use dnf +- remove fedora 24 configs +- set skip_if_unavailable=False for all repos + * Mon Oct 09 2017 Miroslav Suchý 27.4-1 - Fix mock & mock-core-config specs to support Mageia (ngompa13@gmail.com) - Ensure mock-core-configs will select the right default on Mageia diff --git a/sources b/sources index 0303af0..b5faec5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-27.4.tar.gz) = a48dfc3c64fb8f542d19229ff09555cb4ad886d7fc7c32be0f629ef594e016802ef248913afeb8db284c8e55e391e7200f55022a7041afcc14281422175ccdb0 +SHA512 (mock-core-configs-28.1.tar.gz) = e0ca6dbbf1f789b3aea733aca89be8dc965b1dabe25abf41990a16b08132cfd222b638be310826155fa4e8bdff75feaa5d2e7eda1dbdfcb48ab218a68420ad4e From 59e2d13d33e3faa1a8d310135ee2fc6975b21ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 22 Jan 2018 18:03:42 +0100 Subject: [PATCH 05/16] Update mock-core-configs to 28.2-1 --- .gitignore | 1 + mock-core-configs.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d8afdde..6ab9913 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /mock-core-configs-27.3.tar.gz /mock-core-configs-27.4.tar.gz /mock-core-configs-28.1.tar.gz +/mock-core-configs-28.2.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 7a46394..06cc863 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 28.1 +Version: 28.2 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -29,7 +29,7 @@ Requires(post): system-release Requires(post): python3 Requires(post): sed %endif -%if 0%{?rhel} <= 7 +%if 0%{?rhel} && 0%{?rhel} <= 7 # to detect correct default.cfg Requires(post): python Requires(post): yum @@ -119,6 +119,9 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Mon Jan 22 2018 Miroslav Suchý 28.2-1 +- fix wrong RHEL condition + * Mon Jan 22 2018 Miroslav Suchý 28.1-1 - bump up version to 28.1 diff --git a/sources b/sources index b5faec5..24a8810 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-28.1.tar.gz) = e0ca6dbbf1f789b3aea733aca89be8dc965b1dabe25abf41990a16b08132cfd222b638be310826155fa4e8bdff75feaa5d2e7eda1dbdfcb48ab218a68420ad4e +SHA512 (mock-core-configs-28.2.tar.gz) = 2b86194f3d829db4c4b09fe0f2d552b4d104fab3ff7810d5ff1923b6a77867efc73d55d5d6ada519136d30cd643185cca7f784f1e9b0f009c0a13ea8d019790a From 565dda89e5e5f2608019413ef88ca85ab1654736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 1 Mar 2018 12:50:07 +0100 Subject: [PATCH 06/16] Update mock-core-configs to 28.3-1 --- .gitignore | 1 + mock-core-configs.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6ab9913..318e81c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /mock-core-configs-27.4.tar.gz /mock-core-configs-28.1.tar.gz /mock-core-configs-28.2.tar.gz +/mock-core-configs-28.3.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 06cc863..d31a3a0 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 28.2 +Version: 28.3 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -119,6 +119,11 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Thu Mar 01 2018 Miroslav Suchý 28.3-1 +- bump up releasever in rawhide configs +- add CentOS SCL repositories to EPEL 6 & 7 (x86_64) + (tmz@pobox.com) + * Mon Jan 22 2018 Miroslav Suchý 28.2-1 - fix wrong RHEL condition diff --git a/sources b/sources index 24a8810..3956d92 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-28.2.tar.gz) = 2b86194f3d829db4c4b09fe0f2d552b4d104fab3ff7810d5ff1923b6a77867efc73d55d5d6ada519136d30cd643185cca7f784f1e9b0f009c0a13ea8d019790a +SHA512 (mock-core-configs-28.3.tar.gz) = e1fb421076fab0696b27baf0f67fe87421c8550944ab285c6e2cf86cf147bdc5775f7c741fe1128946e167b3acc4116526c82c83faf3ad059220b71e41ffde04 From 9c36c9dcd6b68f092a41fdfc541c5ef05bdc2d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 2 May 2018 09:16:47 +0200 Subject: [PATCH 07/16] Update mock-core-configs to 28.4-1 --- .gitignore | 1 + mock-core-configs.spec | 15 ++++++++++++--- sources | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 318e81c..065d86e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /mock-core-configs-28.1.tar.gz /mock-core-configs-28.2.tar.gz /mock-core-configs-28.3.tar.gz +/mock-core-configs-28.4.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index d31a3a0..6ffed18 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 28.3 +Version: 28.4 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -17,7 +17,7 @@ Source: https://github.com/rpm-software-management/mock/releases/download/%{nam BuildArch: noarch # distribution-gpg-keys contains GPG keys used by mock configs -Requires: distribution-gpg-keys >= 1.15 +Requires: distribution-gpg-keys >= 1.21 Requires(pre): shadow-utils Requires(post): coreutils @@ -53,7 +53,7 @@ Config files which allow you to create chroots for: %install mkdir -p %{buildroot}%{_sysconfdir}/mock -install -pm 0644 etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock +cp -a etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock # generate files section with config - there is many of them echo "%defattr(0644, root, mock)" > %{name}.cfgs @@ -119,6 +119,15 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Wed May 02 2018 Miroslav Suchý 28.4-1 +- requires distribution-gpg-keys with opensuse keys +- Add initial openSUSE distribution targets (ngompa13@gmail.com) +- provide fedora-29 configs as symlinks to fedora-rawhide +- use cp instead of install to preserve symlinks +- use correct url for local repos for s390x for F27+ [RHBZ#1553678] +- add CentOS SCL repositories to EPEL 7 (aarch64 & ppc64le) + (tmz@pobox.com) + * Thu Mar 01 2018 Miroslav Suchý 28.3-1 - bump up releasever in rawhide configs - add CentOS SCL repositories to EPEL 6 & 7 (x86_64) diff --git a/sources b/sources index 3956d92..80b18a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-28.3.tar.gz) = e1fb421076fab0696b27baf0f67fe87421c8550944ab285c6e2cf86cf147bdc5775f7c741fe1128946e167b3acc4116526c82c83faf3ad059220b71e41ffde04 +SHA512 (mock-core-configs-28.4.tar.gz) = 2980e25ebf2460bb2a72da05f3cffae90fba1aa2250fddd5dc8d0cb0136f02c3200e72932584d4762b3800d4a2d2af1ca7ca77bf7d41f8a25360fd52d8ed4799 From 95ec2c693195c74c3426d74c77584075710a96fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 13 Aug 2018 17:00:13 +0200 Subject: [PATCH 08/16] Update mock-core-configs to 29.1-1 --- .gitignore | 1 + mock-core-configs.spec | 12 +++++++++--- sources | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 065d86e..3039ef3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /mock-core-configs-28.2.tar.gz /mock-core-configs-28.3.tar.gz /mock-core-configs-28.4.tar.gz +/mock-core-configs-29.1.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 6ffed18..c616029 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 28.4 +Version: 29.1 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -17,7 +17,7 @@ Source: https://github.com/rpm-software-management/mock/releases/download/%{nam BuildArch: noarch # distribution-gpg-keys contains GPG keys used by mock configs -Requires: distribution-gpg-keys >= 1.21 +Requires: distribution-gpg-keys >= 1.22 Requires(pre): shadow-utils Requires(post): coreutils @@ -42,6 +42,7 @@ Config files which allow you to create chroots for: * Epel * Mageia * Custom chroot + * OpenSuse Tumbleweed and Leap %prep %setup -q @@ -113,12 +114,17 @@ fi %files -f %{name}.cfgs -%defattr(-, root, root, -) %license COPYING %dir %{_sysconfdir}/mock %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Mon Aug 13 2018 Miroslav Suchý 29.1-1 +- add fedora 29 configs and change rawhide to F30 +- defattr is not needed since rpm 4.2 +- Replace armv5tl with aarch64 for Mageia Cauldron (ngompa13@gmail.com) +- check gpg keys for rawhide + * Wed May 02 2018 Miroslav Suchý 28.4-1 - requires distribution-gpg-keys with opensuse keys - Add initial openSUSE distribution targets (ngompa13@gmail.com) diff --git a/sources b/sources index 80b18a8..1614495 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-28.4.tar.gz) = 2980e25ebf2460bb2a72da05f3cffae90fba1aa2250fddd5dc8d0cb0136f02c3200e72932584d4762b3800d4a2d2af1ca7ca77bf7d41f8a25360fd52d8ed4799 +SHA512 (mock-core-configs-29.1.tar.gz) = ecce26dd4020a506dc4761610bfa957fe1896b9146b69ff8a36f72c66de6f2cf26e3909e18bdcc14a3f6c1e5678018f7bc0368f5279548736372dfe78d585cf9 From a229a37d7a037a65895d890f94cfc745a4f067f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 16 Aug 2018 16:50:04 +0200 Subject: [PATCH 09/16] Update mock-core-configs to 29.2-1 --- .gitignore | 1 + mock-core-configs.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3039ef3..610794b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /mock-core-configs-28.3.tar.gz /mock-core-configs-28.4.tar.gz /mock-core-configs-29.1.tar.gz +/mock-core-configs-29.2.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index c616029..929ce1d 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 29.1 +Version: 29.2 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -119,6 +119,9 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Thu Aug 16 2018 Miroslav Suchý 29.2-1 +- add gpg keys for release rawhide-1 (msuchy@redhat.com) + * Mon Aug 13 2018 Miroslav Suchý 29.1-1 - add fedora 29 configs and change rawhide to F30 - defattr is not needed since rpm 4.2 diff --git a/sources b/sources index 1614495..03306e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-29.1.tar.gz) = ecce26dd4020a506dc4761610bfa957fe1896b9146b69ff8a36f72c66de6f2cf26e3909e18bdcc14a3f6c1e5678018f7bc0368f5279548736372dfe78d585cf9 +SHA512 (mock-core-configs-29.2.tar.gz) = 2f37d6f557164aa4f7674115026c478f961ea2efedbd34d083ea372f8a0e15d57f127065b23099f21e1b412ea7f64ea4da7e6f6d135663d3bfac4de53c37fdaa From 3ccb246295ecf9c3b614af075ad23ca3288929c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 15 Nov 2018 22:38:50 +0100 Subject: [PATCH 10/16] Update mock-core-configs to 29.3-1 --- .gitignore | 1 + mock-core-configs.spec | 14 +++++++++++--- sources | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 610794b..f00e3c7 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /mock-core-configs-28.4.tar.gz /mock-core-configs-29.1.tar.gz /mock-core-configs-29.2.tar.gz +/mock-core-configs-29.3.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 929ce1d..9b9d107 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 29.2 +Version: 29.3 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -17,7 +17,7 @@ Source: https://github.com/rpm-software-management/mock/releases/download/%{nam BuildArch: noarch # distribution-gpg-keys contains GPG keys used by mock configs -Requires: distribution-gpg-keys >= 1.22 +Requires: distribution-gpg-keys >= 1.25 Requires(pre): shadow-utils Requires(post): coreutils @@ -53,8 +53,9 @@ Config files which allow you to create chroots for: %install -mkdir -p %{buildroot}%{_sysconfdir}/mock +mkdir -p %{buildroot}%{_sysconfdir}/mock/eol cp -a etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock +cp -a etc/mock/eol/*cfg %{buildroot}%{_sysconfdir}/mock/eol # generate files section with config - there is many of them echo "%defattr(0644, root, mock)" > %{name}.cfgs @@ -116,9 +117,16 @@ fi %files -f %{name}.cfgs %license COPYING %dir %{_sysconfdir}/mock +%dir %{_sysconfdir}/mock/eol %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Thu Nov 15 2018 Miroslav Suchý 29.3-1 +- add rhelbeta-8-* configs +- move EOLed configs to /etc/mock/eol directory +- Add source repos to all fedora configs (sfowler@redhat.com) +- add epel-7-ppc64.cfg + * Thu Aug 16 2018 Miroslav Suchý 29.2-1 - add gpg keys for release rawhide-1 (msuchy@redhat.com) diff --git a/sources b/sources index 03306e7..e4f40e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-29.2.tar.gz) = 2f37d6f557164aa4f7674115026c478f961ea2efedbd34d083ea372f8a0e15d57f127065b23099f21e1b412ea7f64ea4da7e6f6d135663d3bfac4de53c37fdaa +SHA512 (mock-core-configs-29.3.tar.gz) = ac319bfd09f07ecfa081dbd4dd312a8f67124d6d8a12c17ebe9ed06e65da368e1e24fbf82d831cc0282d641f280e939e3bfb13c3a0d9b87e227f73c7228efc51 From 2f4348150976b7ed6f6f3f0600958ddf4b3a40bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 16 Nov 2018 12:29:33 +0100 Subject: [PATCH 11/16] Update mock-core-configs to 29.4-1 --- .gitignore | 1 + mock-core-configs.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f00e3c7..01e3bf5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /mock-core-configs-29.1.tar.gz /mock-core-configs-29.2.tar.gz /mock-core-configs-29.3.tar.gz +/mock-core-configs-29.4.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 9b9d107..9869c7e 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 29.3 +Version: 29.4 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -17,7 +17,7 @@ Source: https://github.com/rpm-software-management/mock/releases/download/%{nam BuildArch: noarch # distribution-gpg-keys contains GPG keys used by mock configs -Requires: distribution-gpg-keys >= 1.25 +Requires: distribution-gpg-keys >= 1.26 Requires(pre): shadow-utils Requires(post): coreutils @@ -121,6 +121,10 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Fri Nov 16 2018 Miroslav Suchý 29.4-1 +- use correct gpg keys for rhelbeta-8 +- add virtual platform module + * Thu Nov 15 2018 Miroslav Suchý 29.3-1 - add rhelbeta-8-* configs - move EOLed configs to /etc/mock/eol directory diff --git a/sources b/sources index e4f40e1..9b711ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-29.3.tar.gz) = ac319bfd09f07ecfa081dbd4dd312a8f67124d6d8a12c17ebe9ed06e65da368e1e24fbf82d831cc0282d641f280e939e3bfb13c3a0d9b87e227f73c7228efc51 +SHA512 (mock-core-configs-29.4.tar.gz) = 5a740e35b95044211e425639847c16ec87d3da1057ce2cfeef7b6fc0a5cb5cf02f2912fd30606967cff5cb4a6e204f1c8b82e9fb4fc5f0237217c22733b7ab7d From d10408611e4e6c0046c348aae0016dedd1d5c61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Tue, 19 Feb 2019 12:08:29 +0100 Subject: [PATCH 12/16] Update mock-core-configs to 30.1-1 --- .gitignore | 1 + mock-core-configs.spec | 17 +++++++++++++++-- sources | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 01e3bf5..2c6b976 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /mock-core-configs-29.2.tar.gz /mock-core-configs-29.3.tar.gz /mock-core-configs-29.4.tar.gz +/mock-core-configs-30.1.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 9869c7e..7f590d8 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 29.4 +Version: 30.1 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -17,7 +17,7 @@ Source: https://github.com/rpm-software-management/mock/releases/download/%{nam BuildArch: noarch # distribution-gpg-keys contains GPG keys used by mock configs -Requires: distribution-gpg-keys >= 1.26 +Requires: distribution-gpg-keys >= 1.29 Requires(pre): shadow-utils Requires(post): coreutils @@ -121,6 +121,19 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Tue Feb 19 2019 Miroslav Suchý 30.1-1 +- default for config['decompress_program'] (praiskup@redhat.com) +- require recent distribution-gpg-keys which has F31 key +- add examples how to enable/install module in F29+ configs +- add module_platform_id +- add modular repos +- enable gpgcheck for debuginfo for rawhide +- enable gpgcheck for testing and debuginfo for F30 +- EOL Fedora 27 configs +- remove mdpolicy from F30 +- add Fedora 30 configs +- add link to distribution-gpg-keys for rhel8 bootstrap + * Fri Nov 16 2018 Miroslav Suchý 29.4-1 - use correct gpg keys for rhelbeta-8 - add virtual platform module diff --git a/sources b/sources index 9b711ea..29c9a0c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-29.4.tar.gz) = 5a740e35b95044211e425639847c16ec87d3da1057ce2cfeef7b6fc0a5cb5cf02f2912fd30606967cff5cb4a6e204f1c8b82e9fb4fc5f0237217c22733b7ab7d +SHA512 (mock-core-configs-30.1.tar.gz) = c409beed25c04a98c9c05bc958b3e2aa79498dc1cde2a33896e22e3678c5b2d5cfc5fab7d930c2c845abd6d1b02078c798164d180f8831bec40d3e8d1143ede9 From edace6611f6d1214d5ce5fe07b012ec66688e4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 1 Mar 2019 11:49:32 +0100 Subject: [PATCH 13/16] Update mock-core-configs to 30.2-1 --- .gitignore | 1 + mock-core-configs.spec | 10 +++++++++- sources | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2c6b976..72b96a8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /mock-core-configs-29.3.tar.gz /mock-core-configs-29.4.tar.gz /mock-core-configs-30.1.tar.gz +/mock-core-configs-30.2.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 7f590d8..931a657 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 30.1 +Version: 30.2 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -121,6 +121,14 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Fri Mar 01 2019 Miroslav Suchý 30.2-1 +- disable modular repos +- Add openSUSE Leap AArch64 configs (ngompa13@gmail.com) +- Add openSUSE Leap 15.1 configuration (ngompa13@gmail.com) +- Bump releasever in Cauldron to 8 and create symlinks to cauldron configs + (ngompa13@gmail.com) +- Add Mageia 7 configs (ngompa13@gmail.com) + * Tue Feb 19 2019 Miroslav Suchý 30.1-1 - default for config['decompress_program'] (praiskup@redhat.com) - require recent distribution-gpg-keys which has F31 key diff --git a/sources b/sources index 29c9a0c..746dd58 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-30.1.tar.gz) = c409beed25c04a98c9c05bc958b3e2aa79498dc1cde2a33896e22e3678c5b2d5cfc5fab7d930c2c845abd6d1b02078c798164d180f8831bec40d3e8d1143ede9 +SHA512 (mock-core-configs-30.2.tar.gz) = 1247a80e4414a1ae61fcda0070e0e95ff6eb720bade17270dd0f5d9e271f004dd793099d8544f91d73aada6fb6e7ba6806becc60f70dd23ad02e181fa750bff0 From 83cf9e7e2954299ed5fb2a17a4c05f79d6c97094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 16 May 2019 13:36:26 +0200 Subject: [PATCH 14/16] Update mock-core-configs to 30.3-1 --- .gitignore | 1 + mock-core-configs.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 72b96a8..50f77cb 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /mock-core-configs-29.4.tar.gz /mock-core-configs-30.1.tar.gz /mock-core-configs-30.2.tar.gz +/mock-core-configs-30.3.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 931a657..e40af52 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 30.2 +Version: 30.3 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -121,6 +121,10 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Thu May 16 2019 Miroslav Suchý 30.3-1 +- Allow AArch64 systems to build 32-bit ARM packages (ngompa13@gmail.com) +- Fix openSUSE Tumbleweed DistTag definition (ngompa13@gmail.com) + * Fri Mar 01 2019 Miroslav Suchý 30.2-1 - disable modular repos - Add openSUSE Leap AArch64 configs (ngompa13@gmail.com) diff --git a/sources b/sources index 746dd58..28e25e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-30.2.tar.gz) = 1247a80e4414a1ae61fcda0070e0e95ff6eb720bade17270dd0f5d9e271f004dd793099d8544f91d73aada6fb6e7ba6806becc60f70dd23ad02e181fa750bff0 +SHA512 (mock-core-configs-30.3.tar.gz) = 09ad0c269487a6a1629445b95026da50433c79b4f624e42e4574784c2ef15c2458749cbb0d2bacf5326b41ba15f7820af56e4256cb6812b5c2ba0df308bd4da6 From 8291b6b8134f68bab594b084358514b1676ab2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 6 Jun 2019 22:05:20 +0200 Subject: [PATCH 15/16] Update mock-core-configs to 30.4-1 --- .gitignore | 1 + mock-core-configs.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 50f77cb..9b1a304 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /mock-core-configs-30.1.tar.gz /mock-core-configs-30.2.tar.gz /mock-core-configs-30.3.tar.gz +/mock-core-configs-30.4.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index e40af52..d3813c9 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 30.3 +Version: 30.4 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -121,6 +121,11 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Thu Jun 06 2019 Miroslav Suchý 30.4-1 +- Add 'fastestmirror=1' to Mageia mock configs (ngompa13@gmail.com) +- bootstrap: disable sclo* repos for epel --installroot (praiskup@redhat.com) +- drop Fedora ppc64 configs [RHBZ#1714489] + * Thu May 16 2019 Miroslav Suchý 30.3-1 - Allow AArch64 systems to build 32-bit ARM packages (ngompa13@gmail.com) - Fix openSUSE Tumbleweed DistTag definition (ngompa13@gmail.com) diff --git a/sources b/sources index 28e25e9..2482a5b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-30.3.tar.gz) = 09ad0c269487a6a1629445b95026da50433c79b4f624e42e4574784c2ef15c2458749cbb0d2bacf5326b41ba15f7820af56e4256cb6812b5c2ba0df308bd4da6 +SHA512 (mock-core-configs-30.4.tar.gz) = 4db1fd1b89a4f811afa1336dabc0e22fc4f8daa739e98a85d3b7e40eb051fe4d9b8b506643fd5f16ff9e91972d6b6e32cbbe48792dc02974f60b67b53f5ce3aa From 756391f542346bc75986b787b77cfb059cd434da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 8 Aug 2019 14:09:27 +0200 Subject: [PATCH 16/16] Update mock-core-configs to 30.5-1 --- .gitignore | 1 + mock-core-configs.spec | 32 ++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9b1a304..397e16a 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /mock-core-configs-30.2.tar.gz /mock-core-configs-30.3.tar.gz /mock-core-configs-30.4.tar.gz +/mock-core-configs-30.5.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index d3813c9..4783005 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,7 +2,7 @@ %global mockgid 135 Name: mock-core-configs -Version: 30.4 +Version: 30.5 Release: 1%{?dist} Summary: Mock core config files basic chroots @@ -19,8 +19,10 @@ BuildArch: noarch # distribution-gpg-keys contains GPG keys used by mock configs Requires: distribution-gpg-keys >= 1.29 -Requires(pre): shadow-utils Requires(post): coreutils +%if 0%{?fedora} > 29 || 0%{?rhel} > 8 +BuildRequires: systemd-rpm-macros +%endif %if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7 # to detect correct default.cfg Requires(post): python3-dnf @@ -30,6 +32,7 @@ Requires(post): python3 Requires(post): sed %endif %if 0%{?rhel} && 0%{?rhel} <= 7 +Requires(pre): shadow-utils # to detect correct default.cfg Requires(post): python Requires(post): yum @@ -53,6 +56,11 @@ Config files which allow you to create chroots for: %install +mkdir -p %{buildroot}%{_sysusersdir} +%if 0%{?fedora} > 29 || 0%{?rhel} > 8 +cp -a mock.conf %{buildroot}%{_sysusersdir} +%endif + mkdir -p %{buildroot}%{_sysconfdir}/mock/eol cp -a etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock cp -a etc/mock/eol/*cfg %{buildroot}%{_sysconfdir}/mock/eol @@ -71,10 +79,15 @@ elif [ -d %{buildroot}%{_sysconfdir}/bash_completion.d ]; then echo %{_sysconfdir}/bash_completion.d/mock >> %{name}.cfgs fi + %pre +%if 0%{?fedora} > 29 || 0%{?rhel} > 8 +%sysusers_create_package mock mock.conf +%else # check for existence of mock group, create it if not found getent group mock > /dev/null || groupadd -f -g %mockgid -r mock exit 0 +%endif %post if [ -s /etc/os-release ]; then @@ -116,11 +129,26 @@ fi %files -f %{name}.cfgs %license COPYING +%if 0%{?fedora} > 29 || 0%{?rhel} > 8 +%{_sysusersdir}/mock.conf +%endif %dir %{_sysconfdir}/mock %dir %{_sysconfdir}/mock/eol %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Thu Aug 08 2019 Miroslav Suchý 30.5-1 +- disable updates-modulare repos for now +- buildrequire systemd-srpm-macros to get _sysusersdir +- removed info about metadata expire (khoidinhtrinh@gmail.com) +- added updates-modular to 29 and 30 (khoidinhtrinh@gmail.com) +- replace groupadd using sysusers.d +- core-configs: epel-7 profiles to use mirrorlists (praiskup@redhat.com) +- EOL Fedora 28 +- do not protect packages in chroot [GH#286] +- Fix value for dist for OpenMandriva 4.0 configs (ngompa13@gmail.com) +- Add initial OpenMandriva distribution targets (ngompa13@gmail.com) + * Thu Jun 06 2019 Miroslav Suchý 30.4-1 - Add 'fastestmirror=1' to Mageia mock configs (ngompa13@gmail.com) - bootstrap: disable sclo* repos for epel --installroot (praiskup@redhat.com) diff --git a/sources b/sources index 2482a5b..6a6974a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-30.4.tar.gz) = 4db1fd1b89a4f811afa1336dabc0e22fc4f8daa739e98a85d3b7e40eb051fe4d9b8b506643fd5f16ff9e91972d6b6e32cbbe48792dc02974f60b67b53f5ce3aa +SHA512 (mock-core-configs-30.5.tar.gz) = 218440fb9b8b9ea1b7c9a4c61deb3d6f9bec9ff01d6b87fadb1c54c9f9a1ef71b0169e997ae59064e1c5967bd4af52e6331c227e752dbbb5b0ba778bc8ab509f