[pptp] Move tmpfiles.d config from %{_sysconfdir} to %{_prefix}/lib

Paul Howarth pghmcfc at fedoraproject.org
Wed Jul 4 10:15:39 UTC 2012


commit 2a602da89b90e887568d9ebcc80ddb0288780bcc
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Jul 4 11:15:05 2012 +0100

    Move tmpfiles.d config from %{_sysconfdir} to %{_prefix}/lib

 pptp.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/pptp.spec b/pptp.spec
index 3eb1d12..37d01a9 100644
--- a/pptp.spec
+++ b/pptp.spec
@@ -1,6 +1,6 @@
 Name:		pptp
 Version:	1.7.2
-Release:	14%{?dist}
+Release:	15%{?dist}
 Summary:	Point-to-Point Tunneling Protocol (PPTP) Client
 Group:		Applications/Internet
 License:	GPLv2+
@@ -131,8 +131,8 @@ install -d -m 750 %{buildroot}%{_localstatedir}/run/pptp
 # Make sure /var/run/pptp exists at boot time for systems
 # with /var/run on tmpfs (#656672)
 %if 0%{?fedora} > 14
-install -d -m 755 %{buildroot}%{_sysconfdir}/tmpfiles.d
-install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/tmpfiles.d/pptp.conf
+install -d -m 755 %{buildroot}%{_prefix}/lib/tmpfiles.d
+install -p -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/pptp.conf
 %endif
 
 %clean
@@ -143,7 +143,7 @@ rm -rf %{buildroot}
 %doc AUTHORS COPYING DEVELOPERS NEWS README TODO USING
 %doc ChangeLog Documentation/DESIGN.PPTP PROTOCOL-SECURITY
 %if 0%{?fedora} > 14
-%{_sysconfdir}/tmpfiles.d/pptp.conf
+%{_prefix}/lib/tmpfiles.d/pptp.conf
 %endif
 %{_sbindir}/pptp
 %{_mandir}/man8/pptp.8*
@@ -158,6 +158,9 @@ rm -rf %{buildroot}
 %{_mandir}/man8/pptpsetup.8*
 
 %changelog
+* Wed Jul  4 2012 Paul Howarth <paul at city-fan.org> 1.7.2-15
+- Move tmpfiles.d config from %%{_sysconfdir} to %%{_prefix}/lib
+
 * Wed Jan  4 2012 Paul Howarth <paul at city-fan.org> 1.7.2-14
 - Build with warning-fix patches to address occasional segfaults (#749455)
 - Patches have all now been merged upstream


More information about the scm-commits mailing list