]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: enable OBS post-build-checks to find systemd-tmpfiles
authorNathan Cutler <ncutler@suse.com>
Tue, 6 Oct 2015 10:25:52 +0000 (12:25 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2015 10:24:20 +0000 (11:24 +0100)
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 <ncutler@suse.com>
(cherry picked from commit 800d97461063b63b30f3cdc51eada6b3966a884c)

ceph.spec.in

index 3b79c74802f018d7b77c0648137695ee325fe4c1..dcabefb6dc97b4c46687b838517ce048b29083cd 100644 (file)
@@ -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