README.md

This is a dist-git like repo for GlusterFS.

The master brach is unused. Use an existing branch instead. Branch names follow convention like c<VERSION>-sig-storage-gluster-<GLUSTERFS-VERSION> as descibed on Naming and Patterns for Mapping Git Branches to Koji Tags

  • c6-sig-storage-gluster-5: CentOS-6, glusterfs-5
  • c7-sig-storage-gluster-5: CentOS-7, glusterfs-5
  • c7-sig-storage-gluster-6: CentOS-7, glusterfs-6
  • c8-sig-storage-gluster-7: CentOS-8, glusterfs-ld the src.rpm with:
  • ...

Instructions for building the glusterfs package for the CentOS Storage SIG can be found in the following places:

E.g. build a src.rpm with: $ rpmbuild -bs \ --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ --define "dist .el9s" SPECS/glusterfs.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/glusterfs-9.3.tar.gz -n glusterfs -b c9s-sig-storage-gluster-9

  2. update the .glusterfs.metadata with the hash from step 1: $ cat .glusterfs.metadata e9c6a6a482b8e46117c2a6c37b50c569bd62d92e SOURCES/glusterfs-9.3.tar.gz

  3. commit and push SPECS/glusterfs.spec and .glusterfs.metadata, e.g.: $ git add SPECS/glusterfs.spec .glusterfs.metadata $ git push origin c9s-sig-storage-gluster-9

  4. retrieve the commit for step 3: $ git log|head -n 1 commit 29f1945

  5. build $ cbs build storage9s-gluster-9-el9s git+https://git.centos.org/rpms/glusterfs.git#29f19456be12986e86392652331e3a56ff0a88a0

You can do scratch builds from a source RPM with, e.g.: $ cbs build --scratch storage9s-gluster-9-el9s glusterfs-9.3-2.el9s.src.rpm