packages: libopensync-plugin-python/libopensync-plugin-python.spec - use no...

glen glen at pld-linux.org
Wed Feb 23 12:24:20 CET 2011


Author: glen                         Date: Wed Feb 23 11:24:20 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use noarch dir for python plugins (dir itself owned by python-opensync); rel 6

---- Files affected:
packages/libopensync-plugin-python:
   libopensync-plugin-python.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/libopensync-plugin-python/libopensync-plugin-python.spec
diff -u packages/libopensync-plugin-python/libopensync-plugin-python.spec:1.19 packages/libopensync-plugin-python/libopensync-plugin-python.spec:1.20
--- packages/libopensync-plugin-python/libopensync-plugin-python.spec:1.19	Wed Dec 22 09:59:27 2010
+++ packages/libopensync-plugin-python/libopensync-plugin-python.spec	Wed Feb 23 12:24:14 2011
@@ -1,12 +1,9 @@
 # $Revision$, $Date$
-# TODO:
-# - move %{_libdir}/opensync-1.0/python-plugins to %{_datadir} and make
-#   dependant packages noarch
 Summary:	OpenSync Python plugin
 Summary(pl.UTF-8):	Wtyczka Pythona do OpenSync
 Name:		libopensync-plugin-python
 Version:	0.36
-Release:	5
+Release:	6
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.opensync.org/download/releases/0.36/%{name}-%{version}.tar.gz
@@ -16,7 +13,7 @@
 URL:		http://www.opensync.org/
 BuildRequires:	cmake
 BuildRequires:	glib2-devel >= 2.0
-BuildRequires:	libopensync-devel >= 1:%{version}
+BuildRequires:	libopensync-devel >= 1:0.39-7
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel
 BuildRequires:	rpmbuild(macros) >= 1.577
@@ -59,7 +56,7 @@
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libopensync1/python-plugins/sample.py
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/libopensync1/python-plugins/sample.py
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -68,7 +65,6 @@
 %defattr(644,root,root,755)
 %doc AUTHORS src/sample.py
 %attr(755,root,root) %{_libdir}/libopensync1/plugins/python-module.so
-%dir %{_libdir}/libopensync1/python-plugins
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -76,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2011/02/23 11:24:14  glen
+- use noarch dir for python plugins (dir itself owned by python-opensync); rel 6
+
 Revision 1.19  2010/12/22 08:59:27  glen
 - add branch.diff (excluded cmake junk), builds now
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libopensync-plugin-python/libopensync-plugin-python.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list