commit b5e7008dacb07ea2c25d56aba398df807d60319d
Author: Mateusz Korniak <[email protected]>
Date:   Thu Jan 21 15:38:21 2016 +0100

    Version 0.23.1. Turned off noarch, to allow bzr find whose plugins.

 qbzr.spec | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/qbzr.spec b/qbzr.spec
index 069d67b..e3424f8 100644
--- a/qbzr.spec
+++ b/qbzr.spec
@@ -2,12 +2,12 @@
 Summary:       Plugin for Bazaar-NG (bzr)
 Summary(pl.UTF-8):     Wtyczka do Bazaar-NG (bzr)
 Name:          qbzr
-Version:       0.23.0
+Version:       0.23.1
 Release:       1
 License:       GPL v2+
 Group:         Development/Version Control
 Source0:       
http://launchpad.net/qbzr/0.23/%{version}/+download/qbzr-%{version}.tar.gz
-# Source0-md5: bd000c87e9cfeb78ea6629a4bee65ee5
+# Source0-md5: 594796b2cf9887d895545d7ed84e3879
 URL:           http://wiki.bazaar.canonical.com/QBzr
 BuildRequires: python >= 1:2.4
 BuildRequires: rpm-pythonprov
@@ -16,7 +16,7 @@ Requires(post,postun):        desktop-file-utils
 %pyrequires_eq python
 Requires:      bzr
 Requires:      python-PyQt4
-BuildArch:     noarch
+# BuildArch:   noarch  # NOTE: In fact qbzr is noarch, but have to land in 
../site-packages/bzrlib/plugins/ where bzr lands to work
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,11 +32,10 @@ Plugin for Bazaar-NG (bzr)
 rm -rf $RPM_BUILD_ROOT
 
 %{__python} setup.py install \
-       --install-purelib %{py_sitescriptdir} \
+       --install-purelib %{py_sitedir} \
        --optimize=2 \
        --root=$RPM_BUILD_ROOT
 
-
 %py_postclean
 
 %clean
@@ -45,7 +44,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS.txt NEWS.txt README.txt TODO.txt
-%dir %{py_sitescriptdir}/bzrlib
-%dir %{py_sitescriptdir}/bzrlib/plugins
-%{py_sitescriptdir}/bzrlib/plugins/qbzr
-%{py_sitescriptdir}/qbzr*.egg-info
+%dir %{py_sitedir}/bzrlib/plugins
+%{py_sitedir}/bzrlib/plugins/qbzr
+%{py_sitedir}/qbzr*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qbzr.git/commitdiff/b5e7008dacb07ea2c25d56aba398df807d60319d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to