Require systemd-rpm-macros for build

We use our own macros. They get pulled into the buildroot in Fedora
builds, but we shouldn't rely on this. In OBS builds, they are not
pulled in and the build fails.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2025-10-23 20:40:58 +02:00
commit 7208fa2b1b

View file

@ -161,6 +161,9 @@ BuildRequires: libselinux-devel
BuildRequires: audit-libs-devel
%if %{without bootstrap}
BuildRequires: cryptsetup-devel
# Require (previous version) of our macros package.
# We use the %%systemd_{post,preun,…} macros for various services.
BuildRequires: systemd-rpm-macros
%endif
BuildRequires: dbus-devel
BuildRequires: util-linux