From 30d11c556e39011c25bbb866cf5f5ccff51e33ee Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Oct 15 2018 18:20:59 +0000 Subject: Dropped python2-fedora-turbogears2 (#1634646) The docs warn a lot but they warned even before --- diff --git a/python-fedora.spec b/python-fedora.spec index 83fda86..85be431 100644 --- a/python-fedora.spec +++ b/python-fedora.spec @@ -17,7 +17,7 @@ and FAS2.\ Name: python-fedora Version: 0.10.0 -Release: 5%{?dist} +Release: 6%{?dist} BuildArch: noarch License: LGPLv2+ @@ -26,7 +26,6 @@ Group: Development/Languages URL: https://github.com/fedora-infra/python-fedora Source0: https://github.com/fedora-infra/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz -BuildRequires: TurboGears2 BuildRequires: python-lockfile BuildRequires: python-munch BuildRequires: python-openid @@ -37,7 +36,7 @@ BuildRequires: python2-devel %if 0%{?rhel} == 6 BuildRequires: python-sphinx10 %else -BuildRequires: python-repoze-who-friendlyform +BuildRequires: python2-repoze-who-friendlyform %if 0%{?fedora} >= 24 BuildRequires: python2-sphinx %else @@ -211,36 +210,6 @@ provider, templates to help build CSRF-protected login forms, and miscellaneous other helper functions for TurboGears applications. %endif -%package -n python2-fedora-turbogears2 -Summary: Python modules for TurboGears applications in Fedora Infrastructure -Group: Development/Languages -License: LGPLv2+ - -Requires: TurboGears2 -Requires: python-repoze-who-friendlyform -Requires: python2-fedora = %{version}-%{release} - -%if 0%{?fedora} || 0%{?rhel} >= 7 -Requires: python-mako >= 0.3.6 -%else -Requires: python-mako0.4 >= 0.3.6 -%endif - -%if 0%{?fedora} >= 26 -Requires: python2-sqlalchemy -%else -Requires: python-sqlalchemy -%endif - -%{?python_provide:%python_provide python2-fedora-turbogears2} - - -%description -n python2-fedora-turbogears2 -Python modules that help with building Fedora Services. This package includes -middleware for protecting against CSRF attacks, repoze.who authenticators for -logging in to TurboGears2 services based on account information lp build -CSRF-protected login forms, and miscellaneous other helper functions for -TurboGears2 applications. %package -n python2-fedora-flask Summary: Python modules for flask applications authing to Fedora Account System @@ -271,6 +240,10 @@ Account System. %autosetup -c -n %{name}-%{version} mv %{name}-%{version} python2 +# no more python2-fedora-turbogears2 (#1634646) +rm -r python2/fedora/wsgi +rm -r python2/fedora/tg2 + # https://bugzilla.redhat.com/show_bug.cgi?id=1329549 grep "PO-Revision-Date: \\\\n" python2/translations/*.po -l | xargs rm -f @@ -383,14 +356,13 @@ popd %{python2_sitelib}/fedora/tg/ %endif -%files -n python2-fedora-turbogears2 -%{python2_sitelib}/fedora/wsgi/ -%{python2_sitelib}/fedora/tg2/ - %files -n python2-fedora-flask %{python2_sitelib}/flask_fas_openid.py* %changelog +* Mon Oct 15 2018 Miro Hrončok - 0.10.0-6 +- Dropped python2-fedora-turbogears2 (#1634646) + * Sat Jul 14 2018 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild