Fix packaging of tmpfiles
This commit is contained in:
parent
1ab3846fb3
commit
b4175bf6df
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: tog-pegasus
|
Name: tog-pegasus
|
||||||
Version: %{major_ver}.0
|
Version: %{major_ver}.0
|
||||||
Release: 19%{?dist}
|
Release: 20%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: OpenPegasus WBEM Services for Linux
|
Summary: OpenPegasus WBEM Services for Linux
|
||||||
|
|
||||||
@ -288,9 +288,8 @@ make -f $PEGASUS_ROOT/Makefile.Release stage \
|
|||||||
PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR
|
PEGASUS_STAGING_DIR=$PEGASUS_STAGING_DIR
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
|
||||||
install -p -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/tmpfiles.d/tog-pegasus.conf
|
install -p -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_tmpfilesdir}/tog-pegasus.conf
|
||||||
%endif
|
|
||||||
|
|
||||||
# Install script to generate SSL certificates at startup
|
# Install script to generate SSL certificates at startup
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/share/Pegasus/scripts
|
mkdir -p $RPM_BUILD_ROOT/usr/share/Pegasus/scripts
|
||||||
@ -343,9 +342,7 @@ make prestarttests
|
|||||||
%dir /var/lib/Pegasus/log
|
%dir /var/lib/Pegasus/log
|
||||||
%defattr(0640, root, pegasus, 0750)
|
%defattr(0640, root, pegasus, 0750)
|
||||||
%dir /etc/Pegasus
|
%dir /etc/Pegasus
|
||||||
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
|
%{_tmpfilesdir}/tog-pegasus.conf
|
||||||
%config(noreplace) %{_sysconfdir}/tmpfiles.d/tog-pegasus.conf
|
|
||||||
%endif
|
|
||||||
%ghost /var/run/tog-pegasus
|
%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.pid
|
||||||
%ghost %attr(0640, root, pegasus) /var/run/tog-pegasus/cimserver_start.lock
|
%ghost %attr(0640, root, pegasus) /var/run/tog-pegasus/cimserver_start.lock
|
||||||
@ -511,6 +508,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 19 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.13.0-20
|
||||||
|
- Fix packaging of tmpfiles
|
||||||
|
|
||||||
* Mon Sep 22 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.13.0-19
|
* Mon Sep 22 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.13.0-19
|
||||||
- Fix missing space in generate-certs
|
- Fix missing space in generate-certs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user