From 0ba676ffb2b2b0608d08884cf42d0a00658def9e Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Apr 27 2023 15:27:13 +0000 Subject: nfs-ganesha 5 --- diff --git a/README.md b/README.md index f033ce2..2ef4ceb 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: @@ -12,11 +12,11 @@ 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 + SPECS/centos-release-nfs-ganesha5.spec 2. commit and push SPECS/centos-release-nfs-ganesha.spec $ git add SPECS/centos-release-nfs-ganesha.spec - $ git push origin c9s-sig-storage-4 + $ git push origin c9s-sig-storage-5 3. retrieve the commit for step 3: $ git log|head -n 1 diff --git a/SOURCES/centos-release-nfs-ganesha-4.repo b/SOURCES/centos-release-nfs-ganesha-4.repo deleted file mode 100644 index 2462db8..0000000 --- a/SOURCES/centos-release-nfs-ganesha-4.repo +++ /dev/null @@ -1,27 +0,0 @@ -# CentOS-NFS-Ganesha-4.repo -# -# Please see https://wiki.centos.org/SpecialInterestGroup/Storage for more -# information - -[centos-nfs-ganesha-4] -name=CentOS-$stream - NFS-Ganesha 4 -metalink=https://mirrors.centos.org/metalink?repo=centos-storage-sig-nfsganesha-4-9-stream&arch=$basearch -#baseurl=http://mirror.stream.centos.org/SIGs/$stream/$basearch/storage-nfsganesha-4/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-nfs-ganesha-4-test] -name=CentOS-$stream - NFS-Ganesha 4 Testing -baseurl=https://buildlogs.centos.org/centos/$stream/storage/$basearch/nfsganesha-4/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-nfs-ganesha-4-source] -name=CentOS-$stream - NFS-Ganesha 4 Source -baseurl=http://vault.centos.org/$contentdir/$stream/storage/Source/nfsganesha-4/ -gpgcheck=1 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - diff --git a/SOURCES/centos-release-nfs-ganesha-5.repo b/SOURCES/centos-release-nfs-ganesha-5.repo new file mode 100644 index 0000000..144bf18 --- /dev/null +++ b/SOURCES/centos-release-nfs-ganesha-5.repo @@ -0,0 +1,26 @@ +# CentOS-NFS-Ganesha-5.repo +# +# Please see https://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-nfs-ganesha-5] +name=CentOS-$stream - NFS-Ganesha 5 +metalink=https://mirrors.centos.org/metalink?repo=centos-storage-sig-nfsganesha-5-9-stream&arch=$basearch +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-nfs-ganesha-5-test] +name=CentOS-$stream - NFS-Ganesha 5 Testing +baseurl=https://buildlogs.centos.org/centos/$stream/storage/$basearch/nfsganesha-5/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-nfs-ganesha-5-source] +name=CentOS-$stream - NFS-Ganesha 5 Source +baseurl=http://vault.centos.org/$contentdir/$stream/storage/Source/nfsganesha-5/ +gpgcheck=1 +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 27c46f6..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-release-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 -* Wed Jan 26 2022 Kaleb S KEITHLEY - 1.0-2 -- mirrorlist -> metalink, remove quotes - -* Wed Nov 17 2021 Kaleb S KEITHLEY - 1.0-1 -- ganesha 4, c9stream - diff --git a/SPECS/centos-release-nfs-ganesha5.spec b/SPECS/centos-release-nfs-ganesha5.spec new file mode 100644 index 0000000..35db38d --- /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-release-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, Stream9 +