From af6d6682c0a7c8475e814269c4b5224c0dbaed2d Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Mar 18 2020 16:49:21 +0000 Subject: https://pagure.io/packaging-committee/issue/600 says don't use %systemd_requires, and it appears C8 took them seriously. --- diff --git a/SPECS/centos-release-gluster7.spec b/SPECS/centos-release-gluster7.spec index c15baaa..2c37926 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 >= 7-5.1804.el7.centos.2 -%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