From d062d19e3dc691b8bc9c8811e79d4ea691566dde Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 20 May 2018 13:06:09 +0100 Subject: [PATCH] drop python2 support --- adapt.spec | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/adapt.spec b/adapt.spec index 744d325..7a9baab 100644 --- a/adapt.spec +++ b/adapt.spec @@ -3,7 +3,7 @@ Name: adapt Version: 0.3.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Mycroft's Adapt Intent Parser License: LGPLv3 @@ -13,15 +13,11 @@ BuildArch: noarch BuildRequires: libicu-devel BuildRequires: pulseaudio-libs-devel -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-six BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-six %if 0%{?with_tests} -BuildRequires: python2-pep8 BuildRequires: python3-pep8 %endif @@ -30,14 +26,6 @@ The Adapt Intent Parser is a flexible and extensible intent definition and determination framework. It is intended to parse natural language text into a structured intent that can then be invoked programatically. -%package -n python2-adapt -Summary: A python2 library for Adapt Intent Parser -%{?python_provide:%python_provide python2-adapt} -Requires: python2-ee - -%description -n python2-adapt -A python2 library for Adapt Intent Parser. - %package -n python3-adapt Summary: A python3 library for Adapt Intent Parser %{?python_provide:%python_provide python3-adapt} @@ -51,27 +39,17 @@ A python3 library for Adapt Intent Parser. %build rm -rf adapt-parser.egg-info - -%py2_build %py3_build %install -%py2_install %py3_install %check %if %{with_tests} -%{__python2} setup.py test %{__python3} setup.py test %endif -%files -n python2-adapt -%{!?_licensedir:%global license %%doc} -%license LICENSE -%{python_sitelib}/%{name}_parser-%{version}* -%{python_sitelib}/%{name}/ - %files -n python3-adapt %{!?_licensedir:%global license %%doc} %license LICENSE @@ -79,6 +57,9 @@ rm -rf adapt-parser.egg-info %{python3_sitelib}/%{name}/ %changelog +* Sun May 20 2018 Peter Robinson 0.3.0-5 +- Drop python2 support + * Wed Feb 07 2018 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild