SPECS (DEVEL): libopensync.spec - better python 2.6 fix

shadzik shadzik at pld-linux.org
Fri Nov 21 19:52:46 CET 2008


Author: shadzik                      Date: Fri Nov 21 18:52:46 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- better python 2.6 fix

---- Files affected:
SPECS:
   libopensync.spec (1.34.2.7 -> 1.34.2.8) 

---- Diffs:

================================================================
Index: SPECS/libopensync.spec
diff -u SPECS/libopensync.spec:1.34.2.7 SPECS/libopensync.spec:1.34.2.8
--- SPECS/libopensync.spec:1.34.2.7	Thu Nov 20 19:14:49 2008
+++ SPECS/libopensync.spec	Fri Nov 21 19:52:41 2008
@@ -10,7 +10,7 @@
 Summary(pl.UTF-8):	Szkielet do synchronizacji danych
 Name:		libopensync
 Version:	0.40
-Release:	0.%{_snap}.2
+Release:	0.%{_snap}.3
 Epoch:		1
 License:	LGPL v2.1+
 Group:		Libraries
@@ -96,10 +96,12 @@
 %patch0 -p1
 
 %build
-mkdir build
+rm -f cmake/modules/*Python*.cmake
+install -d build
 cd build
 %cmake \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DPYTHON_VERSION=%{py_ver} \
 %if "%{_lib}" != "lib"
 	-DLIB_SUFFIX=64 \
 %endif
@@ -151,8 +153,8 @@
 %if %{with python}
 %files -n python-opensync
 %defattr(644,root,root,755)
-#%attr(755,root,root) %{py_sitedir}/_opensync.so
-#%{py_sitedir}/opensync.py
+%attr(755,root,root) %{py_sitedir}/_opensync.so
+%{py_sitedir}/opensync.py
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -161,6 +163,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34.2.8  2008/11/21 18:52:41  shadzik
+- better python 2.6 fix
+
 Revision 1.34.2.7  2008/11/20 18:14:49  shadzik
 - rel .2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libopensync.spec?r1=1.34.2.7&r2=1.34.2.8&f=u



More information about the pld-cvs-commit mailing list