diff --git a/SOURCES/CentOS-oVirt-4.5-testing.repo b/SOURCES/CentOS-oVirt-4.5-testing.repo new file mode 100644 index 0000000..76c89b2 --- /dev/null +++ b/SOURCES/CentOS-oVirt-4.5-testing.repo @@ -0,0 +1,26 @@ +# Please see http://wiki.centos.org/SpecialInterestGroup/Virtualization for more +# information +# +# The metalink 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 metalink 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/$stream/virt/$basearch/ovirt-45/ +gpgcheck=0 +enabled=0 + +[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/SOURCES/CentOS-oVirt-4.5.repo b/SOURCES/CentOS-oVirt-4.5.repo index d387acf..28c554d 100644 --- a/SOURCES/CentOS-oVirt-4.5.repo +++ b/SOURCES/CentOS-oVirt-4.5.repo @@ -17,12 +17,6 @@ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization -[centos-ovirt45-testing] -name=CentOS Stream $releasever - oVirt 4.5 - Testing -baseurl=https://buildlogs.centos.org/$stream/virt/$basearch/ovirt-45/ -gpgcheck=0 -enabled=0 - [centos-ovirt45-debug] name=CentOS Stream $releasever - oVirt 4.5 - Debug # baseurl=http://mirror.stream.centos.org/SIGs/$stream/virt/$basearch/ovirt-45/debug/ @@ -49,13 +43,3 @@ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oVirt-4.5 # ovirt mirrorlist is static fastestmirror=1 - -[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 60eec37..2e9a9c9 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: 9.1 -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 @@ -25,6 +26,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} . @@ -34,6 +45,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/ @@ -53,7 +65,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 - 9.1-2 +- move testing repos to separate subpackage + * Thu May 12 2022 Sandro Bonazzola - 9.1-1 - skip repo enablement on RHEL as it requires subscription manager.