From 4371c96496050a69fbf25cf869373011d8f2a0da Mon Sep 17 00:00:00 2001 From: Sandro Bonazzola Date: Jun 15 2022 06:54:17 +0000 Subject: Move testing repo to separate sub-package Signed-off-by: Sandro Bonazzola --- diff --git a/SOURCES/CentOS-oVirt-4.5-testing.repo b/SOURCES/CentOS-oVirt-4.5-testing.repo new file mode 100644 index 0000000..1958f77 --- /dev/null +++ b/SOURCES/CentOS-oVirt-4.5-testing.repo @@ -0,0 +1,39 @@ +# Please see http://wiki.centos.org/SpecialInterestGroup/Virtualization for more +# information +# +# The mirrorlist system uses the connecting IP address of the client and the +# update status of each mirror to pick current mirrors that are geographically +# close to the client. You should use this for CentOS updates unless you are +# manually picking other mirrors. +# +# If the mirrorlist does not work for you, you can try the commented out +# baseurl line instead. + +[centos-ovirt45-testing] +name=CentOS Stream $releasever - oVirt 4.5 - Testing +baseurl=https://buildlogs.centos.org/centos/$stream/virt/$basearch/ovirt-45/ +gpgcheck=0 +# we are still in pre-release, disabling this for GA release +enabled=0 +module_hotfixes=1 + +[ovirt-45-centos-stream-openstack-yoga-testing] +name=CentOS Stream $releasever - oVirt 4.5 - OpenStack Yoga Repository - testing +baseurl=https://buildlogs.centos.org/centos/$stream/cloud/$basearch/openstack-yoga/ +gpgcheck=0 +enabled=0 +module_hotfixes=1 +exclude= + # ansible-2.9.27-4.el8 shipped in yoga repo is breaking dependencies on oVirt side + ansible + ansible-test + +[ovirt-45-upstream-testing] +name=oVirt upstream for CentOS Stream $releasever - oVirt 4.5 - testing +enabled=0 +mirrorlist=https://mirrorlist.ovirt.org/mirrorlist-ovirt-4.5-pre-el$releasever +#baseurl=https://resources.ovirt.org/pub/ovirt-4.5-pre/rpm/el$releasever +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oVirt-4.5 +# ovirt mirrorlist is static +fastestmirror=1 diff --git a/SPECS/centos-release-ovirt45.spec b/SPECS/centos-release-ovirt45.spec index 89af60c..19a431b 100644 --- a/SPECS/centos-release-ovirt45.spec +++ b/SPECS/centos-release-ovirt45.spec @@ -1,12 +1,13 @@ Summary: oVirt 4.5 packages from the CentOS Virtualization SIG repository Name: centos-release-ovirt45 Version: 8.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 URL: http://wiki.centos.org/SpecialInterestGroup/Virtualization Source0: CentOS-oVirt-4.5.repo Source1: COPYING Source2: RPM-GPG-KEY-oVirt-4.5 +Source3: CentOS-oVirt-4.5-testing.repo BuildArch: noarch @@ -24,6 +25,16 @@ Configuration and basic docs for oVirt 4.5 packages as delivered via the CentOS Virtualization SIG. +%package -n %{name}-testing +Summary: oVirt 4.5 testing packages from the CentOS Virtualization SIG repository +Requires: %{name} + +%description -n %{name}-testing +Configuration and basic docs for oVirt 4.5 testing packages as delivered via the +CentOS Virtualization SIG. + + + %prep cp %{SOURCE1} . @@ -33,6 +44,7 @@ cp %{SOURCE1} . %install install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-oVirt-4.5.repo +install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-oVirt-4.5-testing.repo mkdir -p %{buildroot}%{_sysconfdir}/pki/rpm-gpg/ install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/ @@ -49,7 +61,14 @@ fi %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-oVirt-4.5 %license COPYING +%files -n %{name}-testing +%license COPYING +%config %{_sysconfdir}/yum.repos.d/CentOS-oVirt-4.5-testing.repo + %changelog +* Wed Jun 15 2022 Sandro Bonazzola - 8.7-2 +- move testing repos to separate subpackage + * Fri May 13 2022 Sandro Bonazzola - 8.7-1 - skip repo enablement on RHEL as it requires subscription manager.