|
|
566a50 |
centos-release-nfs-ganesha5 provides the YUM repository file for packages
|
|
|
566a50 |
of the CentOS Storage SIG that are used with NFS-Ganesha 5.
|
|
|
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" \
|
|
|
566a50 |
--define "dist .el8s.centos" \
|
|
|
566a50 |
SPECS/centos-release-nfs-ganesha5.spec
|
|
|
f92320 |
|
|
|
ff05a7 |
2. commit and push SPECS/centos-release-ceph.spec
|
|
|
566a50 |
$ git add SPECS/centos-release-nfs-ganesha5.spec
|
|
|
566a50 |
$ git push origin c8s-sig-storage-5
|
|
|
ff05a7 |
|
|
|
ff05a7 |
3. retrieve the commit for step 3:
|
|
|
ff05a7 |
$ git log|head -n 1
|
|
|
ff05a7 |
commit 29f19456be12986e86392652331e3a56ff0a88a0
|
|
|
ff05a7 |
|
|
|
ff05a7 |
4. build
|
|
|
e3698f |
$ cbs build extras8s-extras-common-el8s git+https://git.centos.org/rpms/centos-release-nfs-ganesha.git#29f19456be12986e86392652331e3a56ff0a88a0
|
|
|
ff05a7 |
|
|
|
ff05a7 |
|
|
|
75ea76 |
Sanity check
|
|
|
566a50 |
$ cbs build --scratch storage8s-nfsganesha-5-el8s \
|
|
|
566a50 |
centos-release-nfs-ganesha5-1.0-1.el8s.centos.src.rpm
|
|
|
f92320 |
|