SHA256
1
0
forked from pool/tpm2-0-tss

Accepting request 988348 from home:aplanas:branches:security

- Revert "Add version the configuration file tpm2-tss-fapi.conf"
  This generate whitelist problems in rpmlint.

OBS-URL: https://build.opensuse.org/request/show/988348
OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=122
This commit is contained in:
Alberto Planas 2022-07-11 11:24:21 +00:00 committed by Git OBS Bridge
parent 4623b2e0a3
commit 4281ba40c5
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 11 11:19:36 UTC 2022 - Alberto Planas Dominguez <aplanas@suse.com>
- Revert "Add version the configuration file tpm2-tss-fapi.conf"
This generate whitelist problems in rpmlint.
-------------------------------------------------------------------
Fri Jul 8 11:52:40 UTC 2022 - Alberto Planas Dominguez <aplanas@suse.com>

View File

@ -205,8 +205,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules %{buildroot}%{_udevrulesdir}/%{udev_rule_file}
# Conflicts with system-users
rm %{buildroot}%{_sysusersdir}/tpm2-tss.conf
# Add version into the configuration tmpfiles.d configuration file
mv %{buildroot}%{_tmpfilesdir}/tpm2-tss-fapi.conf %{buildroot}%{_tmpfilesdir}/tpm2-tss-fapi-%{version}.conf
%post
%{_bindir}/udevadm trigger -s tpm -s tpmrm || :
@ -278,7 +276,7 @@ mv %{buildroot}%{_tmpfilesdir}/tpm2-tss-fapi.conf %{buildroot}%{_tmpfilesdir}/tp
%files -n libtss2-fapi1
%{_libdir}/libtss2-fapi.so.*
%{_tmpfilesdir}/tpm2-tss-fapi-%{version}.conf
%{_tmpfilesdir}/tpm2-tss-fapi.conf
# this would fix "tmpfile-not-in-filelist" warnings but when adding these
# entries then it complains about "directories not owned by a package:" for
# /run/tpm2-0-tss & friends. When adding them as %%ghost, too, then Leap15.1