From c31761659891b1c45a4eaecf45e332947c9f0e10 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Oct 01 2018 19:54:00 +0000 Subject: Remove Python 2 subpackage. --- diff --git a/python-snuggs.spec b/python-snuggs.spec index ed232f8..170b856 100644 --- a/python-snuggs.spec +++ b/python-snuggs.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 1.4.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Snuggs are S-expressions for Numpy License: MIT @@ -20,24 +20,6 @@ arg = expression | name | number | string %description %{_description} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} - -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-pytest -BuildRequires: python2-click -BuildRequires: python2-numpy -BuildRequires: python2-pyparsing - -Requires: python2-click -Requires: python2-numpy -Requires: python2-pyparsing - -%description -n python2-%{srcname} %{_description} - - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -63,26 +45,17 @@ rm -rf %{srcname}.egg-info %build -%py2_build %py3_build %install -%py2_install %py3_install %check pytest-3 -v -pytest-2 -v -%files -n python2-%{srcname} -%doc README.rst AUTHORS.txt CHANGES.txt -%license LICENSE -%{python2_sitelib}/%{srcname} -%{python2_sitelib}/%{srcname}-%{version}-py?.?.egg-info - %files -n python3-%{srcname} %doc README.rst AUTHORS.txt CHANGES.txt %license LICENSE @@ -91,6 +64,9 @@ pytest-2 -v %changelog +* Mon Oct 01 2018 Elliott Sales de Andrade - 1.4.1-4 +- Drop Python 2 subpackage + * Sat Jul 14 2018 Fedora Release Engineering - 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild