centos-release-storage-common is a package shared between the different
projects of the CentOS Storage SIG. This package contains the public GPG key
that is used for verification of the released RPMs.
This package needs to get built against the following targets so that the
packages land at the right tag for inclusion in CentOS Extras:
- core9s-extras-common-el9s.centos (tag: core9s-extras-common-candidate)
- core8s-extras-common-el8s.centos (tag: core8s-extras-common-candidate)
- core8-extras-common-el8.centos (tag: core8-extras-common-candidate)
- core7-extras-common-el7.centos (tag: core7-extras-common-candidate)
- core6-extras-common-el6.centos (tag: core6-extras-common-candidate)
Building the package can be done like this:
* create a src rpm for scratch builds
$ rpmbuild -bs \
--define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \
--define "dist .el9s.centos" \
SPECS/centos-release-storage-common.spec
* commit and push .spec
$ git add SPECS/*.spec
$ git push origin c8-sig-storage-ceph-pacific
* retrieve the commit:
$ git log|head -n 1
commit 29f19456be12986e86392652331e3a56ff0a88a0
* build
$ cbs build extras9s-extras-common-el9s \
git+https://git.centos.org/rpms/centos-release-storage-common.git#29f19456be12986e86392652331e3a56ff0a88a0
* scratch build
$ cbs --scratch \
build core9s-extras-common-el9s.centos \
centos-release-storage-common-2-2.el9s.centos.src.rpm