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
This commit is contained in:
Alberto Planas 2022-07-08 09:36:10 +00:00 committed by Git OBS Bridge
parent 892426b7ff
commit aff03c95a6

View File

@ -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