From 62c60d4f37d0eb7107c83b9c86af1f587b95f6df Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Jan 18 2022 16:36:44 +0000 Subject: quincy for c9s --- diff --git a/README.md b/README.md index c6ded50..c2a93ec 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -centos-release-ceph-pacific provides the YUM repository file for packages of the -CentOS Storage SIG that are used with Ceph Pacific +centos-release-ceph-quincy provides the YUM repository file for packages of the +CentOS Storage SIG that are used with Ceph Quincy This package needs to be built against the following targets so that the packages land at the right tag for inclusion in CentOS Extras: @@ -11,11 +11,11 @@ Building the package can be done like this: 1. $ rpmbuild -bs \ --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ --define "dist .el9s.centos" \ - SPECS/centos-release-ceph-pacific.spec + SPECS/centos-release-ceph-quincy.spec 2. commit and push SPECS/centos-release-ceph.spec $ git add SPECS/ceph.spec - $ git push origin c9s-sig-storage-pacific + $ git push origin c9s-sig-storage-quincy 3. retrieve the commit for step 3: $ git log|head -n 1 diff --git a/SOURCES/CentOS-Ceph-Pacific.repo b/SOURCES/CentOS-Ceph-Pacific.repo deleted file mode 100644 index 7a04df8..0000000 --- a/SOURCES/CentOS-Ceph-Pacific.repo +++ /dev/null @@ -1,26 +0,0 @@ -# CentOS-Ceph-Pacific.repo -# -# Please see https://wiki.centos.org/SpecialInterestGroup/Storage for more -# information - -[centos-ceph-pacific] -name=CentOS-$stream - Ceph Pacific -mirrorlist='https://mirrors.centos.org/metalink?repo=centos-storage-sig-ceph-pacific-9-stream&arch=$basearch' -#baseurl=http://mirror.stream.centos.org/SIGs/$stream/$basearch/storage-ceph-pacific/ -gpgcheck=0 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-ceph-pacific-test] -name=CentOS-$stream - Ceph Pacific Testing -baseurl=https://buildlogs.centos.org/centos/$stream/storage/$basearch/ceph-pacific/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-ceph-pacific-source] -name=CentOS-$stream - Ceph Pacific Source -baseurl=http://mirror.stream.centos.org/SIGs/$stream/storage/source/ceph-pacific/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage diff --git a/SOURCES/CentOS-Ceph-Quincy.repo b/SOURCES/CentOS-Ceph-Quincy.repo new file mode 100644 index 0000000..1479273 --- /dev/null +++ b/SOURCES/CentOS-Ceph-Quincy.repo @@ -0,0 +1,26 @@ +# CentOS-Ceph-Quincy.repo +# +# Please see https://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-ceph-quincy] +name=CentOS-$stream - Ceph Quincy +mirrorlist='https://mirrors.centos.org/metalink?repo=centos-storage-sig-ceph-quincy-9-stream&arch=$basearch' +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/$basearch/storage-ceph-quincy/ +gpgcheck=0 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-ceph-quincy-test] +name=CentOS-$stream - Ceph Quincy Testing +baseurl=https://buildlogs.centos.org/centos/$stream/storage/$basearch/ceph-quincy/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-ceph-quincy-source] +name=CentOS-$stream - Ceph Quincy Source +baseurl=http://mirror.stream.centos.org/SIGs/$stream/storage/source/ceph-quincy/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage diff --git a/SPECS/centos-release-ceph-pacific.spec b/SPECS/centos-release-ceph-pacific.spec deleted file mode 100644 index d235e51..0000000 --- a/SPECS/centos-release-ceph-pacific.spec +++ /dev/null @@ -1,52 +0,0 @@ -Summary: Ceph Pacific packages from the CentOS Storage SIG repository -Name: centos-release-ceph-pacific -Version: 1.0 -Release: 1%{?dist} -License: GPLv2 -URL: http://wiki.centos.org/SpecialInterestGroup/Storage -Source0: CentOS-Ceph-Pacific.repo -%if 0%{?centos} >= 8 -BuildRequires: systemd -%endif -BuildArch: noarch - -%if 0%{?centos} >= 8 -# $contentdir for altarch support was added with CentOS-8.5 -Requires: centos-release >= 8-0.1905.el8 -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd -%endif -# This provides the public key to verify the RPMs -Requires: centos-release-storage-common - -Provides: centos-release-ceph = 16 - -%description -yum configuration for Ceph Pacific packages from the CentOS Storage SIG. - -%install -install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.repo -%if 0%{?centos} < 7 -sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.repo -%endif - -%if 0%{?centos} >= 7 -%post -%systemd_post - -%preun -%systemd_preun - -%postun -%systemd_postun -%endif - -%files -%defattr(-,root,root) -%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.repo - -%changelog -* Mon Dec 13 2021 Kaleb S. KEITHLEY - 1.0-1 -- c9stream - diff --git a/SPECS/centos-release-ceph-quincy.spec b/SPECS/centos-release-ceph-quincy.spec new file mode 100644 index 0000000..fd146d1 --- /dev/null +++ b/SPECS/centos-release-ceph-quincy.spec @@ -0,0 +1,52 @@ +Summary: Ceph Quincy packages from the CentOS Storage SIG repository +Name: centos-release-ceph-quincy +Version: 1.0 +Release: 1%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source0: CentOS-Ceph-Quincy.repo +%if 0%{?centos} >= 8 +BuildRequires: systemd +%endif +BuildArch: noarch + +%if 0%{?centos} >= 8 +# $contentdir for altarch support was added with CentOS-8.5 +Requires: centos-release >= 8-0.1905.el8 +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +%endif +# This provides the public key to verify the RPMs +Requires: centos-release-storage-common + +Provides: centos-release-ceph = 17 + +%description +yum configuration for Ceph Quincy packages from the CentOS Storage SIG. + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.repo +%if 0%{?centos} < 7 +sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.repo +%endif + +%if 0%{?centos} >= 7 +%post +%systemd_post + +%preun +%systemd_preun + +%postun +%systemd_postun +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Quincy.repo + +%changelog +* Mon Jan 18 2022 Kaleb S. KEITHLEY - 1.0-1 +- c9stream +