From 4530da9a5ef87ec8f2296d20a386239d14dc31b164ceba8b76842288b7ab972a Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Tue, 21 Feb 2017 14:04:25 +0000 Subject: [PATCH] Accepting request 457511 from home:eeich:branches:hardware - Create /usr/lib/tmpfiles.d/powerman.conf: Add systemd handling for temporary directory /var/run/powerman. OBS-URL: https://build.opensuse.org/request/show/457511 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=31 --- powerman.changes | 6 ++++++ powerman.spec | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/powerman.changes b/powerman.changes index 44a5bcb..0f857c6 100644 --- a/powerman.changes +++ b/powerman.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 15 17:24:43 UTC 2017 - eich@suse.com + +- Create /usr/lib/tmpfiles.d/powerman.conf: + Add systemd handling for temporary directory /var/run/powerman. + ------------------------------------------------------------------- Wed Jan 4 18:16:09 UTC 2017 - eich@suse.com diff --git a/powerman.spec b/powerman.spec index d963c16..87f899f 100644 --- a/powerman.spec +++ b/powerman.spec @@ -80,6 +80,10 @@ make %{?_smp_mflags} make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} +%{__mkdir} -p %{buildroot}%{_tmpfilesdir} +cat >> %{buildroot}%{_tmpfilesdir}/%{name}.conf <