From 083e1e4d0441067910dc5da8bc32f7566197e4fa Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Apr 24 2020 09:09:32 +0000 Subject: Create centos-release-openstack for Train in CentOS 8 Initial version of centos-release-openstack-train for C8. --- diff --git a/.centos-release-openstack.metadata b/.centos-release-openstack.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-openstack.metadata diff --git a/SOURCES/CentOS-OpenStack.repo b/SOURCES/CentOS-OpenStack.repo new file mode 100644 index 0000000..d38f13c --- /dev/null +++ b/SOURCES/CentOS-OpenStack.repo @@ -0,0 +1,42 @@ +# CentOS-OpenStack-OPENSTACK_VERSION.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Cloud for more +# information + +[centos-openstack-OPENSTACK_VERSION] +name=CentOS- $releasever - OpenStack OPENSTACK_VERSION +#baseurl=http://mirror.centos.org/$contentdir/$releasever/cloud/$basearch/openstack-OPENSTACK_VERSION/ +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=cloud-openstack-OPENSTACK_VERSION +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud +exclude=sip,PyQt4 + +[centos-openstack-OPENSTACK_VERSION-test] +name=CentOS- $releasever - OpenStack OPENSTACK_VERSION Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/cloud/$basearch/openstack-OPENSTACK_VERSION/ +gpgcheck=0 +enabled=0 +exclude=sip,PyQt4 + +[centos-openstack-OPENSTACK_VERSION-debuginfo] +name=CentOS-$releasever - OpenStack OPENSTACK_VERSION - Debug +baseurl=http://debuginfo.centos.org/centos/$releasever/cloud/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud +exclude=sip,PyQt4 + +[centos-openstack-OPENSTACK_VERSION-source] +name=CentOS-$releasever - OpenStack OPENSTACK_VERSION - Source +baseurl=http://vault.centos.org/centos/$releasever/cloud/Source/openstack-OPENSTACK_VERSION/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud +exclude=sip,PyQt4 + +[rdo-trunk-OPENSTACK_VERSION-tested] +name=OpenStack OPENSTACK_VERSION Trunk Tested +baseurl=https://trunk.rdoproject.org/centos$releasever-OPENSTACK_VERSION/current-passed-ci/ +gpgcheck=0 +enabled=0 diff --git a/SOURCES/RPM-GPG-KEY-CentOS-SIG-Cloud b/SOURCES/RPM-GPG-KEY-CentOS-SIG-Cloud new file mode 100644 index 0000000..91f8e1c --- /dev/null +++ b/SOURCES/RPM-GPG-KEY-CentOS-SIG-Cloud @@ -0,0 +1,20 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQENBFVWcCcBCACfm3eQ0526/I0/p7HpR0NjK7K307XHhnbcbZv1sDUjQABDaqh0 +N4gnZcovf+3fj6pcdOmeOpGI0cKE7Fh68RbEIqyjB7l7+j1grjewR0oCFFZ38KGm +j+DWQrj1IJW7JU5fH/G0Cu66ix+dJPcuTB3PJTqXN3ce+4TuG09D+epgwfbHlqaT +pH2qHCu2uiGj/AaRSM/ZZzcInMaeleHSB+NChvaQ0W/m+kK5d/20d7sfkaTfI/pY +SrodCfVTYxfKAd0TLW03kimHs5/Rdz+iZWecVKv6aFxzaywbrOjmOsy2q0kEWIwX +MTZrq6cBRRuWyiXsI2zT2YHQ4UK44IxINiaJABEBAAG0WkNlbnRPUyBDbG91ZCBT +SUcgKGh0dHA6Ly93aWtpLmNlbnRvcy5vcmcvU3BlY2lhbEludGVyZXN0R3JvdXAv +Q2xvdWQpIDxzZWN1cml0eUBjZW50b3Mub3JnPokBOQQTAQIAIwUCVVZwJwIbAwcL +CQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEPm5/ud2RCnmATUH/3HDtWxpFkmy +FiA3VGkMt5dp3bgCRSd84X6Orfx1LARowpI4LomCGglGBGXVJePBacwcclorbLaz +uWrW/wU0efz0aDB5c4NPg/yXfNvujvlda8ADJwZXVBQphzvaIKwl4PqBsEnxC10I +93T/0iyphAhfMRJ5R8AbEHMj7uF+TWTX/JoyQagllMqWTwoP4DFRutPdOmmjwvSV +kWItH7hq6z9+M4dhlqeoOvPbL5oCxX7TVmLck02Q5gI4syULOa7sqntzUQKFkhWp +9U0+5KrBQBKezrurrrkq/WZR3WNE1KQfNQ77f7S2JcXJdOaKgJ7xe7Y2flPq98Aq +wKXK7l1c3dc= +=W6yF +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SOURCES/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO b/SOURCES/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO new file mode 100644 index 0000000..00006eb --- /dev/null +++ b/SOURCES/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO @@ -0,0 +1,20 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) + +mQENBFWB31YBCAC4dFmTzBDOcq4R1RbvQXLkyYfF+yXcsMA5kwZy7kjxnFqBoNPv +aAjFm3e5huTw2BMZW0viLGJrHZGnsXsE5iNmzom2UgCtrvcG2f65OFGlC1HZ3ajA +8ZIfdgNQkPpor61xqBCLzIsp55A7YuPNDvatk/+MqGdNv8Ug7iVmhQvI0p1bbaZR +0GuavmC5EZ/+mDlZ2kHIQOUoInHqLJaX7iw46iLRUnvJ1vATOzTnKidoFapjhzIt +i4ZSIRaalyJ4sT+oX4CoRzerNnUtIe2k9Hw6cEu4YKGCO7nnuXjMKz7Nz5GgP2Ou +zIA/fcOmQkSGcn7FoXybWJ8DqBExvkJuDljPABEBAAG0bENlbnRPUyBWaXJ0dWFs +aXphdGlvbiBTSUcgKGh0dHA6Ly93aWtpLmNlbnRvcy5vcmcvU3BlY2lhbEludGVy +ZXN0R3JvdXAvVmlydHVhbGl6YXRpb24pIDxzZWN1cml0eUBjZW50b3Mub3JnPokB +OQQTAQIAIwUCVYHfVgIbAwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEHrr +voJh6IBsRd0H/A62i5CqfftuySOCE95xMxZRw8+voWO84QS9zYvDEnzcEQpNnHyo +FNZTpKOghIDtETWxzpY2ThLixcZOTubT+6hUL1n+cuLDVMu4OVXBPoUkRy56defc +qkWR+UVwQitmlq1ngzwmqVZaB8Hf/mFZiB3B3Jr4dvVgWXRv58jcXFOPb8DdUoAc +S3u/FLvri92lCaXu08p8YSpFOfT5T55kFICeneqETNYS2E3iKLipHFOLh7EWGM5b +Wsr7o0r+KltI4Ehy/TjvNX16fa/t9p5pUs8rKyG8SZndxJCsk0MW55G9HFvQ0FmP +A6vX9WQmbP+ml7jsUxtEJ6MOGJ39jmaUvPc= +=ZzP+ +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SOURCES/advanced-virtualization.repo b/SOURCES/advanced-virtualization.repo new file mode 100644 index 0000000..6f0b53f --- /dev/null +++ b/SOURCES/advanced-virtualization.repo @@ -0,0 +1,9 @@ +[advanced-virtualization] +name=CentOS-8 - Advanced Virtualization +#baseurl=http://mirror.centos.org/centos/$releasever/virt/$basearch/advanced-virtualization +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=virt-advanced-virtualization +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO +module_hotfixes=1 + diff --git a/SOURCES/ceph-nautilus.repo b/SOURCES/ceph-nautilus.repo new file mode 100644 index 0000000..73044df --- /dev/null +++ b/SOURCES/ceph-nautilus.repo @@ -0,0 +1,9 @@ +[ceph-nautilus] +name=CentOS-8 - Ceph Nautilus +#baseurl=http://mirror.centos.org/centos/$releasever/storage/$basearch/ceph-nautilus +mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=storage-ceph-nautilus +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage +module_hotfixes=1 + diff --git a/SPECS/centos-release-openstack.spec b/SPECS/centos-release-openstack.spec new file mode 100644 index 0000000..e60fd60 --- /dev/null +++ b/SPECS/centos-release-openstack.spec @@ -0,0 +1,54 @@ +%global OpenStackVersion train +Summary: OpenStack from the CentOS Cloud SIG repo configs +Name: centos-release-openstack-%{OpenStackVersion} +Version: 2 +Release: 1%{?dist} +License: GPL +URL: http://wiki.centos.org/SpecialInterestGroup/Cloud +Source0: CentOS-OpenStack.repo +Source1: RPM-GPG-KEY-CentOS-SIG-Cloud +Source2: RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO +Source3: advanced-virtualization.repo +Source4: ceph-nautilus.repo + +BuildArch: noarch + +Requires: centos-release +%if 0%{?rhel} == 7 +Requires: centos-release-qemu-ev +Requires: centos-release-ceph-nautilus +%else +Requires: centos-release-rabbitmq-38 +Requires: centos-release-storage-common +%endif +Conflicts: centos-release-openstack + +%description +yum Configs and basic docs for OpenStack as delivered via the CentOS Cloud SIG. + +%prep + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-OpenStack-%{OpenStackVersion}.repo +sed -i -e "s/OPENSTACK_VERSION/%{OpenStackVersion}/g" %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-OpenStack-%{OpenStackVersion}.repo +install -p -d %{buildroot}%{_sysconfdir}/pki/rpm-gpg +install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pki/rpm-gpg + +%if 0%{?rhel} == 8 +install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/rpm-gpg +install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/yum.repos.d +install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/yum.repos.d +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/* +%{_sysconfdir}/pki/rpm-gpg + +%changelog +* Wed Apr 22 2020 Alfredo Moralejo - %{OpenStackVersion}-2-1 +- Add support for CentOS 8 + +* Tue Oct 15 2019 Yatin Karel - %{OpenStackVersion}-1-1 +- Train release +