Accepting request 800368 from home:dimstar:Factory

- Use %_tmpfilesdir instead of %{_libexecdir}/tmpfiles.d.

OBS-URL: https://build.opensuse.org/request/show/800368
OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=56
This commit is contained in:
Gary Ching-Pang Lin 2020-05-06 01:06:06 +00:00 committed by Git OBS Bridge
parent 785a24a77a
commit a6fc646b97
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 5 12:42:15 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %_tmpfilesdir instead of %{_libexecdir}/tmpfiles.d.
-------------------------------------------------------------------
Wed Dec 4 02:38:05 UTC 2019 - Gary Ching-Pang Lin <glin@suse.com>

View File

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