From 4281ba40c53dfef1eaee286faa5936b5814e566d343d10d9ceb7bbda2e0f674c Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Mon, 11 Jul 2022 11:24:21 +0000 Subject: [PATCH] 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 --- tpm2-0-tss.changes | 6 ++++++ tpm2-0-tss.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tpm2-0-tss.changes b/tpm2-0-tss.changes index fcc4cef..bcad9a5 100644 --- a/tpm2-0-tss.changes +++ b/tpm2-0-tss.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 11 11:19:36 UTC 2022 - Alberto Planas Dominguez + +- 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 diff --git a/tpm2-0-tss.spec b/tpm2-0-tss.spec index 12c3d3b..c075011 100644 --- a/tpm2-0-tss.spec +++ b/tpm2-0-tss.spec @@ -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