[packages/ipython] - use rpm python macros - rel 3

baggins baggins at pld-linux.org
Thu May 5 20:38:16 CEST 2016


commit fc0eeeb1fb42a1fc561972efecada1e7c4898b71
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu May 5 20:37:58 2016 +0200

    - use rpm python macros
    - rel 3

 ipython.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ipython.spec b/ipython.spec
index 18d533d..98a1b55 100644
--- a/ipython.spec
+++ b/ipython.spec
@@ -9,7 +9,7 @@ Summary:	An enhanced Interactive Python shell
 Summary(pl.UTF-8):	Interaktywna powłoka języka Python
 Name:		ipython
 Version:	2.0.0
-Release:	2
+Release:	3
 License:	BSD
 Group:		Applications/Shells
 Source0:	http://archive.ipython.org/release/%{version}/%{name}-%{version}.tar.gz
@@ -132,7 +132,7 @@ Pakiet ten zawiera moduły interaktywnej powłoki języka Python.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%py_install
 
 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ipython.git/commitdiff/fc0eeeb1fb42a1fc561972efecada1e7c4898b71



More information about the pld-cvs-commit mailing list