# Created by pyp2rpm-3.3.8 %global pypi_name the-new-hotness %global pypi_version 1.1.0 Name: the-new-hotness Version: %{pypi_version} Release: 1%{?dist} Summary: Consume anitya fedora messaging messages to file bugzilla bugs License: LGPLv2+ URL: https://github.com/fedora-infra/the-new-hotness Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(anitya-schema) BuildRequires: python3dist(fedora-messaging-the-new-hotness-schema) BuildRequires: python3dist(bandit) BuildRequires: python3dist(black) BuildRequires: python3dist(coverage) BuildRequires: python3dist(diff-cover) BuildRequires: (python3dist(fedora-messaging) >= 2.0.1 with python3dist(fedora-messaging) < 4~~) BuildRequires: python3dist(flake8) BuildRequires: (python3dist(koji) >= 1.21 with python3dist(koji) < 2~~) BuildRequires: python3dist(mock) BuildRequires: python3dist(mypy) BuildRequires: python3dist(tox) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-cov) BuildRequires: (python3dist(python-bugzilla) >= 3.2 with python3dist(python-bugzilla) < 4~~) BuildRequires: (python3dist(requests) >= 2.22 with python3dist(requests) < 3~~) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(sphinx) BuildRequires: python3dist(types-requests) %description %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: (python3dist(anitya-schema) >= 1.1 with python3dist(anitya-schema) < 3~~) Requires: python3dist(fedora-messaging-the-new-hotness-schema) Requires: (python3dist(fedora-messaging) >= 2.0.1 with python3dist(fedora-messaging) < 4~~) Requires: (python3dist(koji) >= 1.21 with python3dist(koji) < 2~~) Requires: (python3dist(python-bugzilla) >= 3.2 with python3dist(python-bugzilla) < 4~~) Requires: (python3dist(requests) >= 2.22 with python3dist(requests) < 3~~) %description -n python3-%{pypi_name} %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %pytest %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/hotness %{python3_sitelib}/tests %{python3_sitelib}/the_new_hotness-%{pypi_version}-py%{python3_version}.egg-info %changelog * Sun May 29 2022 Sérgio Basto - 1.1.0-1 - Initial package.