diff --git a/python-cma.spec b/python-cma.spec index 85ab6ac..e168459 100644 --- a/python-cma.spec +++ b/python-cma.spec @@ -1,6 +1,6 @@ Name: python-cma Version: 1.1.7 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Covariance Matrix Adaptation Evolution Strategy numerical optimizer License: BSD @@ -8,10 +8,6 @@ URL: https://www.lri.fr/~hansen/cmaes_inmatlab.html#python Source0: https://pypi.python.org/packages/8b/f7/2d4033bc016755b71b5f4e1924d50f20d994278a676288869a524b52b68b/cma-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-numpy - BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-numpy @@ -23,15 +19,6 @@ problems in continuous search spaces, implemented in Python. %description %_description -%package -n python2-cma -Summary: %{summary} -%{?python_provide:%python_provide python2-cma} - -Requires: python2-numpy -Requires: python2-matplotlib - -%description -n python2-cma %_description - %package -n python3-cma Summary: %{summary} %{?python_provide:%python_provide python3-cma} @@ -46,19 +33,11 @@ Requires: python3-matplotlib sed -i '1{\@/usr/bin/env@d}' cma.py %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-cma -%doc README.txt -%license LICENSE -%{python2_sitelib}/cma.py* -%{python2_sitelib}/cma-*.egg-info - %files -n python3-cma %doc README.txt %{python3_sitelib}/__pycache__/* @@ -66,6 +45,10 @@ sed -i '1{\@/usr/bin/env@d}' cma.py %{python3_sitelib}/cma-*.egg-info %changelog +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 1.1.7-8 +- Subpackage python2-cma has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild