|
|
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 |
|
|
|
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" \
|
|
|
a6fd82 |
--define "dist .el8.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
|
|
|
a6fd82 |
$ cbs build core8-extras-common-el8.centos \
|
|
|
a6fd82 |
git+https://git.centos.org/rpms/centos-release-storage-common.git#29f19456be12986e86392652331e3a56ff0a88a0
|
|
|
a6fd82 |
or
|
|
|
a6fd82 |
$ cbs build core8s-extras-common-el8s.centos \
|
|
|
a6fd82 |
git+https://git.centos.org/rpms/centos-release-storage-common.git#29f19456be12986e86392652331e3a56ff0a88a0
|
|
|
a6fd82 |
|
|
|
a6fd82 |
* scratch build
|
|
|
a6fd82 |
$ cbs --scratch \
|
|
|
91a08e |
build core8-extras-common-el8.centos \
|
|
|
91a08e |
centos-release-storage-common-2-2.el8.centos.src.rpm
|
|
|
091193 |
|
|
|
a6fd82 |
|