From 5b9a8684b651307927a47abd36ff700fa604c147 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Sep 20 2024 16:17:52 +0000 Subject: ceph squid (19) --- diff --git a/README.md b/README.md index 7e60ca2..e2d8025 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -centos-release-ceph-reef provides the YUM repository file for packages of the -CentOS Storage SIG that are used with Ceph Reef +centos-release-ceph-squid provides the YUM repository file for packages of the +CentOS Storage SIG that are used with Ceph Squid 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-reef.spec + SPECS/centos-release-ceph-squid.spec 2. commit and push SPECS/centos-release-ceph.spec $ git add SPECS/ceph.spec - $ git push origin c9s-sig-storage-reef + $ git push origin c9s-sig-storage-squid 3. retrieve the commit for step 3: $ git log|head -n 1 diff --git a/SOURCES/CentOS-Ceph-Reef.repo b/SOURCES/CentOS-Ceph-Reef.repo deleted file mode 100644 index cfca85a..0000000 --- a/SOURCES/CentOS-Ceph-Reef.repo +++ /dev/null @@ -1,26 +0,0 @@ -# CentOS-Ceph-Reef.repo -# -# Please see https://wiki.centos.org/SpecialInterestGroup/Storage for more -# information - -[centos-ceph-reef] -name=CentOS-$stream - Ceph Reef -metalink=https://mirrors.centos.org/metalink?repo=centos-storage-sig-ceph-reef-9-stream&arch=$basearch -#baseurl=http://mirror.stream.centos.org/SIGs/$stream/$basearch/storage-ceph-reef/ -gpgcheck=0 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-ceph-reef-test] -name=CentOS-$stream - Ceph Reef Testing -baseurl=https://buildlogs.centos.org/centos/$stream/storage/$basearch/ceph-reef/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-ceph-reef-source] -name=CentOS-$stream - Ceph Reef Source -baseurl=http://mirror.stream.centos.org/SIGs/$stream/storage/source/ceph-reef/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage diff --git a/SOURCES/CentOS-Ceph-Squid.repo b/SOURCES/CentOS-Ceph-Squid.repo new file mode 100644 index 0000000..4dc70d5 --- /dev/null +++ b/SOURCES/CentOS-Ceph-Squid.repo @@ -0,0 +1,26 @@ +# CentOS-Ceph-Squid.repo +# +# Please see https://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-ceph-squid] +name=CentOS-$stream - Ceph Squid +metalink=https://mirrors.centos.org/metalink?repo=centos-storage-sig-ceph-squid-9-stream&arch=$basearch +#baseurl=http://mirror.stream.centos.org/SIGs/$stream/$basearch/storage-ceph-squid/ +gpgcheck=0 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-ceph-squid-test] +name=CentOS-$stream - Ceph Squid Testing +baseurl=https://buildlogs.centos.org/centos/$stream/storage/$basearch/ceph-squid/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-ceph-squid-source] +name=CentOS-$stream - Ceph Squid Source +baseurl=http://mirror.stream.centos.org/SIGs/$stream/storage/source/ceph-squid/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage diff --git a/SPECS/centos-release-ceph-reef.spec b/SPECS/centos-release-ceph-reef.spec deleted file mode 100644 index 396662a..0000000 --- a/SPECS/centos-release-ceph-reef.spec +++ /dev/null @@ -1,35 +0,0 @@ -Summary: Ceph Reef packages from the CentOS Storage SIG repository -Name: centos-release-ceph-reef -Version: 1.0 -Release: 1%{?dist} -License: GPLv2 -URL: http://wiki.centos.org/SpecialInterestGroup/Storage -Source0: CentOS-Ceph-Reef.repo -BuildArch: noarch - -%if 0%{?centos} >= 8 -# $contentdir for altarch support was added with CentOS-8.5 -Requires: centos-release >= 8-0.1905.el8 -%endif -# This provides the public key to verify the RPMs -Requires: centos-release-storage-common - -Provides: centos-release-ceph = 18 - -%description -yum configuration for Ceph Reef packages from the CentOS Storage SIG. - -%install -install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Reef.repo -%if 0%{?centos} < 7 -sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Reef.repo -%endif - -%files -%defattr(-,root,root) -%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Reef.repo - -%changelog -* Fri Aug 4 2023 Kaleb S. KEITHLEY - 1.0-1 -- reef - diff --git a/SPECS/centos-release-ceph-squid.spec b/SPECS/centos-release-ceph-squid.spec new file mode 100644 index 0000000..02962b3 --- /dev/null +++ b/SPECS/centos-release-ceph-squid.spec @@ -0,0 +1,35 @@ +Summary: Ceph Squid packages from the CentOS Storage SIG repository +Name: centos-release-ceph-squid +Version: 1.0 +Release: 1%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source0: CentOS-Ceph-Squid.repo +BuildArch: noarch + +%if 0%{?centos} >= 8 +# $contentdir for altarch support was added with CentOS-8.5 +Requires: centos-release >= 8-0.1905.el8 +%endif +# This provides the public key to verify the RPMs +Requires: centos-release-storage-common + +Provides: centos-release-ceph = 19 + +%description +yum configuration for Ceph Squid packages from the CentOS Storage SIG. + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Squid.repo +%if 0%{?centos} < 7 +sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Squid.repo +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Squid.repo + +%changelog +* Fri Sep 20 2024 Kaleb S. KEITHLEY - 1.0-1 +- reef +