diff --git a/README.md b/README.md index 2be1f2b..8a2d2c3 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,22 @@ -centos-release-nfs-ganesha30 provides the YUM repository file for packages -of the CentOS Storage SIG that are used with NFS-Ganesha 3.0. +centos-release-nfs-ganesha4 provides the YUM repository file for packages +of the CentOS Storage SIG that are used with NFS-Ganesha 4. This package needs to be built against the following targets so that the packages land at the right tag for inclusion in CentOS Extras: - - core7-extras-common-el8.centos (tag: core8-extras-common-candidate) + - core7-extras-common-el8s.centos (tag: core8-extras-common-candidate) Build the package ike this: $ rpmbuild -bs \ --define "_sourcedir $PWD"/SOURCES --define "_srcrpmdir $PWD" \ - --define "dist .el8.centos" \ - SPECS/centos-release-nfs-ganesha3.spec + --define "dist .el8s.centos" \ + SPECS/centos-release-nfs-ganesha4.spec - $ cbs \ - build core8-extras-common-el8.centos \ - centos-release-nfs-ganesha3-1.0-1.el8.centos.src.rpm +Sanity check + $ cbs build --scratch storage9s-nfsganesha-4-el9s \ + centos-release-nfs-ganesha4-1.0-1.el8s.centos.src.rpm + +Ask hughesjr in #centos-devel on IRC to build diff --git a/SOURCES/CentOS-NFS-Ganesha-3.repo b/SOURCES/CentOS-NFS-Ganesha-3.repo deleted file mode 100644 index 62e1217..0000000 --- a/SOURCES/CentOS-NFS-Ganesha-3.repo +++ /dev/null @@ -1,20 +0,0 @@ -# CentOS-NFS-Ganesha-3.repo -# -# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more -# information - -[centos-nfs-ganesha3] -name=CentOS-$stream - NFS Ganesha 3 -mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$stream&repo=storage-nfsganesha-3 -#baseurl=https://mirror.centos.org/$contentdir/$stream/storage/$basearch/nfsganesha-3/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-nfs-ganesha3-test] -name=CentOS-$stream - NFS Ganesha 3 Testing -baseurl=https://buildlogs.centos.org/centos/$stream/storage/$basearch/nfsganesha-3/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - diff --git a/SOURCES/CentOS-NFS-Ganesha-4.repo b/SOURCES/CentOS-NFS-Ganesha-4.repo new file mode 100644 index 0000000..fc27514 --- /dev/null +++ b/SOURCES/CentOS-NFS-Ganesha-4.repo @@ -0,0 +1,20 @@ +# CentOS-NFS-Ganesha-4.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-nfs-ganesha4] +name=CentOS-$stream - NFS Ganesha 4 +mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$stream&repo=storage-nfsganesha-4 +#baseurl=https://mirror.centos.org/$contentdir/$stream/storage/$basearch/nfsganesha-4/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-nfs-ganesha4-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 + diff --git a/SPECS/centos-release-nfs-ganesha3.spec b/SPECS/centos-release-nfs-ganesha3.spec deleted file mode 100644 index 0a3a2b9..0000000 --- a/SPECS/centos-release-nfs-ganesha3.spec +++ /dev/null @@ -1,43 +0,0 @@ -Summary: NFS-Ganesha 3 packages from the CentOS Storage SIG repository -Name: centos-release-nfs-ganesha30 -Version: 1.0 -Release: 3%{?dist} -License: GPLv2 -URL: http://wiki.centos.org/SpecialInterestGroup/Storage -Source0: CentOS-NFS-Ganesha-3.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 = 3 - -%description -yum configuration for NFS-Ganesha 3 packages from the CentOS Storage SIG. -NFS-Ganesha 3 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-3.repo -%if 0%{?centos} < 8 -sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-3.repo -%endif - -%files -%defattr(-,root,root) -%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-3.repo - -%changelog -* Mon Jun 21 2021 Kaleb S KEITHLEY - 1.0-3 -- c8stream - -* Mon Mar 23 2020 Kaleb S KEITHLEY - 1.0-2 -- mirrorlist - -* Fri Oct 11 2019 Kaleb S KEITHLEY - 1.0-1 -- NFS-Ganesha 3 diff --git a/SPECS/centos-release-nfs-ganesha4.spec b/SPECS/centos-release-nfs-ganesha4.spec new file mode 100644 index 0000000..900f03d --- /dev/null +++ b/SPECS/centos-release-nfs-ganesha4.spec @@ -0,0 +1,38 @@ +Summary: NFS-Ganesha 4 packages from the CentOS Storage SIG repository +Name: centos-release-nfs-ganesha4 +Version: 1.0 +Release: 1%{?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 +* Wed Nov 17 2021 Kaleb S KEITHLEY - 1.0-1 +- ganesha 4, c8stream +