From 694e5f61479db4e481277d548029ab395710132f Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Jan 31 2022 16:52:33 +0000 Subject: CentOS Release Gluster 9 for Stream 9 --- diff --git a/README.md b/README.md index 69ee94c..c4c3c43 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,9 @@ -centos-release-gluster9 provides the YUM repository file for the -CentOS Storage SIG that provide GlusterFS 9. +centos-release-gluster9 provides the YUM repository file for the CentOS Storage +SIG that provide GlusterFS 9. -This package needs to get built against the following targets so that the -packages land at the right tag for inclusion in CentOS Extras: - - - core7-extras-common-el7.centos (tag: core7-extras-common-candidate) - - core8-extras-common-el8.centos (tag: core8-extras-common-candidate) +This package needs to get built against the targets so that the packages land +at the right tag for inclusion in CentOS Extras. Building the package can be done like this: - $ rpmbuild -bs \ - --define "_sourcedir $PWD/SOURCES" --define "_srcrpmdir $PWD" \ - --define "dist .el8.centos" \ - SPECS/centos-release-gluster9.spec - - $ cbs build core8-extras-common-el8.centos \ - centos-release-gluster9-0.1-1.el8.centos.src.rpm - + $ cbs build extras9s-extras-common-el9s "git+https://git.centos.org/rpms/centos-release-gluster.git#$(git log -1 --format=format:%H)" diff --git a/SPECS/centos-release-gluster9.spec b/SPECS/centos-release-gluster9.spec index 46b5a58..878f508 100644 --- a/SPECS/centos-release-gluster9.spec +++ b/SPECS/centos-release-gluster9.spec @@ -40,13 +40,13 @@ install -D -m 644 %{SOURCE1} %{buildroot}%{_presetdir}/$(basename %{SOURCE1}) %if 0%{?centos} >= 8 %post -%systemd_post +%systemd_post glusterd.service %preun -%systemd_preun +%systemd_preun glusterd.service %postun -%systemd_postun +%systemd_postun glusterd.service %endif %files