From b4175bf6dfa9a5fd148be5b23775415ef0e04c78 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Mon, 19 Jan 2015 10:52:46 +0100 Subject: [PATCH] Fix packaging of tmpfiles --- tog-pegasus.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tog-pegasus.spec b/tog-pegasus.spec index 25c13f6..17359c3 100644 --- a/tog-pegasus.spec +++ b/tog-pegasus.spec @@ -8,7 +8,7 @@ Name: tog-pegasus Version: %{major_ver}.0 -Release: 19%{?dist} +Release: 20%{?dist} Epoch: 2 Summary: OpenPegasus WBEM Services for Linux @@ -288,9 +288,8 @@ make -f $PEGASUS_ROOT/Makefile.Release stage \ PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR %endif -%if %{?fedora}0 > 140 || %{?rhel}0 > 60 - install -p -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/tmpfiles.d/tog-pegasus.conf -%endif +mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir} +install -p -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_tmpfilesdir}/tog-pegasus.conf # Install script to generate SSL certificates at startup mkdir -p $RPM_BUILD_ROOT/usr/share/Pegasus/scripts @@ -343,9 +342,7 @@ make prestarttests %dir /var/lib/Pegasus/log %defattr(0640, root, pegasus, 0750) %dir /etc/Pegasus -%if %{?fedora}0 > 140 || %{?rhel}0 > 60 - %config(noreplace) %{_sysconfdir}/tmpfiles.d/tog-pegasus.conf -%endif +%{_tmpfilesdir}/tog-pegasus.conf %ghost /var/run/tog-pegasus %ghost %attr(0640, root, pegasus) /var/run/tog-pegasus/cimserver.pid %ghost %attr(0640, root, pegasus) /var/run/tog-pegasus/cimserver_start.lock @@ -511,6 +508,9 @@ fi %changelog +* Mon Jan 19 2015 Vitezslav Crhonek - 2:2.13.0-20 +- Fix packaging of tmpfiles + * Mon Sep 22 2014 Vitezslav Crhonek - 2:2.13.0-19 - Fix missing space in generate-certs