Author: glen                         Date: Sat Mar  4 13:45:14 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use system python-elementtree and python-cElementTree
- add /var/lib/smart dir

---- Files affected:
SPECS:
   smart.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/smart.spec
diff -u SPECS/smart.spec:1.3 SPECS/smart.spec:1.4
--- SPECS/smart.spec:1.3        Sat Mar  4 13:32:30 2006
+++ SPECS/smart.spec    Sat Mar  4 14:45:08 2006
@@ -2,7 +2,7 @@
 Summary:       Next generation package handling tool
 Name:          smart
 Version:       0.41
-Release:       0.26.1
+Release:       0.26.5
 License:       GPL
 Group:         Applications/System
 URL:           http://labix.org/smart/
@@ -13,9 +13,12 @@
 Source3:       %{name}.desktop
 Source4:       %{name}-distro.py
 Patch0:                %{name}-mxddcl.patch
+Patch1:                %{name}-syslibs.patch
 BuildRequires: gcc-c++
 BuildRequires: python-devel >= 1:2.3
 BuildRequires: sed >= 4.0
+Requires:      python-cElementTree
+Requires:      python-elementtree
 Requires:      python-rpm
 %pyrequires_eq  python-modules
 #Requires:     usermode
@@ -30,8 +33,8 @@
 Requires:      smart = %{version}-%{release}
 
 %description update
-Allows execution of 'smart update' by normal users through a
-special suid command.
+Allows execution of 'smart update' by normal users through a special
+suid command.
 
 %package gui
 Summary:       Graphical user interface for the smart package manager
@@ -45,9 +48,13 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 # %{_libdir} is hardcoded
 %{__sed} -i -e's,/usr/lib/,%{_libdir}/,' smart/const.py
 
+rm -rf smart/util/elementtree
+rm -rf smart/util/celementtree
+
 %build
 export CFLAGS="%{rpmcflags}"
 python setup.py build
@@ -56,7 +63,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d 
$RPM_BUILD_ROOT{/etc/{pam.d,security/console.apps},%{_desktopdir},%{_pixmapsdir},%{_libdir}/smart}
+install -d 
$RPM_BUILD_ROOT{/etc/{pam.d,security/console.apps},%{_desktopdir},%{_pixmapsdir},%{_libdir}/smart,/var/lib/smart}
 python setup.py install -O1 --root=$RPM_BUILD_ROOT
 
 ln -sf consolehelper $RPM_BUILD_ROOT%{_bindir}/smart-root
@@ -103,6 +110,7 @@
 %config /etc/security/console.apps/smart-root
 %config /etc/pam.d/smart-root
 %{_libdir}/smart
+%dir /var/lib/smart
 
 %files update
 %defattr(644,root,root,755)
@@ -123,6 +131,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/03/04 13:45:08  glen
+- use system python-elementtree and python-cElementTree
+- add /var/lib/smart dir
+
 Revision 1.3  2006/03/04 12:32:30  glen
 - added sources
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/smart.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to