From ef9ebd11efdc42f3b93af4709990004e89e85f80 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Mon, 29 Jan 2018 13:30:00 -0600 Subject: [PATCH] Update to current packaging guidelines for systemd. --- iguanaIR.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/iguanaIR.spec b/iguanaIR.spec index 2ced085..7e446fb 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -23,14 +23,13 @@ Requires: udev BuildRequires: cmake BuildRequires: libusb1-devel, libusb-devel BuildRequires: popt-devel -BuildRequires: systemd-units +BuildRequires: systemd # For patch-soname (xxd, util-linux) Buildrequires: /usr/bin/xxd BuildRequires: util-linux -Requires(post): systemd-units, systemd-sysv -Requires(preun): systemd-units -Requires(postun): systemd-units +%{?systemd_requires} +Requires(post): systemd-sysv # resolve cyclic dep iguanaIR <-> lirc. Once removed # in lirc, we can do the required so-bump.