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