From b6f3a8890f0d1a63d07dac48e9fe5374fabd33ea Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 6 Oct 2015 12:25:52 +0200 Subject: [PATCH] ceph.spec.in: enable OBS post-build-checks to find systemd-tmpfiles The openSUSE Build Service runs a number of "post-build checks" after the RPMs have been generated. One of these tests the RPM scriptlets for idempotence. Without this line in the specfile, the check fails on SLE_12 because it cannot find the systemd-tmpfiles binary. http://tracker.ceph.com/issues/13375 Fixes: #13375 Signed-off-by: Nathan Cutler (cherry picked from commit 800d97461063b63b30f3cdc51eada6b3966a884c) --- ceph.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph.spec.in b/ceph.spec.in index 3b79c74802f01..dcabefb6dc97b 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -116,6 +116,7 @@ BuildRequires: net-tools ################################################################################# %if 0%{?suse_version} %if 0%{?_with_systemd} +BuildRequires: pkgconfig(systemd) BuildRequires: systemd-rpm-macros %{?systemd_requires} %endif -- 2.39.5