spec: specify paths to *-initrd.service files from the buildroot

Fixes: 91e36ea214 ('spec: don't install *-initrd.services')
This commit is contained in:
Íñigo Huguet
2025-03-04 07:19:56 +01:00
parent 91e36ea214
commit a60ca31fd9

View File

@@ -761,9 +761,9 @@ rm -f %{buildroot}%{_libdir}/pppd/%{ppp_version}/*.la
rm -f %{buildroot}%{nmplugindir}/*.la
# Don't use the *-initrd.service files yet, wait dracut to support them
rm -f %{_unitdir}/NetworkManager-config-initrd.service
rm -f %{_unitdir}/NetworkManager-initrd.service
rm -f %{_unitdir}/NetworkManager-wait-online-initrd.service
rm -f %{buildroot}%{_unitdir}/NetworkManager-config-initrd.service
rm -f %{buildroot}%{_unitdir}/NetworkManager-initrd.service
rm -f %{buildroot}%{_unitdir}/NetworkManager-wait-online-initrd.service
# Ensure the documentation timestamps are constant to avoid multilib conflicts
find %{buildroot}%{_datadir}/gtk-doc -exec touch --reference meson.build '{}' \+