diff --git NLopt/NLopt.spec NLopt/NLopt.spec.tmp index 67a83af435..d5672c6e1e 100644 --- NLopt/NLopt.spec +++ NLopt/NLopt.spec.tmp @@ -31,7 +31,7 @@ Name: NLopt Version: 2.4.2 -Release: 13%{?gitrel}%{?dist} +Release: 14%{?gitrel}%{?dist} Summary: Open-Source library for nonlinear optimization %{?el5:Group: System Environment/Libraries} @@ -181,7 +181,8 @@ This package contains the Octave bindings for %{name}. %if 0%{?with_py} -%package -n python-%{name} +%package -n python2-nlopt +%{?python_provide:%python_provide python2-nlopt} Summary: Python bindings for %{name} BuildRequires: numpy @@ -192,7 +193,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Provides: python-%{lc_name} = %{version}-%{release} Provides: python-%{lc_name}%{?_isa} = %{version}-%{release} -%description -n python-%{name} +%description -n python2-nlopt This package contains Python bindings for %{name}. %endif # 0%{?with_py} @@ -430,7 +431,7 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild" %endif # 0%{?with_octave} %if 0%{?with_py} -%files -n python-%{name} +%files -n python2-nlopt %{python2_sitearch}/* %endif # 0%{?with_py} @@ -442,6 +443,10 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild" %endif # 0%{?with_py3} %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.4.2-14 +- Python 2 binary package renamed to python2-nlopt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 2.4.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild