SPECS: libopensync.spec - fixed python modules installation, patch...

wrobell wrobell at pld-linux.org
Fri Dec 30 12:10:04 CET 2005


Author: wrobell                      Date: Fri Dec 30 11:10:04 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed python modules installation, patch sent to author

---- Files affected:
SPECS:
   libopensync.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libopensync.spec
diff -u SPECS/libopensync.spec:1.1 SPECS/libopensync.spec:1.2
--- SPECS/libopensync.spec:1.1	Fri Dec 30 11:42:07 2005
+++ SPECS/libopensync.spec	Fri Dec 30 12:09:59 2005
@@ -1,10 +1,5 @@
 # $Revision$, $Date$
 
-#
-# todo:
-# - python module opensync.so.0.0 is put to py_sitescriptdir instead of py_sitedir
-#
-
 Summary:	Data synchronization framework
 Name:		libopensync
 Version:	0.18
@@ -14,6 +9,7 @@
 Source0:	http://www.opensync.org/attachment/wiki/download/%{name}-%{version}.tar.gz
 # Source0-md5:	ce94a69fb7ae7533d1f8828b6402cec8
 URL:		http://www.opensync.org/
+Patch0:		%{name}-python.patch
 BuildRequires:	libxml2-devel
 BuildRequires:	python-devel
 BuildRequires:	python-modules
@@ -58,8 +54,14 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure --enable-static
 %{__make}
 
@@ -100,8 +102,8 @@
 
 %files -n python-opensync
 %defattr(644,root,root,755)
-#%attr(755,root,root) %{py_sitedir}/*.so.*
-%{py_sitescriptdir}/*.py[co]
+%attr(755,root,root) %{py_sitedir}/*.so
+%{py_sitedir}/*.py[co]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -109,6 +111,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/12/30 11:09:59  wrobell
+- fixed python modules installation, patch sent to author
+
 Revision 1.1  2005/12/30 10:42:07  wrobell
 - based on template
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libopensync.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list