From: Nathan Cutler Date: Tue, 6 Oct 2015 10:25:52 +0000 (+0200) Subject: ceph.spec.in: enable OBS post-build-checks to find systemd-tmpfiles X-Git-Tag: v9.1.0~26^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=800d97461063b63b30f3cdc51eada6b3966a884c;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 1086e9d564b..ba5111bdad5 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -137,6 +137,7 @@ BuildRequires: yasm ################################################################################# %if 0%{?suse_version} %if 0%{?_with_systemd} +BuildRequires: pkgconfig(systemd) BuildRequires: systemd-rpm-macros %{?systemd_requires} %endif