From e1e925605a1d2c3cb4e6ac4f129d187fa1f8e453 Mon Sep 17 00:00:00 2001 From: Christian Dersch Date: Oct 02 2018 15:20:38 +0000 Subject: drop python2 subpackage (#1634584) --- diff --git a/python-pyvo.spec b/python-pyvo.spec index 3a3f795..f365934 100644 --- a/python-pyvo.spec +++ b/python-pyvo.spec @@ -25,7 +25,7 @@ The pyvo module currently provides these main capabilities: \ Name: python-%{srcname} Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum} License: BSD @@ -40,12 +40,6 @@ Patch0: python-pyvo-removes-python-scripts.patch #Patch1: python-pyvo-rename-async-test.patch BuildArch: noarch -BuildRequires: python2-astropy -BuildRequires: python2-astropy-helpers -BuildRequires: python2-dateutil -BuildRequires: python2-devel -BuildRequires: python2-requests -BuildRequires: python2-six BuildRequires: python3-astropy BuildRequires: python3-astropy-helpers @@ -63,18 +57,6 @@ Obsoletes: python3-pyvo-doc = %{version}-%{release} %description %{desc} -%package -n python2-%{srcname} -Summary: %{sum} -Requires: astropy-tools -Requires: python2-astropy -Requires: python2-dateutil -Requires: python2-requests -Requires: python2-six -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -%{desc} - %package -n python3-%{srcname} Summary: %{sum} Requires: astropy-tools @@ -104,21 +86,14 @@ Requires: python3-six %build -%py2_build %py3_build # Generate documentation #%%{__python3} setup.py build_sphinx #rm -f docs/_build/html/.buildinfo %install -%py2_install %py3_install -%files -n python2-%{srcname} -%license licenses/LICENSE.rst -%doc CHANGES.rst README.rst -%{python2_sitelib}/* - %files -n python3-%{srcname} %license licenses/LICENSE.rst %doc CHANGES.rst README.rst @@ -129,6 +104,9 @@ Requires: python3-six #%%doc docs/_build/html %changelog +* Tue Oct 02 2018 Christian Dersch - 0.9.1-2 +- drop python2 subpackage (#1634584) + * Tue Oct 02 2018 Christian Dersch - 0.9.1-1 - new version