SPECS (AC-branch): poldek.spec - move _poldekmod.so to python dir ...

glen glen at pld-linux.org
Wed Jun 7 00:31:36 CEST 2006


Author: glen                         Date: Tue Jun  6 22:31:36 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- move _poldekmod.so to python dir for python to find it

---- Files affected:
SPECS:
   poldek.spec (1.197.2.76 -> 1.197.2.77) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.197.2.76 SPECS/poldek.spec:1.197.2.77
--- SPECS/poldek.spec:1.197.2.76	Wed Jun  7 00:26:44 2006
+++ SPECS/poldek.spec	Wed Jun  7 00:31:31 2006
@@ -11,7 +11,7 @@
 Summary(pl):	Pomocnicze narzędzie do zarządzania pakietami RPM
 Name:		poldek
 Version:	0.20
-Release:	9.1
+Release:	9.2
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://poldek.pld-linux.org/download/%{name}-%{version}.tar.bz2
@@ -43,10 +43,10 @@
 BuildRequires:	pcre-devel
 BuildRequires:	perl-tools-pod
 BuildRequires:	popt-devel
+BuildRequires:	python-devel
 BuildRequires:	readline-devel >= 5.0
 BuildRequires:	rpm-devel >= %{ver_rpm}
 BuildRequires:	zlib-devel
-BuildRequires:	python-devel
 %if %{with static}
 BuildRequires:	bzip2-static
 BuildRequires:	db-static >= %{ver_db}
@@ -238,6 +238,8 @@
 %find_lang %{name}
 
 %py_postclean
+install -d $RPM_BUILD_ROOT%{py_sitedir}
+mv $RPM_BUILD_ROOT{%{_libdir},%{py_sitedir}}/_poldekmod.so
 rm -f $RPM_BUILD_ROOT%{_libdir}/_poldekmod.la
 
 %clean
@@ -339,7 +341,7 @@
 
 %files -n python-poldek
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/_poldekmod.so
+%attr(755,root,root) %{py_sitedir}/_poldekmod.so
 %{py_sitescriptdir}/poldek.py[co]
 %{py_sitescriptdir}/poldekmod.py[co]
 
@@ -349,6 +351,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.197.2.77  2006/06/06 22:31:31  glen
+- move _poldekmod.so to python dir for python to find it
+
 Revision 1.197.2.76  2006/06/06 22:26:44  glen
 - build python bindings (shouldn't _poldekmod.so be in python dir?)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/poldek.spec?r1=1.197.2.76&r2=1.197.2.77&f=u



More information about the pld-cvs-commit mailing list