%global modname multidict #global rctag b4 Name: python-%{modname} Version: 6.0.4%{?rctag:~%{rctag}} Release: 1%{?dist} Summary: MultiDict implementation License: ASL 2.0 URL: https://github.com/aio-libs/multidict Source0: %{url}/archive/v%{version}%{?rctag:%{rctag}}/%{modname}-%{version}%{?rctag:%{rctag}}.tar.gz BuildRequires: gcc %global _description \ Multidicts are useful for working with HTTP headers, URL query args etc. %description %{_description} %package -n python3-%{modname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3-Cython BuildRequires: python3dist(pytest) %{?python_provide:%python_provide python3-%{modname}} %description -n python3-%{modname} %{_description} %prep %autosetup -n %{modname}-%{version}%{?rctag:%{rctag}} sed -i -e '/addopts/d' setup.cfg %build %py3_build %install %py3_install rm -vf %{buildroot}%{python3_sitearch}/%{modname}/*.{c,pyx} %check %pytest -v tests %files -n python3-%{modname} %license LICENSE %doc README.rst %{python3_sitearch}/%{modname}-*.egg-info/ %{python3_sitearch}/%{modname}/ %changelog * Mon Jan 16 2023 Tomáš Hrnčiar - 6.0.4-2 - Update to 6.0.4 * Fri Jul 22 2022 Fedora Release Engineering - 6.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 6.0.2-6 - Rebuilt for Python 3.11 * Tue Feb 22 2022 Fabian Affolter - 6.0.2-1 - Update to new upstream version 6.0.2 (closes rhbz#2009584) * Fri Jan 21 2022 Fedora Release Engineering - 5.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 5.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 03 2021 Python Maint - 5.1.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 5.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 04 2020 Fabian Affolter - 5.1.0-1 - Update to latest upstream release 5.1.0 (#1897800) * Mon Nov 16 2020 Fabian Affolter - 5.0.2-1 - Update to latest upstream release 5.0.2 (#1897800) * Wed Oct 14 2020 Fabian Affolter - 5.0.0-1 - Update to latest upstream release 5.0.0 (#1887481) * Wed Jul 29 2020 Fedora Release Engineering - 4.7.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Miro Hrončok - 4.7.6-2 - Rebuilt for Python 3.9 * Sat May 16 2020 Fabian Affolter - 4.7.6-1 - Update to latest upstream release 4.7.6 (#1836076) * Sat Feb 22 2020 Fabian Affolter - 4.7.5-1 - Update to latest upstream release 4.7.5 (#1806083) * Mon Feb 03 2020 Fabian Affolter - 4.7.4-1 - UPdate to latest upstream release 4.7.4 (#1774256) * Thu Jan 30 2020 Fedora Release Engineering - 4.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Sep 26 2019 Igor Gnatenko - 4.5.2-1 - Update to 4.5.2 * Fri Aug 16 2019 Miro Hrončok - 4.3.1-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 4.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 4.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 4.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jul 07 2018 Igor Gnatenko - 4.3.1-1 - Update to 4.3.1 * Tue Jun 19 2018 Miro Hrončok - 4.1.0-3 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 29 2018 Igor Gnatenko - 4.1.0-1 - Update to 4.1.0 * Mon Jan 15 2018 Igor Gnatenko - 4.0.0-1 - Update to 4.0.0 * Fri Nov 03 2017 Igor Gnatenko - 3.3.2-1 - Update to 3.3.2 * Thu Nov 02 2017 Igor Gnatenko - 3.3.1-1 - Update to 3.3.1 * Fri Oct 20 2017 Igor Gnatenko - 3.3.0-1 - Update to 3.3.0 * Sun Oct 01 2017 Igor Gnatenko - 3.2.0-1 - Update to 3.2.0 * Thu Aug 03 2017 Fedora Release Engineering - 3.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 3.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jul 16 2017 Igor Gnatenko - 3.1.3-1 - Update to 3.1.3 * Mon Jul 03 2017 Athmane Madjoudj - 3.1.0-1 - Update to 3.1.0 - Ignore tests until imports are fixed * Thu Jun 08 2017 Igor Gnatenko - 2.1.6-1 - Update to 2.1.6 * Sat Feb 11 2017 Fedora Release Engineering - 2.1.4-1.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 2.1.4-1.1 - Rebuild for Python 3.6 * Thu Dec 01 2016 Igor Gnatenko - 2.1.4-1 - Update to 2.1.4 * Thu Dec 01 2016 Igor Gnatenko - 2.1.3-1 - Update to 2.1.3 * Mon Nov 07 2016 Igor Gnatenko - 2.1.2-1 - Update to 2.1.2 * Fri Sep 23 2016 Igor Gnatenko - 2.1.1-1 - Update to 2.1.1 * Tue Jul 19 2016 Fedora Release Engineering - 1.1.0-1.1 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Jul 07 2016 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 - Trivial fixes * Thu Jun 23 2016 Igor Gnatenko - 1.1.0-0.1b4 - Initial package