From aff03c95a69686c2ee389f109251e2fd93a21c22f633ffc90afbb1ab0a73c8fd Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Fri, 8 Jul 2022 09:36:10 +0000 Subject: [PATCH] Accepting request 987871 from home:aplanas:branches:security OBS-URL: https://build.opensuse.org/request/show/987871 OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=69 --- tpm2.0-abrmd.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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