75ea76
centos-release-nfs-ganesha4 provides the YUM repository file for packages
75ea76
of the CentOS Storage SIG that are used with NFS-Ganesha 4.
f92320
f92320
This package needs to be built against the following targets so that the
f92320
packages land at the right tag for inclusion in CentOS Extras:
f92320
ff05a7
 - core9-extras-common-el9.centos (tag: core9-extras-common-candidate)
f92320
f92320
Build the package ike this:
f92320
f92320
ff05a7
1. $ rpmbuild -bs \
4c8bd1
               --define "_sourcedir $PWD"/SOURCES --define "_srcrpmdir $PWD" \
ff05a7
               --define "dist .el9s.centos" \
75ea76
               SPECS/centos-release-nfs-ganesha4.spec
f92320
ff05a7
2. commit and push SPECS/centos-release-ceph.spec
ff05a7
    $ git add SPECS/centos-release-nfs-ganesha4.spec
ff05a7
    $ git push origin c9s-sig-storage-4
ff05a7
ff05a7
3. retrieve the commit for step 3:
ff05a7
    $ git log|head -n 1
ff05a7
commit 29f19456be12986e86392652331e3a56ff0a88a0
ff05a7
ff05a7
4. build
ff05a7
    $ cbs build core9s-extras-common-el9s.centos git+https://git.centos.org/rpms/centos-release-nfs-ganesha.git#29f19456be12986e86392652331e3a56ff0a88a0
ff05a7
ff05a7
75ea76
Sanity check
75ea76
    $ cbs build --scratch storage9s-nfsganesha-4-el9s \
ff05a7
           centos-release-nfs-ganesha4-1.0-1.el9s.centos.src.rpm
f92320