## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 pypi_name jeepney Name: python-%{pypi_name} Version: 0.8.0 Release: %autorelease Summary: Low-level, pure Python DBus protocol wrapper License: MIT URL: https://gitlab.com/takluyver/jeepney Source0: %pypi_source BuildArch: noarch BuildRequires: python3-devel # Dependencies to build the documentation: BuildRequires: make BuildRequires: python3-sphinx BuildRequires: python3dist(sphinx-rtd-theme) %description This is a low-level, pure Python DBus protocol client. It has an I/O-free core, and integration modules for different event loops. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} This is a low-level, pure Python DBus protocol client. It has an I/O-free core, and integration modules for different event loops. %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel make -C docs SPHINXBUILD=sphinx-build-3 html rm -rf docs/_build/html/{.buildinfo,_sources} %install %pyproject_install %pyproject_save_files %pypi_name %files -n python3-%{pypi_name} -f %pyproject_files %license LICENSE %doc README.rst examples/ docs/_build/html/ %changelog * Tue Jul 19 2022 Göran Uddeborg - 0.8.0-3 - Disable tests as python-pytest-trio isn't available in RHEL 9 * Mon Jun 13 2022 Python Maint - 0.8.0-2 - Rebuilt for Python 3.11 * Tue Apr 05 2022 Göran Uddeborg - 0.8.0-1 - Upgrade to 0.8.0 (#1987023) - Update SPEC file to current Python packaging guidelines and RPM macros * Fri Jan 21 2022 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 03 2021 Göran Uddeborg - 0.7.1-1 - Upgrade to 0.7.1 (#1987023) * Tue Aug 03 2021 Göran Uddeborg - 0.7.0-4 - Activate autorelease * Fri Jul 23 2021 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jul 11 2021 Göran Uddeborg - 0.7.0-1 - Upgrade to 0.7.0 (#1981018) * Fri Jun 04 2021 Python Maint - 0.6.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 06 2021 Joel Capitao - 0.6.0-1 - Update to 0.6.0 (#1899516) * Sun Nov 15 2020 Göran Uddeborg - 0.5.0-1 - Upgrade to 0.5.0 (#1896570) * Wed Jul 29 2020 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.4.3-2 - Rebuilt for Python 3.9 * Wed Mar 4 2020 Göran Uddeborg - 0.4.3-1 - Upgrade to 0.4.3 (#1809631) * Thu Feb 13 2020 Christopher Tubbs - 0.4.2-1 - Upgrade to 0.4.2 * Thu Jan 30 2020 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Sep 10 2019 Göran Uddeborg - 0.4.1-1 - Upgrade to 0.4.1 * Mon Aug 19 2019 Miro Hrončok - 0.4-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Sep 24 2018 Miro Hrončok - 0.4-1 - Initial package