%global pypi_name flask-compress Name: python-%{pypi_name} Version: 1.10.1 Release: 2%{?dist} Summary: Compress responses in your Flask app with gzip or brotli License: MIT URL: https://github.com/colour-science/flask-compress Source0: %{pypi_source Flask-Compress} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(brotli) BuildRequires: python3dist(flask) BuildRequires: python3dist(setuptools-scm) BuildRequires: python3dist(tox) # No debug info providedby the software %global debug_package %{nil} %description Flask-Compress allows you to easily compress your Flask application's responses with gzip. The preferred solution is to have a server (like Nginx) automatically compress the static files for you. If you don't have that option Flask-Compress will solve the problem for you. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(brotli) Requires: python3dist(flask) %description -n python3-%{pypi_name} Flask-Compress allows you to easily compress your Flask application's responses with gzip. The preferred solution is to have a server (like Nginx) automatically compress the static files for you. If you don't have that option Flask-Compress will solve the problem for you. %prep %autosetup -n Flask-Compress-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE.txt %doc README.md %{python3_sitelib}/flask_compress/__pycache__/*.pyc %{python3_sitelib}/flask_compress/*.py %{python3_sitelib}/Flask_Compress-%{version}-py%{python3_version}.egg-info %changelog * Fri Jul 23 2021 Fedora Release Engineering - 1.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Rafael Fontenelle - 1.10.1-1 - Update to 1.10.1 * Fri Jun 04 2021 Python Maint - 1.9.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Oct 11 2020 Rafael Fontenelle - 1.7.0-1 - Update to 1.7.0 * Wed Jul 29 2020 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 02 2020 Rafael Fontenelle - 1.5.0-2 - use macro for source0 * Tue May 12 2020 Itamar Reis Peixoto - 1.5.0-1 - Initial package.