Cleanup spec
This commit is contained in:
parent
b773f86454
commit
e42702cae5
12
ipython.spec
12
ipython.spec
@ -1,7 +1,3 @@
|
|||||||
%if ! (0%{?rhel} > 5)
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
%bcond_without doc
|
%bcond_without doc
|
||||||
|
|
||||||
@ -21,7 +17,6 @@ Version: 3.1.0
|
|||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: An enhanced interactive Python shell
|
Summary: An enhanced interactive Python shell
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
# See bug #603178 for a quick overview for the choice of licenses
|
# See bug #603178 for a quick overview for the choice of licenses
|
||||||
# most files are under BSD and just a few under Python or MIT
|
# most files are under BSD and just a few under Python or MIT
|
||||||
# There are some extensions released under GPLv2+
|
# There are some extensions released under GPLv2+
|
||||||
@ -31,8 +26,6 @@ Source0: https://pypi.python.org/packages/source/i/ipython/ipython-%{vers
|
|||||||
# Add _jsdir to default search path
|
# Add _jsdir to default search path
|
||||||
Patch0: ipython-2.1.0-_jsdir-search-path.patch
|
Patch0: ipython-2.1.0-_jsdir-search-path.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -486,7 +479,6 @@ cd ..
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
||||||
@ -522,10 +514,6 @@ rm -r %{buildroot}%{python_sitelib}/IPython/html/static/c[a-tv-z]*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
%if 0%{?with_notebook}
|
%if 0%{?with_notebook}
|
||||||
|
Loading…
Reference in New Issue
Block a user