## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 35; 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 modname iowait Name: python-%{modname} Version: 0.2 Release: %autorelease Summary: Platform-independent module for I/O completion events License: LGPL-3.0-or-later URL: https://pypi.python.org/pypi/iowait Source0: https://files.pythonhosted.org/packages/source/%(n=%{modname}; echo ${n:0:1})/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch %global _description \ Different operating systems provide different ways to wait for I/O completion\ events: there’s select(), poll(), epoll() and kqueue(). For cross-platform\ applications it can be a pain to support all this system functions, especially\ because each one provides a different interface.\ \ IOWait solves this problem by providing a unified interface and using always\ the best and faster function available in the platform. Its only limitation\ is that, on Windows, it only works for sockets. %description %{_description} %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-%{modname} %{_description} Python 3 version. %prep %autosetup -n %{modname}-%{version} %build %py3_build %install %py3_install %check %{__python3} test.py -v %files -n python3-%{modname} %license COPYING.LESSER %doc README %{python3_sitelib}/%{modname}-*.egg-info %{python3_sitelib}/%{modname}.py %{python3_sitelib}/__pycache__/%{modname}.* %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.2-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Miroslav Suchý - 0.2-34 - convert LGPLv3+ license to SPDX * Fri Jun 07 2024 Python Maint - 0.2-33 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.2-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Sep 06 2023 Christiano Anderson - 0.2-30 - Added rpmautospec and fixed rpmlint warnings * Wed Sep 06 2023 Christiano Anderson - 0.2-29 - Added rpmautosepc and fixed some rpmlint warnings * Mon Sep 04 2023 Christiano Anderson - 0.2-25 - Added python3-setuptools dependency, closes RHBZ2155014 * Fri Jul 21 2023 Fedora Release Engineering - 0.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.2-23 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2-20 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2-17 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.2-14 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.2-12 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.2-11 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.2-8 - Subpackage python2-iowait has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.2-2 - Rebuild for Python 3.6 * Wed Aug 31 2016 Igor Gnatenko - 0.2-1 - Initial package ## END: Generated by rpmautospec