[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pptpclient-commits
Subject:    [pptpclient-commits] CVS: specs pptp.spec,1.6,1.7
From:       Paul Howarth <pghmcfc () users ! sourceforge ! net>
Date:       2005-08-10 13:29:05
Message-ID: E1E2qdl-0001BN-An () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/pptpclient/specs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4374

Modified Files:
	pptp.spec 
Log Message:
own directory /var/run/pptp so it gets deleted if we remove the package


Index: pptp.spec
===================================================================
RCS file: /cvsroot/pptpclient/specs/pptp.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- pptp.spec	28 Jul 2005 09:38:48 -0000	1.6
+++ pptp.spec	10 Aug 2005 13:29:02 -0000	1.7
@@ -5,7 +5,7 @@
 
 # Use "rpmbuild --define 'suse_version 1'" to build for SuSE system
 
-%define rpmrel 1
+%define rpmrel 2
 %{!?__id_u: %define __id_u /bin/id -u}
 
 Summary:	Point-to-Point Tunneling Protocol (PPTP) Client
@@ -43,6 +43,7 @@
 %install
 [ "$RPM_BUILD_ROOT" != "/" -a -n "$RPM_BUILD_ROOT" ] && %{__rm} -rf "$RPM_BUILD_ROOT"
 %{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__install} -d -m 750 $RPM_BUILD_ROOT%{_localstatedir}/run/pptp
 
 %clean
 [ "$RPM_BUILD_ROOT" != "/" -a -n "$RPM_BUILD_ROOT" ] && %{__rm} -rf "$RPM_BUILD_ROOT"
@@ -53,9 +54,12 @@
 %doc ChangeLog Documentation/DESIGN.PPTP
 %{_sbindir}/pptp
 %{_mandir}/man8/pptp.8*
+%dir %attr(750,root,root) %{_localstatedir}/run/pptp
 %config(noreplace) /etc/ppp/options.pptp
 
 %changelog
+* Wed Aug 10 2005 Paul Howarth <paul@city-fan.org> 1.7.0-2
+- own directory %{_localstatedir}/run/pptp
 * Thu Jul 28 2005 Paul Howarth <paul@city-fan.org> 1.7.0-1
 - define %%{__id_u} if it's not already done (e.g. on Mandriva)
 - explictly provide version/release for Provides:



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
pptpclient-commits mailing list
pptpclient-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pptpclient-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic