diff --git python-openopt/python-openopt.spec python-openopt/python-openopt.spec.tmp index 59b8b1de75..24ddb9dca8 100644 --- python-openopt/python-openopt.spec +++ python-openopt/python-openopt.spec.tmp @@ -4,16 +4,13 @@ Name: python-openopt Version: 0.5625 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A python module for numerical optimization -Provides: python2-openopt License: BSD URL: http://openopt.org/ Source0: https://pypi.python.org/packages/source/o/openopt/openopt-%{version}.tar.gz -Requires: numpy - BuildArch: noarch BuildRequires: python2-devel @@ -27,12 +24,22 @@ BuildRequires: python3-numpy BuildRequires: python3-setuptools %endif -%description -Universal numerical optimization package with several -own solvers (e.g. ralg) and connections to tens of -other, graphical output of convergence and many other +%global _description\ +Universal numerical optimization package with several\ +own solvers (e.g. ralg) and connections to tens of\ +other, graphical output of convergence and many other\ goodies. +%description %_description + +%package -n python2-openopt +Summary: %summary +Provides: python2-openopt +Requires: numpy +%{?python_provide:%python_provide python2-openopt} + +%description -n python2-openopt %_description + %if 0%{?with_python3} %package -n python3-openopt Summary: A python module for numerical optimization @@ -99,7 +106,7 @@ rm -rf %{buildroot}%{python_sitelib}/openopt/examples #%%endif -%files +%files -n python2-openopt %doc PKG-INFO openopt/examples # For noarch packages: sitelib %{python_sitelib}/openopt @@ -113,6 +120,10 @@ rm -rf %{buildroot}%{python_sitelib}/openopt/examples %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.5625-7 +- Python 2 binary package renamed to python2-openopt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5625-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild