[packages/python-boto] - make sure installs are consistent and macthing internal deps - rel 4

baggins baggins at pld-linux.org
Sun Dec 20 10:41:15 CET 2015


commit 4ed30b04d9707a94f4d980b43a6f11edd0b0f303
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 20 10:40:55 2015 +0100

    - make sure installs are consistent and macthing internal deps
    - rel 4

 python-boto.spec | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/python-boto.spec b/python-boto.spec
index 2395eae..5e15d30 100644
--- a/python-boto.spec
+++ b/python-boto.spec
@@ -6,7 +6,7 @@ Summary:	An integrated interface to infrastructural services offered by Amazon W
 Summary(pl.UTF-8):	Zintegrowany interfejs do usług infrastruktury oferowanych przez usługi WWW Amazon
 Name:		python-%{module}
 Version:	2.38.0
-Release:	3
+Release:	4
 License:	MIT
 Group:		Libraries/Python
 Source0:	https://pypi.python.org/packages/source/b/boto/boto-%{version}.tar.gz
@@ -55,29 +55,30 @@ This package includes sample utilities implemented with this API.
 %setup -q -n %{module}-%{version}
 
 %build
-%if %{with python2}
-%py_build %{?with_tests:test}
-%endif
-
 %if %{with python3}
 %py3_build %{?with_tests:test}
 %endif
 
+%if %{with python2}
+%py_build %{?with_tests:test}
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with python3}
+%py3_install
+rm -rf $RPM_BUILD_ROOT%{py3_sitescriptdir}/tests
+%endif
+
 %if %{with python2}
+rm -rf $RPM_BUILD_ROOT%{_bindir}
 %py_install
 
 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
 %py_postclean
 %endif
 
-%if %{with python3}
-%py3_install
-rm -rf $RPM_BUILD_ROOT%{py3_sitescriptdir}/tests
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-boto.git/commitdiff/4ed30b04d9707a94f4d980b43a6f11edd0b0f303



More information about the pld-cvs-commit mailing list