From: Jan Rękorajski Date: Thu, 5 May 2016 18:37:58 +0000 (+0200) Subject: - use rpm python macros X-Git-Tag: auto/th/ipython-2.0.0-3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=fc0eeeb1fb42a1fc561972efecada1e7c4898b71;p=packages%2Fipython.git - use rpm python macros - rel 3 --- 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}