diff --git a/README.md b/README.md index 8a2d2c3..55d584d 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,29 @@ 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-el8s.centos (tag: core8-extras-common-candidate) + - core9-extras-common-el9.centos (tag: core9-extras-common-candidate) Build the package ike this: - $ rpmbuild -bs \ +1. $ rpmbuild -bs \ --define "_sourcedir $PWD"/SOURCES --define "_srcrpmdir $PWD" \ - --define "dist .el8s.centos" \ + --define "dist .el9s.centos" \ SPECS/centos-release-nfs-ganesha4.spec +2. commit and push SPECS/centos-release-ceph.spec + $ git add SPECS/centos-release-nfs-ganesha4.spec + $ git push origin c9s-sig-storage-4 + +3. retrieve the commit for step 3: + $ git log|head -n 1 +commit 29f19456be12986e86392652331e3a56ff0a88a0 + +4. build + $ cbs build core9s-extras-common-el9s.centos git+https://git.centos.org/rpms/centos-release-nfs-ganesha.git#29f19456be12986e86392652331e3a56ff0a88a0 + + 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 + centos-release-nfs-ganesha4-1.0-1.el9s.centos.src.rpm diff --git a/SOURCES/CentOS-NFS-Ganesha-4.repo b/SOURCES/CentOS-NFS-Ganesha-4.repo index fc27514..494b19b 100644 --- a/SOURCES/CentOS-NFS-Ganesha-4.repo +++ b/SOURCES/CentOS-NFS-Ganesha-4.repo @@ -3,18 +3,24 @@ # Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more # information -[centos-nfs-ganesha4] +[centos-nfsganesha-4] name=CentOS-$stream - NFS Ganesha 4 -mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$stream&repo=storage-nfsganesha-4 +mirrorlist='https://mirrors.centos.org/metalink?repo=centos-storage-sig-nfsganesha-3-9-stream&arch=$basearch' #baseurl=https://mirror.centos.org/$contentdir/$stream/storage/$basearch/nfsganesha-4/ -gpgcheck=1 +gpgcheck=0 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage -[centos-nfs-ganesha4-test] +[centos-nfsganesha-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-nfsganesha-4-source] +name=CentOS-$stream - NFS-Ganesha 4 Source +baseurl=http://mirror.stream.centos.org/SIGs/9-stream/storage/source/nfsganesha-4/ +gpgcheck=0 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage