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)
#################################################################################
%if 0%{?suse_version}
%if 0%{?_with_systemd}
+BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
%endif