%global pkg_name user-agents Name: python-%{pkg_name} Version: 2.2.0 Release: 9%{?dist} Summary: A library to identify devices License: MIT URL: https://github.com/selwin/python-user-agents Source0: %{pypi_source user-agents} BuildArch: noarch BuildRequires: python3-devel %description A library to identify devices (phones, tablets) and their capabilities by parsing browser user agent strings. %package -n python3-%{pkg_name} Summary: A library to identify devices %description -n python3-%{pkg_name} A library to identify devices (phones, tablets) and their capabilities by parsing browser user agent strings. %prep %autosetup -p1 -n %{pkg_name}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files user_agents %check %py3_check_import user_agents %files -n python3-%{pkg_name} -f %{pyproject_files} %license LICENSE.txt %doc README.md %changelog * Fri Jan 26 2024 Fedora Release Engineering - 2.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 2.2.0-6 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 2.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.2.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 08 2021 Sandro Mani - 2.2.0-1 - Initial package