SPECS: free-sa.spec - add cache dir, rel 1 works

areq areq at pld-linux.org
Thu Apr 16 22:52:59 CEST 2009


Author: areq                         Date: Thu Apr 16 20:52:59 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add cache dir, rel 1 works

---- Files affected:
SPECS:
   free-sa.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/free-sa.spec
diff -u SPECS/free-sa.spec:1.9 SPECS/free-sa.spec:1.10
--- SPECS/free-sa.spec:1.9	Sun Apr 12 20:15:59 2009
+++ SPECS/free-sa.spec	Thu Apr 16 22:52:54 2009
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Generator raportów ze squida
 Name:		free-sa
 Version:	1.6.2
-Release:	0.1
+Release:	1
 License:	GPL v3
 Group:		Networking/Utilities
 Source0:	http://dl.sourceforge.net/free-sa/%{name}-%{version}.tar.gz
@@ -27,7 +27,7 @@
 
 %prep
 %setup -q
-#%patch0 -p0
+%patch0 -p1
 
 %build
 %{__make} \
@@ -43,7 +43,7 @@
 	WWWDIR=$RPM_BUILD_ROOT%{_datadir}/%{name}
 
 install -d $RPM_BUILD_ROOT%{_mandir}
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},/var/cache/%{name}}
 
 mv $RPM_BUILD_ROOT%{_prefix}/man/* $RPM_BUILD_ROOT%{_mandir}
 rm -rf $RPM_BUILD_ROOT%{_prefix}/{man,share/doc}
@@ -59,6 +59,7 @@
 %config(noreplace) %{_sysconfdir}/%{name}/*
 %attr(755,root,root) %{_bindir}/%{name}
 %dir %{_datadir}/%{name}
+%dir /var/cache/%{name}
 %{_datadir}/%{name}/*
 %{_mandir}/man[15]/*
 
@@ -68,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2009/04/16 20:52:54  areq
+- add cache dir, rel 1 works
+
 Revision 1.9  2009/04/12 18:15:59  areq
 - 1.6.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/free-sa.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list