diff --git a/README.md b/README.md index a97dd25..08ecde4 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ -centos-release-nfs-ganesha28 provides the YUM repository file for packages -of the CentOS Storage SIG that are used with NFS-Ganesha 2.8. +centos-release-nfs-ganesha30 provides the YUM repository file for packages +of the CentOS Storage SIG that are used with NFS-Ganesha 3.0. This package needs to be built against the following targets so that the packages land at the right tag for inclusion in CentOS Extras: - - core6-extras-common-el6.centos (tag: core6-extras-common-candidate) - core7-extras-common-el7.centos (tag: core7-extras-common-candidate) Build the package ike this: @@ -13,9 +12,9 @@ Build the package ike this: $ rpmbuild -bs \ --define "_sourcedir $PWD" --define "_srcrpmdir $PWD" \ --define "dist .el7.centos" \ - centos-release-nfs-ganesha28.spec + centos-release-nfs-ganesha30.spec $ cbs \ build core7-extras-common-el7.centos \ - centos-release-nfs-ganesha28-1.0-1.el7.centos.src.rpm + centos-release-nfs-ganesha30-1.0-1.el7.centos.src.rpm diff --git a/SOURCES/CentOS-NFS-Ganesha-28.repo b/SOURCES/CentOS-NFS-Ganesha-28.repo deleted file mode 100644 index 6b29616..0000000 --- a/SOURCES/CentOS-NFS-Ganesha-28.repo +++ /dev/null @@ -1,20 +0,0 @@ -# CentOS-NFS-Ganesha-28.repo -# -# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more -# information - -[centos-nfs-ganesha28] -name=CentOS-$releasever - NFS Ganesha 2.8 -mirrorlist=https://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-nfs-ganesha-28 -#baseurl=https://mirror.centos.org/$contentdir/$releasever/storage/$basearch/nfs-ganesha-28/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - -[centos-nfs-ganesha28-test] -name=CentOS-$releasever - NFS Ganesha 2.8 Testing -baseurl=https://buildlogs.centos.org/centos/$releasever/storage/$basearch/nfs-ganesha-28/ -gpgcheck=0 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage - diff --git a/SOURCES/CentOS-NFS-Ganesha-30.repo b/SOURCES/CentOS-NFS-Ganesha-30.repo new file mode 100644 index 0000000..a2a0154 --- /dev/null +++ b/SOURCES/CentOS-NFS-Ganesha-30.repo @@ -0,0 +1,20 @@ +# CentOS-NFS-Ganesha-30.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-nfs-ganesha30] +name=CentOS-$releasever - NFS Ganesha 3.0 +mirrorlist=https://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-nfs-ganesha-30 +#baseurl=https://mirror.centos.org/$contentdir/$releasever/storage/$basearch/nfs-ganesha-30/ +gpgcheck=1 +enabled=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + +[centos-nfs-ganesha30-test] +name=CentOS-$releasever - NFS Ganesha 3.0 Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/storage/$basearch/nfs-ganesha-30/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage + diff --git a/SPECS/centos-release-nfs-ganesha28.spec b/SPECS/centos-release-nfs-ganesha28.spec deleted file mode 100644 index 4c8767a..0000000 --- a/SPECS/centos-release-nfs-ganesha28.spec +++ /dev/null @@ -1,40 +0,0 @@ -Summary: NFS-Ganesha 2.8 packages from the CentOS Storage SIG repository -Name: centos-release-nfs-ganesha28 -Version: 1.0 -Release: 2%{?dist} -License: GPLv2 -URL: http://wiki.centos.org/SpecialInterestGroup/Storage -Source0: CentOS-NFS-Ganesha-28.repo -BuildArch: noarch - -%if 0%{?centos} >= 7 -# $contentdir for altarch support was added with CentOS-7.5 -Requires: centos-release >= 7-5.1804.el7.centos.2 -%endif -# This provides the public key to verify the RPMs -Requires: centos-release-storage-common - -Provides: centos-release-nfs-ganesha = 28 - -%description -yum configuration for NFS-Ganesha 2.8 packages from the CentOS Storage SIG. -NFS-Ganesha 2.8 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-28.repo -%if 0%{?centos} < 7 -sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-28.repo -%endif - -%files -%defattr(-,root,root) -%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-28.repo - -%changelog -* Wed Jun 19 2019 Giulio Fidente - 1.0-2 -- Fix stale references to Gluster in the .repo file - -* Tue Jun 11 2019 Kaleb S KEITHLEY - 1.0-1 -- NFS-Ganesha 2.8 diff --git a/SPECS/centos-release-nfs-ganesha30.spec b/SPECS/centos-release-nfs-ganesha30.spec new file mode 100644 index 0000000..c6cbf2e --- /dev/null +++ b/SPECS/centos-release-nfs-ganesha30.spec @@ -0,0 +1,37 @@ +Summary: NFS-Ganesha 3.0 packages from the CentOS Storage SIG repository +Name: centos-release-nfs-ganesha30 +Version: 1.0 +Release: 1%{?dist} +License: GPLv2 +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source0: CentOS-NFS-Ganesha-30.repo +BuildArch: noarch + +%if 0%{?centos} >= 7 +# $contentdir for altarch support was added with CentOS-7.5 +Requires: centos-release >= 7-5.1804.el7.centos.2 +%endif +# This provides the public key to verify the RPMs +Requires: centos-release-storage-common + +Provides: centos-release-nfs-ganesha = 30 + +%description +yum configuration for NFS-Ganesha 3.0 packages from the CentOS Storage SIG. +NFS-Ganesha 3.0 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-30.repo +%if 0%{?centos} < 7 +sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-30.repo +%endif + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-30.repo + +%changelog +* Fri Oct 11 2019 Kaleb S KEITHLEY - 1.0-1 +- NFS-Ganesha 3.0