%global modname multidict #global rctag b4 Name: python-%{modname} Version: 5.1.0%{?rctag:~%{rctag}} Release: 3%{?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 * Fri Apr 16 2021 Mohan Boddu - 5.1.0-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 * 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