From c9e802139d4735252b5e41a063f1c2bffbf02739 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Jan 25 2022 18:43:06 +0000 Subject: no systemd --- diff --git a/SPECS/centos-release-ceph-quincy.spec b/SPECS/centos-release-ceph-quincy.spec index fd146d1..ee7ce28 100644 --- a/SPECS/centos-release-ceph-quincy.spec +++ b/SPECS/centos-release-ceph-quincy.spec @@ -5,17 +5,11 @@ Release: 1%{?dist} License: GPLv2 URL: http://wiki.centos.org/SpecialInterestGroup/Storage Source0: CentOS-Ceph-Quincy.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-Quincy.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-Quincy.repo