From e46a589af3287c7db674b2f807a9f08c25601985 Mon Sep 17 00:00:00 2001 From: Sandro Bonazzola Date: Mar 01 2022 13:38:23 +0000 Subject: prepare for 4.5 alpha release Signed-off-by: Sandro Bonazzola --- diff --git a/SOURCES/CentOS-oVirt-4.5.repo b/SOURCES/CentOS-oVirt-4.5.repo index 5f69b5e..9005807 100644 --- a/SOURCES/CentOS-oVirt-4.5.repo +++ b/SOURCES/CentOS-oVirt-4.5.repo @@ -1,10 +1,18 @@ # 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] name=CentOS Stream $releasever - oVirt 4.5 -baseurl=http://mirror.stream.centos.org/SIGs/$stream/virt/$basearch/ovirt-45/ -# metalink missing https://pagure.io/centos-infra/issue/637 +# baseurl=http://mirror.stream.centos.org/SIGs/$stream/virt/$basearch/ovirt-45/ +metalink=https://mirrors.centos.org/metalink?repo=centos-virt-sig-ovirt-45-$stream&arch=$basearch&protocol=https,http gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization @@ -18,50 +26,66 @@ enabled=1 [centos-ovirt45-debug] name=CentOS Stream $releasever - oVirt 4.5 - Debug -baseurl=http://mirror.stream.centos.org/SIGs/$stream/virt/$basearch/ovirt-45/debug/ -# metalink missing https://pagure.io/centos-infra/issue/637 +# baseurl=http://mirror.stream.centos.org/SIGs/$stream/virt/$basearch/ovirt-45/debug/ +metalink=https://mirrors.centos.org/metalink?repo=centos-virt-sig-ovirt-45-debug-$stream&arch=$basearch&protocol=https,http gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization [centos-ovirt45-source] name=CentOS Stream $releasever - oVirt 4.5 - Source -baseurl=http://mirror.stream.centos.org/SIGs/$stream/virt/source/ovirt-45/ -# metalink missing https://pagure.io/centos-infra/issue/637 +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/virt/source/ovirt-45/ +metalink=https://mirrors.centos.org/metalink?repo=centos-virt-sig-ovirt-45-source-$stream&arch=$basearch&protocol=https,http gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization -# The following repositories are provided as no centos-release-* rpm is available yet for them +# These are avaliable only as testing repositories -# These are already avaliable as released repositories -[ovirt-45-centos-stream-nfv-openvswitch2] -name=CentOS Stream 9 - oVirt 4.5 - NFV OpenVSwitch 2 -# baseurl=http://mirror.stream.centos.org/SIGs/$stream/nfv/$basearch/openvswitch-2/ -metalink=https://mirrors.centos.org/metalink?repo=centos-nfv-sig-openvswitch-2-$stream&arch=$basearch&protocol=https,http -gpgcheck=1 +[ovirt-45-centos-stream-openstack-yoga-testing] +name=CentOS Stream 9 - oVirt 4.5 - OpenStack Yoga Repository - testing +baseurl=https://buildlogs.centos.org/$stream/cloud/$basearch/openstack-yoga/ +gpgcheck=0 enabled=1 -module_hotfixes=1 -gpgkey=https://centos.org/keys/RPM-GPG-KEY-CentOS-SIG-NFV -[ovirt-45-centos-stream-gluster10] -name=CentOS Stream 9 - oVirt 4.5 - Glusterfs 10 -metalink=https://mirrors.centos.org/metalink?repo=centos-storage-sig-gluster-10-$stream&arch=$basearch&protocol=https,http -# baseurl=http://mirror.stream.centos.org/SIGs/$stream/storage/$basearch/gluster-10/ -gpgcheck=1 +# A few packages couldn't be built within CBS. We are hosting the rpms on resources.ovirt.org. +[ovirt-45-upstream] +name=oVirt upstream for CentOS Stream $releasever - oVirt 4.5 enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage +mirrorlist=https://mirrorlist.ovirt.org/mirrorlist-ovirt-4.5-el$releasever +#baseurl=https://resources.ovirt.org/pub/ovirt-4.5/rpm/el$releasever +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oVirt-4.5 -# These are avaliable only as testing repositories +[ovirt-45-upstream-testing] +name=oVirt upstream for CentOS Stream $releasever - oVirt 4.5 - testing +enabled=1 +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-45-centos-stream-opstools-collectd5-testing] -name=CentOS Stream 9 - oVirt 4.5 - OpsTools - Collectd 5 - testing -baseurl=https://buildlogs.centos.org/$stream/opstools/$basearch/collectd-5/ +# As Yoga is under development, also including RDO trunk +[rdo-delorean-component-cinder] +name=RDO Delorean OpenStack Cinder - current +baseurl=https://trunk.rdoproject.org/centos9-master/component/cinder/current/ +enabled=1 gpgcheck=0 + +[rdo-delorean-component-network] +name=RDO Delorean Network - current +baseurl=https://trunk.rdoproject.org/centos9-master/component/network/current/ enabled=1 +gpgcheck=0 -[ovirt-45-centos-stream-openstack-yoga-testing] -name=CentOS Stream 9 - oVirt 4.5 - OpenStack Yoga Repository - testing -baseurl=https://buildlogs.centos.org/$stream/cloud/$basearch/openstack-yoga/ +[rdo-delorean-component-clients] +name=RDO Delorean Clients - current +baseurl=https://trunk.rdoproject.org/centos9-master/component/clients/current/ +enabled=1 gpgcheck=0 + +[rdo-delorean-component-common] +name=RDO Delorean Common - current +baseurl=https://trunk.rdoproject.org/centos9-master/component/common/current/ enabled=1 +gpgcheck=0 diff --git a/SOURCES/RPM-GPG-KEY-oVirt-4.5 b/SOURCES/RPM-GPG-KEY-oVirt-4.5 new file mode 100644 index 0000000..2fff8b2 --- /dev/null +++ b/SOURCES/RPM-GPG-KEY-oVirt-4.5 @@ -0,0 +1,50 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Lin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zuu6MmEz6HoDZsj57mLoe +llmGjr6qnCovjzJ8FVPD73z0GARPjMeYVGtXB0eZ7WxnpMKroXyrSpHRYky4XYhx +73J9iDbZRdO7UUjpQarIRl24bW61cMmK7uAxVadpDkJlxlncuukCk7VS3l+3EUK3 +sus9ChpubPTCWIoyI1/zkNXx8C964Rih3DcVHIbApaapqKA1C2pyTsWi6mUBVCon +pDw3wwfiwmj/Kx7yzaK+mmPh+GVHu66abA6y9KoRhPboJWg4zReZVpQS5JOoy7bE +oOuSIu8TRsmB40dVtI5int5z5cIS/KrfrABkIuGOKpTqnRTsMuSlZSsPwcms6YkB +JQQYAQIADwIbDAUCYG8BOwUJGl9uRQAKCRCrjE+d/lkMt/u5CACgFlK6MFRhQp/g +VVKN89gFw4ZpJ3xVh/IIoIkypMzg3x/AhivvUOYgDSOMQ3E6PwYrD90gsy4gDlyz ++T/NYmLEWhX1yu1s766I6GSDNlruSey+a85jIkokaG0CRLz1aCifGnGPJmL2LOXl +mD0RkQkpN74H689UoLcI7yA123O70QpV04VLSXRuxp6dtCUPpgDLeQnt08YT3bo+ +84SunlMKVUPydbdHBthpnnsoL+jRzTKbHbuEzyRszroC2xGpNvTN4dqNtqH/LurA +FFm7Fr9czelRSW+NCUvvtKKFG612VvwSSU/u8DarGdLnrKxJ5ito7Pd+n3ZB1YVy +sfxDvnYN +=SxBW +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SPECS/centos-release-ovirt45.spec b/SPECS/centos-release-ovirt45.spec index 9aa04a2..eaa5f08 100644 --- a/SPECS/centos-release-ovirt45.spec +++ b/SPECS/centos-release-ovirt45.spec @@ -1,36 +1,60 @@ Summary: oVirt 4.5 packages from the CentOS Virtualization SIG repository Name: centos-release-ovirt45 Version: 1.0 -Release: 0.1%{?dist} +Release: 0.3%{?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 BuildArch: noarch -Requires: centos-release-virt-common -Requires: centos-release-ceph-pacific Requires: centos-release +Requires: centos-release-ceph-pacific +Requires: centos-release-gluster10 +Requires: centos-release-nfv-openvswitch +Requires: centos-release-opstools +Requires: centos-release-virt-common +Requires(post): python3-dnf-plugins-core %description Configuration and basic docs for oVirt 4.5 packages as delivered via the CentOS Virtualization SIG. + %prep cp %{SOURCE1} . + %build # nothing to build %install install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-oVirt-4.5.repo +mkdir -p %{buildroot}%{_sysconfdir}/pki/rpm-gpg/ +install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/ + + +%post +# Ensuring crb repository is enabled +dnf config-manager --set-enabled crb +# Ensuring resilientstorage repository is enabled +dnf config-manager --set-enabled resilientstorage %files %config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-oVirt-4.5.repo +%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-oVirt-4.5 %license COPYING %changelog +* Tue Mar 01 2022 Sandro Bonazzola - 1.0-0.3 +- Add oVirt upstream repositories for packages which couldn't build within CBS. + +* Fri Feb 04 2022 Sandro Bonazzola - 1.0-0.2 +- Ensure crb repo is enabled +- Ensure resilientstorage repo is enabled + * Tue Feb 01 2022 Sandro Bonazzola - 1.0-0.1 - Initial pre-release packaging