From 29cce8e1c56c4faa631409ad4647c379ec3a57fe Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Jan 25 2022 18:35:03 +0000 Subject: remove systemd, not necessary --- diff --git a/SPECS/centos-release-ceph-pacific.spec b/SPECS/centos-release-ceph-pacific.spec index d235e51..60058d8 100644 --- a/SPECS/centos-release-ceph-pacific.spec +++ b/SPECS/centos-release-ceph-pacific.spec @@ -5,17 +5,11 @@ Release: 1%{?dist} License: GPLv2 URL: http://wiki.centos.org/SpecialInterestGroup/Storage Source0: CentOS-Ceph-Pacific.repo -%if 0%{?centos} >= 8 -BuildRequires: systemd -%endif BuildArch: noarch %if 0%{?centos} >= 8 # $contentdir for altarch support was added with CentOS-8.5 Requires: centos-release >= 8-0.1905.el8 -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd %endif # This provides the public key to verify the RPMs Requires: centos-release-storage-common @@ -31,17 +25,6 @@ install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph- sed -i 's/i\$contentdir/centos/g' %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.repo %endif -%if 0%{?centos} >= 7 -%post -%systemd_post - -%preun -%systemd_preun - -%postun -%systemd_postun -%endif - %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Ceph-Pacific.repo