diff --git a/tpm2.0-abrmd.spec b/tpm2.0-abrmd.spec index e7e1493..30e2774 100644 --- a/tpm2.0-abrmd.spec +++ b/tpm2.0-abrmd.spec @@ -88,8 +88,8 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rctpm2-abrmd # systemd-presets-* packages rm %{buildroot}/usr/lib*/systemd/system-preset/tpm2-abrmd.preset %if ! 0%{?install_dbus_files} -rm -f %{_sysconfdir}/dbus-1/system.d/tpm2-abrmd.conf -rm -f %{_datadir}/dbus-1/system-services/com.intel.tss2.Tabrmd.service +rm %{buildroot}/%{_sysconfdir}/dbus-1/system.d/tpm2-abrmd.conf +rm %{buildroot}/%{_datadir}/dbus-1/system-services/com.intel.tss2.Tabrmd.service %endif %pre