Remove duplicate %descriptions

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-07-12 15:12:53 +02:00
parent 180d9017e2
commit a07631500b

View File

@ -57,7 +57,7 @@ BuildRequires: python3-matplotlib
BuildRequires: python3-numpydoc BuildRequires: python3-numpydoc
%endif # with doc %endif # with doc
%description %global _description %{expand:
Scipy is open-source software for mathematics, science, and Scipy is open-source software for mathematics, science, and
engineering. The core library is NumPy which provides convenient and engineering. The core library is NumPy which provides convenient and
fast N-dimensional array manipulation. The SciPy library is built to fast N-dimensional array manipulation. The SciPy library is built to
@ -66,8 +66,9 @@ numerical routines such as routines for numerical integration and
optimization. Together, they run on all popular operating systems, are optimization. Together, they run on all popular operating systems, are
quick to install, and are free of charge. NumPy and SciPy are easy to quick to install, and are free of charge. NumPy and SciPy are easy to
use, but powerful enough to be depended upon by some of the world's use, but powerful enough to be depended upon by some of the world's
leading scientists and engineers. leading scientists and engineers.}
%description %_description
%package -n python2-scipy %package -n python2-scipy
Summary: Scientific Tools for Python Summary: Scientific Tools for Python
@ -77,16 +78,7 @@ Requires: numpy, f2py
Provides: scipy = %{version}-%{release} Provides: scipy = %{version}-%{release}
Provides: scipy%{?_isa} = %{version}-%{release} Provides: scipy%{?_isa} = %{version}-%{release}
Obsoletes: scipy <= 0.16.0 Obsoletes: scipy <= 0.16.0
%description -n python2-scipy %description -n python2-scipy %_description
Scipy is open-source software for mathematics, science, and
engineering. The core library is NumPy which provides convenient and
fast N-dimensional array manipulation. The SciPy library is built to
work with NumPy arrays, and provides many user-friendly and efficient
numerical routines such as routines for numerical integration and
optimization. Together, they run on all popular operating systems, are
quick to install, and are free of charge. NumPy and SciPy are easy to
use, but powerful enough to be depended upon by some of the world's
leading scientists and engineers.
%if %{with doc} %if %{with doc}
%package -n python2-scipy-doc %package -n python2-scipy-doc
@ -107,17 +99,7 @@ Summary: Scientific Tools for Python
License: BSD and LGPLv2+ License: BSD and LGPLv2+
Requires: python3-numpy, python3-f2py Requires: python3-numpy, python3-f2py
%{?python_provide:%python_provide python3-scipy} %{?python_provide:%python_provide python3-scipy}
%description -n python3-scipy %description -n python3-scipy %_description
Scipy is open-source software for mathematics, science, and
engineering. The core library is NumPy which provides convenient and
fast N-dimensional array manipulation. The SciPy library is built to
work with NumPy arrays, and provides many user-friendly and efficient
numerical routines such as routines for numerical integration and
optimization. Together, they run on all popular operating systems, are
quick to install, and are free of charge. NumPy and SciPy are easy to
use, but powerful enough to be depended upon by some of the world's
leading scientists and engineers.
%prep %prep
%autosetup -p1 -n %{name}-%{version}%{?rcver} %autosetup -p1 -n %{name}-%{version}%{?rcver}