[packages/ipython3] - cleanup: builds cleanly now

wrobell wrobell at pld-linux.org
Tue Jul 24 20:54:31 CEST 2012


commit c6881e2cbda87e1feab8b6e3eca44958f5cbe031
Author: wrobell <wrobell at pld-linux.org>
Date:   Tue Jul 24 19:54:11 2012 +0100

    - cleanup: builds cleanly now

 ipython3.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/ipython3.spec b/ipython3.spec
index 3c24c46..5047956 100644
--- a/ipython3.spec
+++ b/ipython3.spec
@@ -2,6 +2,7 @@
 # - check docs folder for valuable files
 #
 %define		pname	IPython
+%define		mname	ipython
 Summary:	An enhanced Interactive Python shell
 Summary(pl.UTF-8):	Interaktywna powłoka języka Python
 Name:		ipython3
@@ -9,7 +10,7 @@ Version:	0.13
 Release:	0.2
 License:	LGPL
 Group:		Applications/Shells
-Source0:	http://archive.ipython.org/release/%{version}/ipython-%{version}.tar.gz
+Source0:	http://archive.ipython.org/release/%{version}/%{mname}-%{version}.tar.gz
 # Source0-md5:	490ccc2da9d6de9c37c7df05c1197ac5
 Patch0:		%{name}-bug-2057.patch
 URL:		http://ipython.org
@@ -18,7 +19,7 @@ BuildRequires:	python3-devel
 BuildRequires:	python3-devel-tools
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
-Requires:	python3-%{name} = %{version}-%{release}
+Requires:	python3-%{mname} = %{version}-%{release}
 Suggests:	python3-pyzmq
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -121,7 +122,7 @@ w wielu przypadkach.
 Pakiet ten zawiera moduły interaktywnej powłoki języka Python.
 
 %prep
-%setup -q
+%setup -q -n %{mname}-%{version}
 %patch0 -p1
 
 %install


More information about the pld-cvs-commit mailing list