diff --git a/README.md b/README.md index 01d5539..49c2d12 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ Instructions for building the glusterfs package for the CentOS Storage SIG can b * [Comunity Build System](https://wiki.centos.org/HowTos/CommunityBuildSystem) * [Storage SIG landing page](https://wiki.centos.org/SpecialInterestGroup/Storage/Gluster) +* [SIGGuide](https://wiki.centos.org/SIGGuide#SIGGuide.2FContent.2FImport.Pushing_first_to_lookaside_cache) - -E.g. build the src.rpm with: +E.g. build a src.rpm with: $ rpmbuild -bs \ --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ --define "dist .el8" SPECS/glusterfs.spec @@ -26,6 +26,27 @@ E.g. build the src.rpm with: To build: +1. Upload the source tar file to the lookaside cache, e.g.: + $ lookaside_upload -f SOURCES/glusterfs-8.5.tar.gz -n glusterfs -b c8-sig-storage + +2. update the .glusterfs.metadata with the hash from step 1: + $ cat .glusterfs.metadata +e9c6a6a482b8e46117c2a6c37b50c569bd62d92e SOURCES/glusterfs-8.5.tar.gz + +3. commit and push SPECS/glusterfs.spec and .glusterfs.metadata, e.g.: + $ git add SPECS/glusterfs.spec .glusterfs.metadata + $ git push origin c8-sig-storage-gluster-8 + +4. retrieve the commit for step 3: + $ git log|head -n 1 +commit 29f19456be12986e86392652331e3a56ff0a88a0 + +5. build + $ cbs build storage8-gluster-8-el8 git+https://git.centos.org/rpms/glusterfs.git#29f19456be12986e86392652331e3a56ff0a88a0 + + + + $ cbs build [--scratch] storage8-gluster-8-el8 glusterfs-8.5-1.el8.src.rpm or for C8 Stream: $ cbs build [--scratch] storage8s-gluster-8-el8s glusterfs-8.5-1.el8s.src.rpm diff --git a/SPECS/glusterfs.spec b/SPECS/glusterfs.spec index f19b4be..8da84dd 100644 --- a/SPECS/glusterfs.spec +++ b/SPECS/glusterfs.spec @@ -206,7 +206,7 @@ Summary: Distributed File System %if ( 0%{_for_fedora_koji_builds} ) Name: glusterfs Version: 8.5 -Release: 1%{?dev:%{dev}}%{?dist} +Release: 2%{?dev:%{dev}}%{?dist} %else Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ @@ -1612,6 +1612,9 @@ exit 0 %endif %changelog +* Thu Jul 1 2021 Kaleb S. KEITHLEY - 8.5-5 +- 8.5, build from lookaside + * Mon May 10 2021 Kaleb S. KEITHLEY - 8.5-4 - 8.5 GA