]> git-server-git.apps.pok.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, 6 Oct 2015 13:18:53 +0000 (15:18 +0200)
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>
ceph.spec.in

index 1086e9d564b9be26301cae05f6dab1e92e8e7d50..ba5111bdad503357a50299ef59f067d5dbcca817 100644 (file)
@@ -137,6 +137,7 @@ BuildRequires:      yasm
 #################################################################################
 %if 0%{?suse_version}
 %if 0%{?_with_systemd}
+BuildRequires:  pkgconfig(systemd)
 BuildRequires: systemd-rpm-macros
 %{?systemd_requires}
 %endif