## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-falcon Epoch: 1 Version: 4.0.0 Release: %autorelease Summary: ASGI+WSGI framework for building data plane APIs License: Apache-2.0 URL: https://falconframework.org Source: %{pypi_source falcon} # downstream-only patch to remove coverage build requirement Patch: 0001-Remove-coverage-test-requirement.patch BuildRequires: gcc %global common_description %{expand: Falcon is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus on reliability, correctness, and performance at scale. When it comes to building HTTP APIs, other frameworks weigh you down with tons of dependencies and unnecessary abstractions. Falcon cuts to the chase with a clean design that embraces HTTP and the REST architectural style.} %description %{common_description} %package -n python3-falcon Summary: %{summary} BuildRequires: python3-devel %description -n python3-falcon %{common_description} %prep %autosetup -p 1 -n falcon-%{version} %generate_buildrequires %pyproject_buildrequires -e mintest %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l falcon # remove unnecessary files rm -rf %{buildroot}%{python3_sitearch}/docs/ rm -rf %{buildroot}%{python3_sitearch}/e2e-tests/ rm -rf %{buildroot}%{python3_sitearch}/examples/ rm -rf %{buildroot}%{python3_sitearch}/requirements/ rm -rf %{buildroot}%{python3_sitearch}/tests/ rm -rf %{buildroot}%{python3_sitearch}/tools/ %check %tox -e mintest %files -n python3-falcon -f %{pyproject_files} %doc README.rst %{_bindir}/falcon-bench %{_bindir}/falcon-inspect-app %{_bindir}/falcon-print-routes %changelog ## START: Generated by rpmautospec * Mon Oct 21 2024 Carl George - 1:4.0.0-1 - Update to version 4.0.0 rhbz#2319833 * Fri Jul 19 2024 Fedora Release Engineering - 1:3.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 14 2024 Carl George - 1:3.1.3-1 - Update to version 3.1.3 - Generate build requirements automatically - Add upstream patch for Python 3.13 rhbz#2291695 * Sun Jun 09 2024 Python Maint - 4.0.0~^2.0e96f88-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.0.0~^2.0e96f88-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.0.0~^2.0e96f88-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 29 2023 Carl George - 4.0.0~^2.0e96f88-1 - Update to new upstream snapshot, resolves rhbz#2226188 rhbz#2220217 * Fri Jul 21 2023 Fedora Release Engineering - 4.0.0~^1.3816217-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 4.0.0~^1.3816217-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Aug 26 2022 Carl George - 4.0.0~^1.3816217-1 - Update to latest upstream snapshot - Resolves rhbz#2098905 rhbz#2113624 rhbz#2068564 * Fri Jul 22 2022 Fedora Release Engineering - 3.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Python Maint - 3.0.1-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 12 2021 Carl George - 3.0.1-1 - Latest upstream - Resolves: rhbz#1959197 * Tue Jul 27 2021 Fedora Release Engineering - 3.0.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.0.0-3 - Rebuilt for Python 3.10 * Wed Apr 21 2021 Carl George - 3.0.0-2 - Run media handlers tests * Mon Apr 12 2021 Carl George - 3.0.0-1 - Latest upstream - Fixes: rhbz#1684836 * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 2.0.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Sep 05 2019 Javier Peña - 2.0.0-1 - Updated to upstream 2.0.0 - This version removed Python 2.7 support * Mon Aug 19 2019 Miro Hrončok - 1.4.1-9 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 22 2019 Carl George - 1.4.1-7 - Disable python2 subpackage on Fedora 31+ rhbz#1701670 - Run tests from buildroot, not builddir * Sat Feb 02 2019 Fedora Release Engineering - 1.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.4.1-4 - Rebuilt for Python 3.7 * Mon Feb 26 2018 Carl George - 1.4.1-3 - Add BuildRequires for gcc * Fri Feb 09 2018 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 17 2018 Carl George - 1.4.1-1 - Latest upstream rhbz#1535255 * Tue Jan 16 2018 Carl George - 1.4.0-1 - Latest upstream rhbz#1528076 - Recommend ujson on Fedora * Thu Sep 07 2017 Carl George - 1.3.0-1 - Latest upstream - Enable python34 EPEL subpackage * Thu Aug 03 2017 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 13 2017 Carl George - 1.2.0-4 - The test test_deprecated_decorator fails in Koji, add patch006 to skip * Fri Jun 09 2017 Carl George - 1.2.0-3 - Only run test suite on F26+ due to pytest 3 requirement * Thu May 04 2017 Carl George - 1.2.0-2 - Spec file clean up - Fix rpmlint error caused by srcname being undefined * Tue May 02 2017 Carl George - 1.2.0-1 - Latest upstream - Switch from nosetests to pytest - Require mimeparse >= 1.5.2 (related rhbz#1339379) - Add Patch005 to create versioned scripts - Include LICENSE * Sat Feb 11 2017 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.0.0-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.0.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue May 24 2016 Carl George - 1.0.0-1 - Latest upstream - Patch002 and Patch003 fixed upstream - Patch004 added to make test suite pass with old version of mimeparse * Thu Feb 04 2016 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Dec 05 2015 Carl George - 0.3.0-4 - Specify minimum version of python-six - Change python3 control macros to a bcond macro - Add bcond macro to optionally require explicit python2 names * Mon Nov 16 2015 Carl George - 0.3.0-3 - Add patch to disable coverage - Add patch to skip test_request_cookie_parsing on Python 3.5 * Tue Nov 10 2015 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Tue Sep 01 2015 Carl George - 0.3.0-1 - Upstream 0.3.0 - Add patch1 to fix GH#558 - Update to new packaging guidelines - Add new test suite dependencies - Call nosetests directly * Thu Jun 18 2015 Fedora Release Engineering - 0.1.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Nov 05 2014 Haïkel Guémar - 0.1.10-5 - Upstream 0.1.10 - No python3 in EL7 * Sun Aug 17 2014 Fedora Release Engineering - 0.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.1.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 19 2014 Bohuslav Kabrda - 0.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Mon Mar 24 2014 Jamie Lennox - 0.1.8-2 - Remove now missing doc files - Remove installed test files * Thu Feb 27 2014 Jamie Lennox - 0.1.8-1 - Bump to 0.1.8 * Mon Sep 23 2013 Jamie Lennox - 0.1.7-1 - Add Python 3 packaging details and patch to fix for Python 3. - Remove falcon-bench from package. - Added check section. * Wed Sep 18 2013 Jamie Lennox - 0.1.7-1 - Initial package. ## END: Generated by rpmautospec