From 3b7b333d630faab26be77f40d777c00d7e7acaad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 14 Sep 2017 15:27:37 +0200 Subject: [PATCH 01/23] 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 bf877f909cdd17e5d46409be130d302d0cf9ca9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 27 Sep 2017 12:25:29 +0200 Subject: [PATCH 02/23] 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 6c5fee3c82c7873645eac30f4c950a832b877131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 9 Oct 2017 08:44:46 +0200 Subject: [PATCH 03/23] 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 131a57bdae65792fd367338a88b127b6cefaa1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 22 Jan 2018 16:32:34 +0100 Subject: [PATCH 04/23] 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 7a440f0738423eaa8359908b2adc05e51b1ce4ef Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 22 Jan 2018 17:27:01 +0100 Subject: [PATCH 05/23] Fix wrong RHEL condition Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1537193 Signed-off-by: Igor Gnatenko --- mock-core-configs.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 7a46394..df035e8 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -3,7 +3,7 @@ Name: mock-core-configs Version: 28.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -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 Igor Gnatenko - 28.1-2 +- Fix wrong RHEL condition + * Mon Jan 22 2018 Miroslav Suchý 28.1-1 - bump up version to 28.1 From 287552f1294dc9100ca67ddf84a87e7d35950532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 22 Jan 2018 17:58:47 +0100 Subject: [PATCH 06/23] Update mock-core-configs to 28.2-1 --- .gitignore | 1 + mock-core-configs.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 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 df035e8..06cc863 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,8 +2,8 @@ %global mockgid 135 Name: mock-core-configs -Version: 28.1 -Release: 2%{?dist} +Version: 28.2 +Release: 1%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -119,8 +119,8 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog -* Mon Jan 22 2018 Igor Gnatenko - 28.1-2 -- Fix wrong RHEL condition +* 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 d7c364c1e8098328abb28ae7603d0e88d9ed1888 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 8 Feb 2018 02:55:29 +0000 Subject: [PATCH 07/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mock-core-configs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 06cc863..5b89ea0 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -3,7 +3,7 @@ Name: mock-core-configs Version: 28.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -119,6 +119,9 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Thu Feb 08 2018 Fedora Release Engineering - 28.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Mon Jan 22 2018 Miroslav Suchý 28.2-1 - fix wrong RHEL condition From 0c5de0ee743aea35de069e93c67122001b1886d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 1 Mar 2018 12:47:44 +0100 Subject: [PATCH 08/23] Update mock-core-configs to 28.3-1 --- .gitignore | 1 + mock-core-configs.spec | 10 ++++++---- sources | 2 +- 3 files changed, 8 insertions(+), 5 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 5b89ea0..d31a3a0 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,8 +2,8 @@ %global mockgid 135 Name: mock-core-configs -Version: 28.2 -Release: 2%{?dist} +Version: 28.3 +Release: 1%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -119,8 +119,10 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog -* Thu Feb 08 2018 Fedora Release Engineering - 28.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild +* 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 a99de4b2a2c49954c726b5c3d4df9df189974f96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 2 May 2018 09:15:40 +0200 Subject: [PATCH 09/23] 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 426616e33fb06bd4a644558d72751274825db77d Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 02:03:15 -0500 Subject: [PATCH 10/23] Remove needless use of %defattr --- mock-core-configs.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 6ffed18..7fe4c54 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -113,7 +113,6 @@ fi %files -f %{name}.cfgs -%defattr(-, root, root, -) %license COPYING %dir %{_sysconfdir}/mock %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg From 33b3b1aaa096706661ba8471aef879515a7f9e3b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 10:50:25 +0000 Subject: [PATCH 11/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mock-core-configs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 7fe4c54..0196271 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -3,7 +3,7 @@ Name: mock-core-configs Version: 28.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -118,6 +118,9 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 28.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed May 02 2018 Miroslav Suchý 28.4-1 - requires distribution-gpg-keys with opensuse keys - Add initial openSUSE distribution targets (ngompa13@gmail.com) From 8168293b3b00bd1154b8ea9088a678542cb1d969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 13 Aug 2018 16:56:51 +0200 Subject: [PATCH 12/23] Update mock-core-configs to 29.1-1 --- .gitignore | 1 + mock-core-configs.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 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 0196271..c616029 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,8 +2,8 @@ %global mockgid 135 Name: mock-core-configs -Version: 28.4 -Release: 2%{?dist} +Version: 29.1 +Release: 1%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -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 @@ -118,8 +119,11 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog -* Fri Jul 13 2018 Fedora Release Engineering - 28.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild +* 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 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 20ec617146330872693e257ac4cf6091cccdbb3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 16 Aug 2018 16:44:52 +0200 Subject: [PATCH 13/23] 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 fa9d7b9191d2a5759908c7a1bf6f9995b254a966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 15 Nov 2018 22:36:04 +0100 Subject: [PATCH 14/23] 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 5fac974f793a20c7fe0152bca5dffa490cb0020d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 16 Nov 2018 12:28:20 +0100 Subject: [PATCH 15/23] 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 77d78227efba0d19c93a9c5fa3f4fa2e56c4c66c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 11:12:43 +0000 Subject: [PATCH 16/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mock-core-configs.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 9869c7e..e20bef6 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -3,7 +3,7 @@ Name: mock-core-configs Version: 29.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -121,6 +121,9 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 29.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Nov 16 2018 Miroslav Suchý 29.4-1 - use correct gpg keys for rhelbeta-8 - add virtual platform module From 268a782b49aa7a0eb76c33e79570e7088d8b8836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Tue, 19 Feb 2019 11:26:47 +0100 Subject: [PATCH 17/23] Update mock-core-configs to 30.1-1 --- .gitignore | 1 + mock-core-configs.spec | 20 +++++++++++++++----- sources | 2 +- 3 files changed, 17 insertions(+), 6 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 e20bef6..7f590d8 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -2,8 +2,8 @@ %global mockgid 135 Name: mock-core-configs -Version: 29.4 -Release: 2%{?dist} +Version: 30.1 +Release: 1%{?dist} Summary: Mock core config files basic chroots License: GPLv2+ @@ -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,8 +121,18 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog -* Fri Feb 01 2019 Fedora Release Engineering - 29.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild +* 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 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 7c816c78884d2e55a07ad5006d298899d0452186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 1 Mar 2019 11:45:58 +0100 Subject: [PATCH 18/23] 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 d5f57f9847fbf7524cd842739acd86d97081c575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 16 May 2019 13:35:10 +0200 Subject: [PATCH 19/23] 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 14d70b5b7f40156fcb987df0f8103198129f4cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 6 Jun 2019 22:02:23 +0200 Subject: [PATCH 20/23] 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 3380751e62b14abe132f12d76a612aefb094b925 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Fri, 19 Jul 2019 11:50:26 -0400 Subject: [PATCH 21/23] "Adding package.cfg file" --- package.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package.cfg diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..66ea79d --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = epel8 epel8-playground \ No newline at end of file From 10d406a83d487920ae4c4e69036ab7ce0d51a2d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 8 Aug 2019 14:12:16 +0200 Subject: [PATCH 22/23] Update mock-core-configs to 30.5-1 --- .gitignore | 1 + mock-core-configs.spec | 32 ++++++++++++++++++++++++++++++-- package.cfg | 2 -- sources | 2 +- 4 files changed, 32 insertions(+), 5 deletions(-) delete mode 100644 package.cfg 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/package.cfg b/package.cfg deleted file mode 100644 index 66ea79d..0000000 --- a/package.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[koji] -targets = epel8 epel8-playground \ No newline at end of file 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 From 63cf115160d3011963314c1f920fcd868326cc26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 19 Aug 2019 10:44:35 +0200 Subject: [PATCH 23/23] Update mock-core-configs to 31.1-1 --- .gitignore | 1 + mock-core-configs.spec | 46 +++++++++++++++++++++++++----------------- sources | 2 +- 3 files changed, 29 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 397e16a..cee8863 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /mock-core-configs-30.3.tar.gz /mock-core-configs-30.4.tar.gz /mock-core-configs-30.5.tar.gz +/mock-core-configs-31.1.tar.gz diff --git a/mock-core-configs.spec b/mock-core-configs.spec index 4783005..4f2d078 100644 --- a/mock-core-configs.spec +++ b/mock-core-configs.spec @@ -1,42 +1,42 @@ # mock group id allocate for Fedora %global mockgid 135 -Name: mock-core-configs -Version: 30.5 -Release: 1%{?dist} -Summary: Mock core config files basic chroots +Name: mock-core-configs +Version: 31.1 +Release: 1%{?dist} +Summary: Mock core config files basic chroots -License: GPLv2+ -URL: https://github.com/rpm-software-management/mock/ +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 +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.29 +Requires: distribution-gpg-keys >= 1.29 Requires(post): coreutils %if 0%{?fedora} > 29 || 0%{?rhel} > 8 -BuildRequires: systemd-rpm-macros +BuildRequires: systemd-rpm-macros %endif %if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7 # to detect correct default.cfg -Requires(post): python3-dnf -Requires(post): python3-hawkey -Requires(post): system-release -Requires(post): python3 -Requires(post): sed +Requires(post): python3-dnf +Requires(post): python3-hawkey +Requires(post): system-release +Requires(post): python3 +Requires(post): sed %endif %if 0%{?rhel} && 0%{?rhel} <= 7 -Requires(pre): shadow-utils +Requires(pre): shadow-utils # to detect correct default.cfg -Requires(post): python -Requires(post): yum -Requires(post): /etc/os-release +Requires(post): python +Requires(post): yum +Requires(post): /etc/os-release %endif %description @@ -137,6 +137,14 @@ fi %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %changelog +* Mon Aug 19 2019 Miroslav Suchý 31.1-1 +- add fedora 31 configs and rawhide is now 32 +- Add local-source repo definition to Fedora Rawhide (miro@hroncok.cz) + +* Mon Aug 19 2019 Miroslav Suchý +- add fedora 31 configs and rawhide is now 32 +- Add local-source repo definition to Fedora Rawhide (miro@hroncok.cz) + * Thu Aug 08 2019 Miroslav Suchý 30.5-1 - disable updates-modulare repos for now - buildrequire systemd-srpm-macros to get _sysusersdir diff --git a/sources b/sources index 6a6974a..764cdd2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-core-configs-30.5.tar.gz) = 218440fb9b8b9ea1b7c9a4c61deb3d6f9bec9ff01d6b87fadb1c54c9f9a1ef71b0169e997ae59064e1c5967bd4af52e6331c227e752dbbb5b0ba778bc8ab509f +SHA512 (mock-core-configs-31.1.tar.gz) = 5d1effa53b358627ebba179ad633f577a14e941e323e2eee455ef38c56fbef1f50be7ad3caa1193c925d4ec3971b128591755fad159da6c7bb6913d25eadb3a1