## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 16; 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 %global srcname priority %global common_description %{expand: A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the priority logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority)_. This logic allows for clients to express a preference for how the server allocates its (limited) resources to the many outstanding HTTP requests that may be running over a single HTTP/2 connection.} Name: python-%{srcname} Version: 2.0.0 Release: %autorelease Summary: A pure-Python implementation of the HTTP/2 priority tree License: MIT URL: http://python-hyper.org/priority/ VCS: https://github.com/python-hyper/priority Source0: %vcs/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(hypothesis) BuildRequires: python3dist(pytest) BuildRequires: python3dist(sphinx) BuildRequires: python3dist(sphinx-rtd-theme) %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{common_description} %package doc Summary: Documentation for %{name} %description doc %{common_description} This is the documentation package for %{name}. %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel # generate html docs PYTHONPATH=%{pyproject_build_lib} sphinx-build docs/source html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %install %pyproject_install %pyproject_save_files %{srcname} %check %pytest %files -n python3-%{srcname} -f %{pyproject_files} %doc *.rst %files doc %doc html %license LICENSE %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 2.0.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.0.0-15 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 2.0.0-11 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 23 2022 Robert-André Mauchin - 2.0.0-8 - Update to new guidelines * Tue Jun 14 2022 Python Maint - 2.0.0-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Dec 19 2021 Robert-André Mauchin - 2.0.0-5 - Relax pytest dependency for Pytest 7 * Sat Dec 18 2021 Robert-André Mauchin - 2.0.0-4 - Relax pytest-cov dependency * Sat Jul 24 2021 Robert-André Mauchin - 2.0.0-3 - Fix issue with automatic BR for tests * Sat Jul 24 2021 Robert-André Mauchin - 2.0.0-2 - Fix issue with automatic BR for docs * Fri Jul 23 2021 Fedora Release Engineering - 1.3.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.3.0-13 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 2020 Miro Hrončok - 1.3.0-10 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 09 2019 Miro Hrončok - 1.3.0-8 - Subpackage python2-priority has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Aug 17 2019 Miro Hrončok - 1.3.0-7 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Mar 07 2019 Robert-André Mauchin - 1.3.0-5 - Add actual tests * Sat Feb 02 2019 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.3.0-2 - Rebuilt for Python 3.7 * Mon May 14 2018 Robert-André Mauchin - 1.3.0-1 - Initial package. ## END: Generated by rpmautospec