868e4b
This is a dist-git like repo for [GlusterFS](https://github.com/gluster/glusterfs).
868e4b
868e4b
The master brach is unused. Use an existing branch instead.
868e4b
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](https://wiki.centos.org/BrianStinson/GitBranchesandKojiTags)
868e4b
868e4b
* c6-sig-storage-gluster-5: CentOS-6, glusterfs-5
868e4b
* c7-sig-storage-gluster-5: CentOS-7, glusterfs-5
868e4b
* c7-sig-storage-gluster-6: CentOS-7, glusterfs-6
8b2522
* c8-sig-storage-gluster-7: CentOS-8, glusterfs-ld the src.rpm with:
868e4b
* ...
868e4b
868e4b
Instructions for building the glusterfs package for the CentOS Storage SIG can be found in the following places:
868e4b
868e4b
* [Comunity Build System](https://wiki.centos.org/HowTos/CommunityBuildSystem)
868e4b
* [Storage SIG landing page](https://wiki.centos.org/SpecialInterestGroup/Storage/Gluster)
868e4b
8b2522
8b2522
E.g. build the src.rpm with:
8b2522
    $ rpmbuild -bs \
8b2522
               --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \
8b2522
               --define "dist .el8" SPECS/glusterfs.spec
d10b6e
  or for C8 Stream:
d10b6e
    $ rpmbuild -bs \
d10b6e
               --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \
d10b6e
               --define "dist .el8s" SPECS/glusterfs.spec
8b2522
8b2522
To build:
d10b6e
    $ cbs build [--scratch] storage8-gluster-9-el8 glusterfs-9.2-1.el8.src.rpm
d10b6e
  or for C8 Stream:
d10b6e
    $ cbs build [--scratch] storage8s-gluster-9-el8s glusterfs-9.2-1.el8s.src.rpm
8b2522
8b2522