diff --git a/TurboGears2.spec b/TurboGears2.spec index 0e04eaf..cdda228 100644 --- a/TurboGears2.spec +++ b/TurboGears2.spec @@ -1,6 +1,6 @@ Name: TurboGears2 Version: 2.3.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Next generation front-to-back web development megaframework Group: Development/Languages @@ -10,26 +10,6 @@ Source0: https://files.pythonhosted.org/packages/source/T/%{name}/%{name} BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-backlash -BuildRequires: python2-chameleon -BuildRequires: python2-crank >= 0.8.0 -BuildRequires: python2-formencode -BuildRequires: python2-genshi >= 0.5.1 -BuildRequires: python2-jinja2 -BuildRequires: python2-kajiki >= 0.2.2 -BuildRequires: python2-mako -BuildRequires: python2-repoze-tm2 >= 1.0-0.4.a4 -BuildRequires: python2-repoze-who -BuildRequires: python2-repoze-who-plugins-sa >= 1.0.1 -BuildRequires: python2-routes -BuildRequires: python2-simplegeneric -BuildRequires: python2-tw-forms -BuildRequires: python2-tw2-forms -BuildRequires: python2-webtest -BuildRequires: python2-zope-sqlalchemy >= 0.4 - BuildRequires: python3-backlash BuildRequires: python3-chameleon BuildRequires: python3-crank >= 0.8.0 @@ -65,38 +45,6 @@ database development and everything in between:\ %description %{_description} -%package -n python2-%{name} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{name}} -Provides: %{name} = %{version}-%{release} -Obsoletes: %{name} < 2.3.11-6 - -Requires: python2-backlash -Requires: python2-beaker -Requires: python2-chameleon -Requires: python2-crank >= 0.8.0 -Requires: python2-decorator -Requires: python2-formencode -Requires: python2-genshi >= 0.5.1 -Requires: python2-jinja2 -Requires: python2-kajiki > 0.2.2 -Requires: python2-mako -Requires: python2-markupsafe -Requires: python2-paste-deploy -Requires: python2-repoze-lru -Requires: python2-repoze-tm2 >= 1.0-0.a4 -Requires: python2-repoze-who -Requires: python2-repoze-who-plugins-sa >= 1.0.1 -Requires: python2-routes -Requires: python2-simplegeneric -Requires: python2-toscawidgets >= 0.9.4 -Requires: python2-tw-forms -Requires: python2-tw2-forms -Requires: python2-webob >= 1.2 -Requires: python2-zope-sqlalchemy >= 0.4 - -%description -n python2-%{name} %{_description} - %package -n python3-%{name} Summary: %{summary} %{?python_provide:%python_provide python3-%{name}} @@ -130,24 +78,16 @@ Requires: python3-zope-sqlalchemy >= 0.4 %build -%py2_build %py3_build %install -%py2_install %py3_install -rm -fr %{buildroot}%{python2_sitelib}/tests rm -fr %{buildroot}%{python3_sitelib}/tests # Tests cannot be included because some test dependencies # are not available in Fedora repositories #%check -#PYTHONPATH=$(pwd) %{__python2} setup.py test - -%files -n python2-%{name} -%doc README.rst -%{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info/ -%{python2_sitelib}/tg/ +#PYTHONPATH=$(pwd) %{__python3} setup.py test %files -n python3-%{name} %doc README.rst @@ -155,6 +95,9 @@ rm -fr %{buildroot}%{python3_sitelib}/tests %{python3_sitelib}/tg/ %changelog +* Mon Nov 05 2018 Miro HronĨok - 2.3.12-2 +- Drop python2 subpackage (#1643378) + * Tue Jul 24 2018 Clement Verna - 2.3.12-1 - New upstream release