From 4c8bd1d045763e7963cd9ee47d04c325bf5cc1bb Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Mar 19 2020 11:38:12 +0000 Subject: initial Signed-off-by: Kaleb S. KEITHLEY --- diff --git a/.centos-release-nfs-ganesha.metadata b/.centos-release-nfs-ganesha.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.centos-release-nfs-ganesha.metadata diff --git a/README.md b/README.md index 08ecde4..2be1f2b 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,17 @@ 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: - - core7-extras-common-el7.centos (tag: core7-extras-common-candidate) + - core7-extras-common-el8.centos (tag: core8-extras-common-candidate) Build the package ike this: $ rpmbuild -bs \ - --define "_sourcedir $PWD" --define "_srcrpmdir $PWD" \ - --define "dist .el7.centos" \ - centos-release-nfs-ganesha30.spec + --define "_sourcedir $PWD"/SOURCES --define "_srcrpmdir $PWD" \ + --define "dist .el8.centos" \ + SPECS/centos-release-nfs-ganesha3.spec $ cbs \ - build core7-extras-common-el7.centos \ - centos-release-nfs-ganesha30-1.0-1.el7.centos.src.rpm + build core8-extras-common-el8.centos \ + centos-release-nfs-ganesha3-1.0-1.el8.centos.src.rpm diff --git a/SOURCES/CentOS-NFS-Ganesha-3.repo b/SOURCES/CentOS-NFS-Ganesha-3.repo new file mode 100644 index 0000000..bcc4598 --- /dev/null +++ b/SOURCES/CentOS-NFS-Ganesha-3.repo @@ -0,0 +1,20 @@ +# CentOS-NFS-Ganesha-3.repo +# +# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more +# information + +[centos-nfs-ganesha3] +name=CentOS-$releasever - NFS Ganesha 3 +mirrorlist=https://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-nfsganesha-3 +#baseurl=https://mirror.centos.org/$contentdir/$releasever/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-$releasever - NFS Ganesha 3 Testing +baseurl=https://buildlogs.centos.org/centos/$releasever/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-30.repo b/SOURCES/CentOS-NFS-Ganesha-30.repo deleted file mode 100644 index a2a0154..0000000 --- a/SOURCES/CentOS-NFS-Ganesha-30.repo +++ /dev/null @@ -1,20 +0,0 @@ -# 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-ganesha3.spec b/SPECS/centos-release-nfs-ganesha3.spec new file mode 100644 index 0000000..e9f4cbb --- /dev/null +++ b/SPECS/centos-release-nfs-ganesha3.spec @@ -0,0 +1,37 @@ +Summary: NFS-Ganesha 3 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-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 +* Fri Oct 11 2019 Kaleb S KEITHLEY - 1.0-1 +- NFS-Ganesha 3 diff --git a/SPECS/centos-release-nfs-ganesha30.spec b/SPECS/centos-release-nfs-ganesha30.spec deleted file mode 100644 index c6cbf2e..0000000 --- a/SPECS/centos-release-nfs-ganesha30.spec +++ /dev/null @@ -1,37 +0,0 @@ -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