From 30cdb8e345a054344815031f533875da5926face Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Jan 29 2018 19:30:48 +0000 Subject: Update to current packaging guidelines for systemd. --- diff --git a/iguanaIR.spec b/iguanaIR.spec index d1c03ed..ff117ff 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -38,11 +38,10 @@ BuildRequires: dos2unix BuildRequires: git BuildRequires: libusb1-devel, libusb-devel BuildRequires: popt-devel -BuildRequires: systemd-units +BuildRequires: systemd -Requires(post): systemd-units, systemd-sysv -Requires(preun): systemd-units -Requires(postun): systemd-units +%{?systemd_requires} +Requires(post): systemd-sysv # some features can be disabled during the rpm build %{?_without_clock_gettime: %define _disable_clock_gettime --disable-clock_gettime}