From: Dominique Leuenberger Date: Thu, 4 Jul 2019 15:27:45 +0000 (+0200) Subject: Packaging: Drop systemd BuildRequires in case of building for SUSE X-Git-Tag: v15.1.0~2262^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b48ea142de50ea7b0242e7f478578b9ee8e31b8f;p=ceph.git Packaging: Drop systemd BuildRequires in case of building for SUSE There is already pkgconfig(systemd) present, which, in SUSE's packaging, translates to the same package (systemd.pc is shipped as part of the main systemd package). Not explicitly mentioning 'systemd' as package name allows the openSUSE Build Service though to find shortcuts by using the bootstrap packages, i.e. systemd-mini (ABI/API complete). Signed-off-by: Dominique Leuenberger --- diff --git a/ceph.spec.in b/ceph.spec.in index 08c40ee0dbea..ccb4725fab5a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -230,7 +230,6 @@ BuildRequires: yaml-cpp-devel %if 0%{?suse_version} BuildRequires: pkgconfig(systemd) BuildRequires: systemd-rpm-macros -BuildRequires: systemd %{?systemd_requires} PreReq: %fillup_prereq BuildRequires: net-tools