diff --git a/tpm2.0-abrmd.spec b/tpm2.0-abrmd.spec index 294ffb8..3d67fbc 100644 --- a/tpm2.0-abrmd.spec +++ b/tpm2.0-abrmd.spec @@ -38,8 +38,9 @@ URL: https://github.com/tpm2-software/tpm2-abrmd Source0: https://github.com/tpm2-software/tpm2-abrmd/releases/download/%{version}/tpm2-abrmd-%{version}.tar.gz Source1: https://github.com/tpm2-software/tpm2-abrmd/releases/download/%{version}/tpm2-abrmd-%{version}.tar.gz.asc # curl https://github.com/flihp.gpg > tpm2-abrmd.keyring -Source2: tpm2.0-abrmd.rpmlintrc -Source3: README.SUSE +Source2: tpm2-abrmd.keyring +Source3: tpm2.0-abrmd.rpmlintrc +Source4: README.SUSE Patch0: harden_tpm2-abrmd.service.patch Patch1: dbus-access.patch BuildRequires: autoconf-archive @@ -124,7 +125,7 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rctpm2-abrmd # don't install the systemd preset, our presets are handled by # systemd-presets-* packages rm %{buildroot}%{_prefix}/lib*/systemd/system-preset/tpm2-abrmd.preset -cp %{SOURCE3} . +cp %{SOURCE4} . %if ! 0%{?install_dbus_files} rm %{buildroot}/%{_sysconfdir}/dbus-1/system.d/tpm2-abrmd.conf rm %{buildroot}/%{_datadir}/dbus-1/system-services/com.intel.tss2.Tabrmd.service