From a6fd82d3d0db607706abddb6fd037bbe6f3cbc46 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Jan 18 2022 20:18:34 +0000 Subject: again --- diff --git a/README.md b/README.md index 7dfd108..6d58338 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,31 @@ packages land at the right tag for inclusion in CentOS Extras: 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 .el8.centos" \ + SPECS/centos-release-storage-common.spec - $ rpmbuild -bs \ - --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ - --define "dist .el7.centos" \ - SPECS/centos-release-storage-common.spec - $ cbs \ +* 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 core8-extras-common-el8.centos \ + git+https://git.centos.org/rpms/centos-release-storage-common.git#29f19456be12986e86392652331e3a56ff0a88a0 + or + $ cbs build core8s-extras-common-el8s.centos \ + git+https://git.centos.org/rpms/centos-release-storage-common.git#29f19456be12986e86392652331e3a56ff0a88a0 + +* scratch build + $ cbs --scratch \ build core8-extras-common-el8.centos \ centos-release-storage-common-2-2.el8.centos.src.rpm +