From 1df00c5e953c3e18d744979a59842dac950a1089 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Jul 01 2021 15:18:22 +0000 Subject: rebuild from lookaside --- diff --git a/README.md b/README.md index d3a18a2..42fed2c 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,36 @@ can be found in the following places: * [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) - -Create a src.rpm with: +E.g. build a src.rpm with: $ rpmbuild -bs \ --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ --define "dist .el8" SPECS/ceph.spec +Get the lookaside uploader script from ssh://git@git.centos.org/centos-git-common.git + To build: +1. Upload the source tar file to the lookaside cache, e.g.: + $ lookaside_upload -f SOURCES/ceph-15.2.13.tar.gz -n ceph -b c8-sig-storage-ceph-octopus + +2. update the .glusterfs.metadata with the hash from step 1: + $ cat .ceph.metadata +e9c6a6a482b8e46117c2a6c37b50c569bd62d92e SOURCES/ceph-15.2.13.tar.gz + +3. commit and push SPECS/ceph.spec and .ceph.metadata, e.g.: + $ git add SPECS/ceph.spec .ceph.metadata + $ git push origin c8-sig-storage-ceph-octopus + +4. retrieve the commit for step 3: + $ git log|head -n 1 +commit 29f19456be12986e86392652331e3a56ff0a88a0 + +5. build + $ cbs build storage8-ceph-octopus-el8 git+https://git.centos.org/rpms/ceph.git#29f19456be12986e86392652331e3a56ff0a88a0 + + + $ cbs build [--scratch] storage8-ceph-octopus-el8 ceph-15.2.13-1.el8.src.rpm diff --git a/SPECS/ceph.spec b/SPECS/ceph.spec index 8f2350c..ee0f61c 100644 --- a/SPECS/ceph.spec +++ b/SPECS/ceph.spec @@ -101,7 +101,7 @@ ################################################################################# Name: ceph Version: 15.2.13 -Release: 2%{?dist} +Release: 3%{?dist} %if 0%{?fedora} || 0%{?rhel} Epoch: 2 %endif @@ -2403,6 +2403,9 @@ exit 0 %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %changelog +* Thu Jul 1 2021 Kaleb S. KEITHLEY - 2:15.2.13-3 +- ceph 15.2.13, rebuild from lookaside + * Thu May 27 2021 Kaleb S. KEITHLEY - 2:15.2.13-2 - ceph 15.2.13, rebuild with gperftools-2.7.90