From 4cbd29d036708c2a309c298a7c95356f1939743a Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Mar 18 2020 16:51:30 +0000 Subject: https://pagure.io/packaging-committee/issue/600 says don't use %systemd_requires. And C8 seems to have taken it to heart --- diff --git a/SPECS/centos-release-gluster7.spec b/SPECS/centos-release-gluster7.spec index f19d2ce..f2dbf97 100644 --- a/SPECS/centos-release-gluster7.spec +++ b/SPECS/centos-release-gluster7.spec @@ -14,7 +14,9 @@ BuildArch: noarch %if 0%{?centos} >= 7 # $contentdir for altarch support was added with CentOS-7.5 Requires: centos-release >= 8.1 -%systemd_requires +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd %endif # This provides the public key to verify the RPMs Requires: centos-release-storage-common