From 566a505a67372ad6bbbb98c943c0133f13fb0db5 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Apr 27 2023 15:39:44 +0000 Subject: nfs-ganesha 5 --- diff --git a/README.md b/README.md index 55d584d..3b45c3b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -centos-release-nfs-ganesha4 provides the YUM repository file for packages -of the CentOS Storage SIG that are used with NFS-Ganesha 4. +centos-release-nfs-ganesha5 provides the YUM repository file for packages +of the CentOS Storage SIG that are used with NFS-Ganesha 5. 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,22 +11,22 @@ Build the package ike this: 1. $ rpmbuild -bs \ --define "_sourcedir $PWD"/SOURCES --define "_srcrpmdir $PWD" \ - --define "dist .el9s.centos" \ - SPECS/centos-release-nfs-ganesha4.spec + --define "dist .el8s.centos" \ + SPECS/centos-release-nfs-ganesha5.spec 2. commit and push SPECS/centos-release-ceph.spec - $ git add SPECS/centos-release-nfs-ganesha4.spec - $ git push origin c9s-sig-storage-4 + $ git add SPECS/centos-release-nfs-ganesha5.spec + $ git push origin c8s-sig-storage-5 3. retrieve the commit for step 3: $ git log|head -n 1 commit 29f19456be12986e86392652331e3a56ff0a88a0 4. build - $ cbs build core9s-extras-common-el9s.centos git+https://git.centos.org/rpms/centos-release-nfs-ganesha.git#29f19456be12986e86392652331e3a56ff0a88a0 + $ cbs build core8s-extras-common-el8s.centos git+https://git.centos.org/rpms/centos-release-nfs-ganesha.git#29f19456be12986e86392652331e3a56ff0a88a0 Sanity check - $ cbs build --scratch storage9s-nfsganesha-4-el9s \ - centos-release-nfs-ganesha4-1.0-1.el9s.centos.src.rpm + $ cbs build --scratch storage8s-nfsganesha-5-el8s \ + centos-release-nfs-ganesha5-1.0-1.el8s.centos.src.rpm diff --git a/SOURCES/CentOS-NFS-Ganesha-4.repo b/SOURCES/CentOS-NFS-Ganesha-4.repo deleted file mode 100644 index d34f90c..0000000 --- a/SOURCES/CentOS-NFS-Ganesha-4.repo +++ /dev/null @@ -1,20 +0,0 @@ -# CentOS-NFS-Ganesha-4.repo -# -# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more -# information - -[centos-nfsganesha-4] -name=CentOS-$releasever - NFS Ganesha 4 -mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=storage-nfsganesha-4 -#baseurl=https://mirror.centos.org/$contentdir/$releasever/storage/$basearch/nfsganesha-4/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-nfsganesha-4-test] -name=CentOS-$releasever - NFS Ganesha 4 Testing -baseurl=https://buildlogs.centos.org/centos/$releasever/storage/$basearch/nfsganesha-4/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - diff --git a/SOURCES/CentOS-NFS-Ganesha-5.repo b/SOURCES/CentOS-NFS-Ganesha-5.repo new file mode 100644 index 0000000..1dd247b --- /dev/null +++ b/SOURCES/CentOS-NFS-Ganesha-5.repo @@ -0,0 +1,19 @@ +# CentOS-NFS-Ganesha-5.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-nfsganesha-5] +name=CentOS-$releasever - NFS Ganesha 5 +mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=storage-nfsganesha-5 +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-nfsganesha-5-test] +name=CentOS-$releasever - NFS Ganesha 5 Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/storage/$basearch/nfsganesha-5/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + diff --git a/SPECS/centos-release-nfs-ganesha4.spec b/SPECS/centos-release-nfs-ganesha4.spec deleted file mode 100644 index a1b18d9..0000000 --- a/SPECS/centos-release-nfs-ganesha4.spec +++ /dev/null @@ -1,41 +0,0 @@ -Summary: NFS-Ganesha 4 packages from the CentOS Storage SIG repository -Name: centos-release-nfs-ganesha4 -Version: 1.0 -Release: 2%{?dist} -License: GPLv2 -URL: http://wiki.centos.org/SpecialInterestGroup/Storage -Source0: CentOS-NFS-Ganesha-4.repo -BuildArch: noarch - -%if 0%{?centos} >= 8 -# $contentdir for altarch support was added with CentOS-7.5 -Requires: centos-release >= 7-5.1804.el8.centos.2 -%endif -# This provides the public key to verify the RPMs -Requires: centos-release-storage-common - -Provides: centos-release-nfs-ganesha = 4 - -%description -yum configuration for NFS-Ganesha 4 packages from the CentOS Storage SIG. -NFS-Ganesha 4 will receive updates for approximately 12 months. For more -details about the release and maintenance schedule, see -https://github.com/nfs-ganesha/nfs-ganesha/wiki - -%install -install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-4.repo -%if 0%{?centos} < 8 -sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-4.repo -%endif - -%files -%defattr(-,root,root) -%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-4.repo - -%changelog -* Mon Jan 31 2022 Kaleb S KEITHLEY - 1.0-2 -- ganesha 4, higher NVR than c8 - -* Wed Nov 17 2021 Kaleb S KEITHLEY - 1.0-1 -- ganesha 4, c8stream - diff --git a/SPECS/centos-release-nfs-ganesha5.spec b/SPECS/centos-release-nfs-ganesha5.spec new file mode 100644 index 0000000..dc4ab7d --- /dev/null +++ b/SPECS/centos-release-nfs-ganesha5.spec @@ -0,0 +1,38 @@ +Summary: NFS-Ganesha 5 packages from the CentOS Storage SIG repository +Name: centos-release-nfs-ganesha5 +Version: 1.0 +Release: 1%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source0: CentOS-NFS-Ganesha-5.repo +BuildArch: noarch + +%if 0%{?centos} >= 8 +# $contentdir for altarch support was added with CentOS-7.5 +Requires: centos-release >= 7-5.1804.el8.centos.2 +%endif +# This provides the public key to verify the RPMs +Requires: centos-release-storage-common + +Provides: centos-release-nfs-ganesha = 5 + +%description +yum configuration for NFS-Ganesha 5 packages from the CentOS Storage SIG. +NFS-Ganesha 5 will receive updates for approximately 12 months. For more +details about the release and maintenance schedule, see +https://github.com/nfs-ganesha/nfs-ganesha/wiki + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-5.repo +%if 0%{?centos} < 8 +sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-5.repo +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-5.repo + +%changelog +* Thu Apr 27 2023 Kaleb S KEITHLEY - 1.0-1 +- ganesha 5, Stream8 +