SPECS: inflow.spec - directory for data

blues blues at pld-linux.org
Thu Aug 21 17:10:42 CEST 2008


Author: blues                        Date: Thu Aug 21 15:10:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- directory for data

---- Files affected:
SPECS:
   inflow.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/inflow.spec
diff -u SPECS/inflow.spec:1.1 SPECS/inflow.spec:1.2
--- SPECS/inflow.spec:1.1	Thu Aug 21 17:02:09 2008
+++ SPECS/inflow.spec	Thu Aug 21 17:10:37 2008
@@ -13,6 +13,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sysconfdir	/etc/%{name}
+%define		_pkgdir		%{_var}/lib/%{name}
 
 %description
 The inflow package is a set of currently four scripts written to find
@@ -30,7 +31,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{perl_privlib}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{perl_privlib},%{_pkgdir}}
 
 install inflow-collect inflow-plot inflow-stat outflow-stat $RPM_BUILD_ROOT%{_bindir}
 install inflow.conf olm-lookup $RPM_BUILD_ROOT%{_sysconfdir}
@@ -46,6 +47,7 @@
 %attr(640,root,news) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
 %{perl_privlib}/%{name}.pm
+%attr(750,root,news) %dir %{_pkgdir}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -53,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/08/21 15:10:37  blues
+- directory for data
+
 Revision 1.1  2008/08/21 15:02:09  blues
 - initial
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/inflow.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list