mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
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 <ncutler@suse.com>
This commit is contained in:
parent
498578dba8
commit
800d974610
@ -137,6 +137,7 @@ BuildRequires: yasm
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%if 0%{?_with_systemd}
|
%if 0%{?_with_systemd}
|
||||||
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user