From 4c51e4261286a41ee1b9e8d03eaf2bb278e05ce0 Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Thu, 9 Jan 2020 11:07:18 +0100 Subject: [PATCH] BR: systemd-rpm-macros rather than full systemd on Fedora --- rpm/lemonldap-ng.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm/lemonldap-ng.spec b/rpm/lemonldap-ng.spec index d105f9057..a02cb1620 100644 --- a/rpm/lemonldap-ng.spec +++ b/rpm/lemonldap-ng.spec @@ -171,7 +171,11 @@ BuildRequires: perl(XML::LibXML) BuildRequires: perl(XML::LibXSLT) BuildRequires: perl(XML::Simple) BuildRequires: perl(YAML) +%if 0%{?fedora} +BuildRequires: systemd-rpm-macros +%else BuildRequires: systemd +%endif Requires: lemonldap-ng-conf = %{version}-%{release} Requires: lemonldap-ng-doc = %{version}-%{release}