|
|
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" \
|
|
|
e4eeb6 |
--define "dist .el8s.centos" \
|
|
|
a6fd82 |
SPECS/centos-release-storage-common.spec
|
|
|
091193 |
|
|
|
091193 |
|
|
|
e4eeb6 |
* commit and push .spec
|
|
|
a6fd82 |
$ git add SPECS/*.spec
|
|
|
e4eeb6 |
$ git push origin c8s-sig-storage-common
|
|
|
a6fd82 |
|
|
|
a6fd82 |
* retrieve the commit:
|
|
|
a6fd82 |
$ git log|head -n 1
|
|
|
a6fd82 |
commit 29f19456be12986e86392652331e3a56ff0a88a0
|
|
|
a6fd82 |
|
|
|
e4eeb6 |
* build
|
|
|
e4eeb6 |
$ cbs build extras8s-extras-common-el8s \
|
|
|
a6fd82 |
git+https://git.centos.org/rpms/centos-release-storage-common.git#29f19456be12986e86392652331e3a56ff0a88a0
|
|
|
a6fd82 |
|
|
|
a6fd82 |
* scratch build
|
|
|
a6fd82 |
$ cbs --scratch \
|
|
|
e4eeb6 |
build core8s-extras-common-el8s.centos \
|
|
|
e4eeb6 |
centos-release-storage-common-1.0-1.el8s.centos.src.rpm
|
|
|
091193 |
|
|
|
a6fd82 |
|