%global mod_name Flask-WTF Name: python-flask-wtf Version: 0.14.2 Release: 3%{?dist} Summary: Simple integration of Flask and WTForms Group: Development/Libraries License: BSD URL: https://github.com/lepture/flask-wtf Source0: https://files.pythonhosted.org/packages/source/F/%{mod_name}/%{mod_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-wtforms > 1.0 BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-flask BuildRequires: python%{python3_pkgversion}-nose # check can't work with python3 until builds for python3-flask-babel are available #BuildRequires: python3-flask-babel %global _description\ Flask-WTF offers simple integration with WTForms. This integration\ includes optional CSRF handling for greater security. %description %_description %package -n python%{python3_pkgversion}-flask-wtf Summary: Simple integration of Flask and WTForms Requires: python%{python3_pkgversion}-wtforms > 1.0 %description -n python%{python3_pkgversion}-flask-wtf Flask-WTF offers simple integration with WTForms. This integration includes optional CSRF handling for greater security. %prep %setup -q -n %{mod_name}-%{version} rm -f docs/index.rst.orig rm -rf %{py3dir} cp -a . %{py3dir} %build pushd %{py3dir} %{__python3} setup.py build popd # disabling check in rawhide and f21 until RHBZ 1105819 is fixed #%check #%{__python2} setup.py test # check can't work with python3 until builds for python3-flask-babel are available #%if 0%{?with_python3} #pushd %{py3dir} #%{__python3} setup.py test #popd #%endif %install pushd %{py3dir} %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT popd %files -n python%{python3_pkgversion}-flask-wtf %doc docs/ LICENSE PKG-INFO %{python3_sitelib}/*.egg-info/ %{python3_sitelib}/flask_wtf/ %changelog * Sat Jul 14 2018 Fedora Release Engineering - 0.14.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.14.2-2 - Rebuilt for Python 3.7 * Sat Mar 03 2018 Itamar Reis Peixoto - 0.14.2-1 - new version 0.14.2 * Fri Feb 09 2018 Fedora Release Engineering - 0.10.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Iryna Shcherbina - 0.10.0-11 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.10.0-10 - Python 2 binary package renamed to python2-flask-wtf See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 0.10.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.10.0-7 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.10.0-6 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jul 17 2014 Tim Flink 0.10.0-2 - Adding missing BuildRequires for %check - disabling %check on python3 due to missing builds - disabling %check for rawhide and f21 due to RHBZ 1105819 * Thu Jul 17 2014 Tim Flink 0.10.0-1 - Adding support for python-wtforms >= 2.0 to fix RHBZ 1120888 - added %check * Wed May 21 2014 Praveen Kumar 0.9.5-1 - Updated to new source - Add python3 support * Sun Aug 04 2013 Fedora Release Engineering - 0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Oct 09 2012 Tim Flink - 0.8-1 - Upgrade to upstream 0.8 * Sat Jul 21 2012 Fedora Release Engineering - 0.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jul 4 2012 Praveen Kumar - 0.5.2-3 - Added python-wtforms as requires. * Sat Jan 14 2012 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jul 21 2011 Praveen Kumar - 0.5.2-1 - Initial RPM release