## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 19; 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 gevent-eventemitter Name: python-%{pypi_name} Version: 2.1 Release: %autorelease Summary: EventEmitter using gevent BuildArch: noarch # https://github.com/rossengeorgiev/gevent-eventemitter/pull/3 License: MIT URL: https://github.com/rossengeorgiev/gevent-eventemitter # Tests works only woth GitHub sources Source: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz # Add LICENSE file Patch: %{url}/pull/3/commits/58a4b15852980a231a08e5a0d45e71f7fa47aa02.patch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: This module implements EventEmitter with gevent.} %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_name}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l eventemitter %check %pyproject_check_import %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %license LICENSE %changelog ## START: Generated by rpmautospec * Wed Jan 21 2026 Artem Polishchuk - 2.1-19 - Port on new Python packaging paradigm - Add License file * Sat Jan 27 2024 Maxwell G - 2.1-13 - Remove unused python3-mock test dependency * Fri Jan 26 2024 Fedora Release Engineering - 2.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Python Maint - 2.1-9 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 2.1-6 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.1-3 - Rebuilt for Python 3.10 * Mon Jan 25 2021 Artem Polishchuk - 2.1-2 - build: Polish to conform Fedora guidelines * Wed Sep 16 2020 gasinvein - 2.1-0.1 - Initial package ## END: Generated by rpmautospec