From a81203d51fa786d3dd8ecf9a1f0df3bc66faeeaa Mon Sep 17 00:00:00 2001 From: Sandro Date: Jan 26 2024 19:37:31 +0000 Subject: Update to 1.14 (RHBZ#2238283) - Use forge macros. I've done that primarily, because the Source: tag was a lie. On PyPI the project is called Flask-Compress and the tarball is named accordingly. I couldn't download it using `spectool -g`. This way I don't need to mess with `%pypi_name`. --- diff --git a/.gitignore b/.gitignore index 4d7a927..4fbe01b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /Flask-Compress-1.11.tar.gz /Flask-Compress-1.12.tar.gz /flask-compress-1.13.tar.gz +/flask-compress-1.14.tar.gz diff --git a/python-flask-compress.spec b/python-flask-compress.spec index cfb8756..f43ee2e 100644 --- a/python-flask-compress.spec +++ b/python-flask-compress.spec @@ -1,4 +1,5 @@ %global pypi_name flask-compress +%global forgeurl https://github.com/colour-science/flask-compress %global _description %{expand: Flask-Compress allows you to easily compress your Flask application's @@ -9,13 +10,13 @@ compress the static files for you. If you don't have that option Flask-Compress will solve the problem for you.} Name: python-%{pypi_name} -Version: 1.13 +Version: 1.14 Release: %autorelease Summary: Compress responses in your Flask app with gzip or brotli - +%forgemeta License: MIT -URL: https://github.com/colour-science/flask-compress -Source0: %{pypi_source flask-compress} +URL: %forgeurl +Source0: %forgesource BuildArch: noarch @@ -37,7 +38,7 @@ Requires: python3dist(flask) %description -n python3-%{pypi_name} %_description %prep -%autosetup -p1 -n flask-compress-%{version} +%forgeautosetup -p1 rm -rf %{pypi_name}.egg-info %generate_buildrequires diff --git a/sources b/sources index 3b90e9b..432f84a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flask-compress-1.13.tar.gz) = 9452b2e89bc9aa59477560917673ad82854937da8ef1fdad110e07d93574dabf7d2b4ee0871005794c409e3f1df7eb8d90bb78f273c8290db72ab503dd5461a4 +SHA512 (flask-compress-1.14.tar.gz) = 73706ef060954ddbb78318ce8e27cb9449891dcc0724125e9ddf7d8f74b1afbb8a736d3be4f440f2f234b365f88e6075f791316173533a2e9c9609455963c195