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 a97dd25..67e3af3 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,17 @@ 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) + - core8-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" \ + --define "dist .el8.centos" \ centos-release-nfs-ganesha28.spec $ cbs \ - build core7-extras-common-el7.centos \ - centos-release-nfs-ganesha28-1.0-1.el7.centos.src.rpm + build core8-extras-common-el8.centos \ + centos-release-nfs-ganesha28-1.0-1.el8.centos.src.rpm diff --git a/SOURCES/CentOS-NFS-Ganesha-28.repo b/SOURCES/CentOS-NFS-Ganesha-28.repo index 6b29616..74a9024 100644 --- a/SOURCES/CentOS-NFS-Ganesha-28.repo +++ b/SOURCES/CentOS-NFS-Ganesha-28.repo @@ -5,15 +5,15 @@ [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/ +mirrorlist=https://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-nfsganesha-28 +#baseurl=https://mirror.centos.org/$contentdir/$releasever/storage/$basearch/nfsganesha-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/ +baseurl=https://buildlogs.centos.org/centos/$releasever/storage/$basearch/nfsganesha-28/ 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 index 4c8767a..1f9c763 100644 --- a/SPECS/centos-release-nfs-ganesha28.spec +++ b/SPECS/centos-release-nfs-ganesha28.spec @@ -7,9 +7,9 @@ URL: http://wiki.centos.org/SpecialInterestGroup/Storage Source0: CentOS-NFS-Ganesha-28.repo BuildArch: noarch -%if 0%{?centos} >= 7 +%if 0%{?centos} >= 8 # $contentdir for altarch support was added with CentOS-7.5 -Requires: centos-release >= 7-5.1804.el7.centos.2 +Requires: centos-release >= 7-5.1804.el8.centos.2 %endif # This provides the public key to verify the RPMs Requires: centos-release-storage-common @@ -24,7 +24,7 @@ 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 +%if 0%{?centos} < 8 sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-NFS-Ganesha-28.repo %endif