SHA256
1
0
forked from pool/rrdtool

Accepting request 319729 from home:dimstar:Factory

- Ignore absence of systemd-tmpfiles, it won't be present in the
  build env.

Fixes build with systemd 222

OBS-URL: https://build.opensuse.org/request/show/319729
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/rrdtool?expand=0&rev=65
This commit is contained in:
Todd R 2015-08-03 09:52:22 +00:00 committed by Git OBS Bridge
parent 27f8f1a94e
commit 7fb7559166
2 changed files with 7 additions and 1 deletions

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 31 09:53:10 UTC 2015 - dimstar@opensuse.org
- Ignore absence of systemd-tmpfiles, it won't be present in the
build env.
-------------------------------------------------------------------
Tue Mar 10 11:26:06 UTC 2015 - p.drouand@gmail.com

@ -321,7 +321,7 @@ getent passwd %rrdcached_user >/dev/null || useradd -s /sbin/nologin -g %rrdcach
%post cached
%service_add_post rrdcached.service
%fillup_only rrdcached
systemd-tmpfiles --create %{_tmpfilesdir}/rrdcached.conf
systemd-tmpfiles --create %{_tmpfilesdir}/rrdcached.conf || :
%preun cached
%service_del_preun rrdcached.service