diff --git a/pesign.changes b/pesign.changes index 8a003bf..38c1c10 100644 --- a/pesign.changes +++ b/pesign.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 5 12:42:15 UTC 2020 - Dominique Leuenberger + +- Use %_tmpfilesdir instead of %{_libexecdir}/tmpfiles.d. + ------------------------------------------------------------------- Wed Dec 4 02:38:05 UTC 2019 - Gary Ching-Pang Lin diff --git a/pesign.spec b/pesign.spec index 83b0b3d..d229802 100644 --- a/pesign.spec +++ b/pesign.spec @@ -1,7 +1,7 @@ # # spec file for package pesign # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -89,7 +89,7 @@ getent passwd pesign >/dev/null || useradd -r -g pesign -d %{_localstatedir}/lib %post %service_add_post pesign.service -systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/pesign.conf || : +systemd-tmpfiles --create %{_tmpfilesdir}/pesign.conf || : %postun %service_del_postun pesign.service @@ -113,7 +113,7 @@ systemd-tmpfiles --create %{_libexecdir}/tmpfiles.d/pesign.conf || : %{_mandir}/man?/* %{_localstatedir}/lib/pesign %{_unitdir}/pesign.service -%{_libexecdir}/tmpfiles.d/pesign.conf +%{_tmpfilesdir}/pesign.conf %dir %{_libexecdir}/pesign %{_libexecdir}/pesign/pesign-authorize %dir %attr(0775,pesign,pesign) %{_sysconfdir}/pki/pesign