SPECS: python-PyKDE.spec - update last commit message - proper per...

glen glen at pld-linux.org
Tue Nov 14 12:30:12 CET 2006


Author: glen                         Date: Tue Nov 14 11:30:12 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update last commit message
- proper perms for *.so
- do %py_postclean
- use python interp for kdepyuic

---- Files affected:
SPECS:
   python-PyKDE.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: SPECS/python-PyKDE.spec
diff -u SPECS/python-PyKDE.spec:1.43 SPECS/python-PyKDE.spec:1.44
--- SPECS/python-PyKDE.spec:1.43	Tue Nov 14 12:23:23 2006
+++ SPECS/python-PyKDE.spec	Tue Nov 14 12:30:06 2006
@@ -4,7 +4,7 @@
 Summary(pl):	Dowiązania do KDE dla Pythona
 Name:		python-%{module}
 Version:	3.16.0
-Release:	1
+Release:	1.1
 Epoch:		1
 License:	GPL
 Group:		Libraries/Python
@@ -59,6 +59,8 @@
 %setup -q -n PyKDE-%{version}
 %patch0 -p1
 
+%{__sed} -i -e '1s,#!.*/bin/env python,#!%{__python},' contrib/kdepyuic
+
 %build
 python configure.py \
 	-c -j 10 \
@@ -74,10 +76,13 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+
+# FIXME: shouldn't this library be packaged?
 ln -sf kde3/libkonsolepart.so $RPM_BUILD_ROOT%{_libdir}/libkonsolepart.so
 
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
 
 install contrib/kdepyuic $RPM_BUILD_ROOT%{_bindir}
 
@@ -87,10 +92,8 @@
 %files
 %defattr(644,root,root,755)
 %doc doc/*
-%attr(755,root,root) %{_bindir}/*
-%exclude %{_bindir}/kdepyuic
 %{py_sitedir}/*.py[co]
-%{py_sitedir}/*.so
+%attr(755,root,root) %{py_sitedir}/*.so
 
 %files devel
 %defattr(644,root,root,755)
@@ -103,9 +106,16 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2006/11/14 11:30:06  glen
+- update last commit message
+- proper perms for *.so
+- do %py_postclean
+- use python interp for kdepyuic
+
 Revision 1.43  2006/11/14 11:23:23  glen
 - needs PyQt >= 3.17 to build
 - move kdepyuic to -devel
+- do not package symlink with $RPM_BUILD_ROOT
 
 Revision 1.42  2006/11/14 08:53:51  matkor
 - Release 1. STBR for Ac.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-PyKDE.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list