diff --git a/python-colorspacious.spec b/python-colorspacious.spec index 788fb8d..e4ca3ca 100644 --- a/python-colorspacious.spec +++ b/python-colorspacious.spec @@ -4,20 +4,18 @@ Name: python-%{pname} Version: 1.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Perform colorspace conversions accurately and easily License: MIT URL: https://github.com/njsmith/colorspacious Source0: https://files.pythonhosted.org/packages/source/c/%{pname}/%{pname}-%{version}.tar.gz %if %{with html} BuildRequires: graphviz -BuildRequires: python2-ipython-sphinx -BuildRequires: python2-sphinxcontrib-bibtex -BuildRequires: python2-functools32 -BuildRequires: python2-matplotlib +BuildRequires: python3-ipython-sphinx +BuildRequires: python3-sphinxcontrib-bibtex +BuildRequires: python3-matplotlib %endif %if %{with check} -BuildRequires: python2-nose BuildRequires: python3-nose %endif BuildArch: noarch @@ -43,18 +41,6 @@ Summary: HTML documentation for python colorspacious module This package contains the HTML documentation. -%package -n python2-%{pname} -Summary: Perform colorspace conversions accurately and easily -BuildRequires: python2-devel -BuildRequires: python2-numpy -Requires: python2-numpy -%{?python_provide:%python_provide python2-%{pname}} - -%description -n python2-%{pname} -%{desc} - -This package contains the python2 module. - %package -n python3-%{pname} Summary: Perform colorspace conversions accurately and easily BuildRequires: python3-devel @@ -72,7 +58,6 @@ This package contains the python3 module. rm -r *.egg-info %build -%py2_build %if %{with html} pushd doc PYTHONPATH=`realpath ../build/lib.linux*` make html @@ -81,12 +66,10 @@ popd %py3_build %install -%py2_install %py3_install %if %{with check} %check -nosetests-2 --all-modules colorspacious nosetests-3 --all-modules colorspacious %endif @@ -95,17 +78,15 @@ nosetests-3 --all-modules colorspacious %doc doc/_build/html/* %endif -%files -n python2-%{pname} -%doc README.rst -%{python2_sitelib}/%{pname}-%{version}-py%{python2_version}.egg-info -%{python2_sitelib}/%{pname} - %files -n python3-%{pname} %doc README.rst %{python3_sitelib}/%{pname}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/%{pname} %changelog +* Tue Sep 25 2018 Petr Viktorin - 1.1.2-4 +- Remove the Python 2 subpackage (#1629833) + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild