SPECS: bzr-svn.spec - up to 0.4.7 - install in %{py_sitedir}, not ...

japhy japhy at pld-linux.org
Fri Feb 1 15:20:49 CET 2008


Author: japhy                        Date: Fri Feb  1 14:20:49 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.4.7
- install in %{py_sitedir}, not %{py_sitescriptdir}, to make bzr find the plugin

---- Files affected:
SPECS:
   bzr-svn.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/bzr-svn.spec
diff -u SPECS/bzr-svn.spec:1.3 SPECS/bzr-svn.spec:1.4
--- SPECS/bzr-svn.spec:1.3	Fri Aug  3 18:32:25 2007
+++ SPECS/bzr-svn.spec	Fri Feb  1 15:20:44 2008
@@ -2,12 +2,12 @@
 Summary:	Plugin for Bazaar-NG providing Subversion repository access
 Summary(pl.UTF-8):	Wtyczka do Bazaar-NG umożliwiająca dostęp do repozytorium Subversion
 Name:		bzr-svn
-Version:	0.3.5
+Version:	0.4.7
 Release:	1
 License:	GPL v2+
 Group:		Development/Version Control
 Source0:	http://samba.org/~jelmer/bzr/%{name}-%{version}.tar.gz
-# Source0-md5:	78ed3f127c578c2810e38d8373a29ca0
+# Source0-md5:	fa3824ff6483647f031256f6f35eec97
 URL:		http://bazaar-vcs.org/BzrForeignBranches/Subversion
 BuildRequires:	python >= 1:2.5
 BuildRequires:	rpm-pythonprov
@@ -36,6 +36,7 @@
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install \
 	--optimize=2 \
+	--install-lib=%{py_sitedir} \
 	--root=$RPM_BUILD_ROOT
 
 %py_postclean
@@ -46,11 +47,11 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README TODO
-%dir %{py_sitescriptdir}/bzrlib/plugins/svn
-%{py_sitescriptdir}/bzrlib/plugins/svn/*.py[co]
-%dir %{py_sitescriptdir}/bzrlib/plugins/svn/tests
-%{py_sitescriptdir}/bzrlib/plugins/svn/tests/*.py[co]
-%{py_sitescriptdir}/bzr_svn-*.egg-info
+%dir %{py_sitedir}/bzrlib/plugins/svn
+%{py_sitedir}/bzrlib/plugins/svn/*.py[co]
+%dir %{py_sitedir}/bzrlib/plugins/svn/tests
+%{py_sitedir}/bzrlib/plugins/svn/tests/*.py[co]
+%{py_sitedir}/bzr_svn-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,6 +59,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008-02-01 14:20:44  japhy
+- up to 0.4.7
+- install in %{py_sitedir}, not %{py_sitescriptdir}, to make bzr find the plugin
+
 Revision 1.3  2007-08-03 16:32:25  qboosh
 - don't own dirs belonging to bzr (BTW: are tests needed in package?)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/bzr-svn.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list