From 55a379ce75ec2018da07ca4adc159fbf2ecd0d49 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 18 2016 10:14:12 +0000 Subject: Create a py3 sub-package for python-fedora-flask --- diff --git a/python-fedora.spec b/python-fedora.spec index 4a7d3b5..e384319 100644 --- a/python-fedora.spec +++ b/python-fedora.spec @@ -100,6 +100,21 @@ Python modules that help with building Fedora Services. The client module included here can be used to build programs that communicate with many of Fedora Infrastructure's Applications such as Bodhi, PackageDB, MirrorManager, and FAS2. + +%package -n python3-fedora-flask +Summary: Python modules for flask applications authing to Fedora Account System +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: python3-flask +Requires: python3-flask-wtf +Requires: python3-openid +Requires: python3-openid-teams +Requires: python3-openid-cla + +%description -n python3-fedora-flask +Python modules that help with building Fedora Services. This package includes +an auth provider to let flask applications authenticate against the Fedora +Account System. %endif %if 0%{?rhel} < 7 @@ -257,6 +272,10 @@ rm -rf %{buildroot}%{python2_sitelib}/tests/ %exclude %{python3_sitelib}/fedora/django/ %exclude %{python3_sitelib}/flask_fas.py* %exclude %{python3_sitelib}/flask_fas_openid.py* + +%files -n python3-fedora-flask +%{python3_sitelib}/flask_fas.py* +%{python3_sitelib}/flask_fas_openid.py* %endif %if 0%{?rhel} < 7