SPECS: smart.spec - add /var/lib/smart/{channels, packages} dirs, a...

glen glen at pld-linux.org
Wed Dec 26 17:03:59 CET 2007


Author: glen                         Date: Wed Dec 26 16:03:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add /var/lib/smart/{channels,packages} dirs, and cache,config ghostfiles

---- Files affected:
SPECS:
   smart.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/smart.spec
diff -u SPECS/smart.spec:1.32 SPECS/smart.spec:1.33
--- SPECS/smart.spec:1.32	Wed Dec 26 15:24:00 2007
+++ SPECS/smart.spec	Wed Dec 26 17:03:54 2007
@@ -132,7 +132,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_libdir}/smart,/var/lib/smart}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_libdir}/smart,/var/lib/smart/{channels,packages}}
 python setup.py install -O1 --root=$RPM_BUILD_ROOT
 
 cp -f contrib/smart-update/smart-update $RPM_BUILD_ROOT%{_bindir}
@@ -150,6 +150,8 @@
 
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{es_ES,es}
 
+touch $RPM_BUILD_ROOT/var/lib/smart/packages/{cache,config}
+
 %find_lang %{name}
 %py_postclean
 
@@ -163,6 +165,10 @@
 %{_mandir}/man8/smart.8*
 %{_libdir}/smart
 %dir /var/lib/smart
+%dir /var/lib/smart/channels
+%dir /var/lib/smart/packages
+%ghost /var/lib/smart/packages/cache
+%ghost /var/lib/smart/packages/config
 
 %attr(755,root,root) %{py_sitedir}/%{module}/ccache.so
 %attr(755,root,root) %{py_sitedir}/%{module}/util/cdistance.so
@@ -236,6 +242,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2007-12-26 16:03:54  glen
+- add /var/lib/smart/{channels,packages} dirs, and cache,config ghostfiles
+
 Revision 1.32  2007-12-26 14:24:00  glen
 - S: smart-config
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/smart.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list