%bcond_with tests # disable tests unless upt is available %global srcname upt-rubygems Name: python-upt-rubygems Version: 0.2 Release: 9%{?dist} Summary: RubyGems front-end for upt License: BSD URL: https://framagit.org/upt/upt-rubygems Source0: %pypi_source BuildArch: noarch %description RubyGems front-end for upt. %package -n python%{python3_pkgversion}-%{srcname} Summary: RubyGems front-end for upt %{?python_provide:%python_provide python3-%{srcname}} BuildRequires:python%{python3_pkgversion}-devel BuildRequires:python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-requests-mock Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-semver Requires: upt %description -n python%{python3_pkgversion}-%{srcname} RubyGems front-end for upt. %prep %setup -q -n %{srcname}-%{version} %build %py3_build %install %py3_install %if %{with tests} %check PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest %endif %files -n python%{python3_pkgversion}-%{srcname} %{python3_sitelib}/upt_rubygems-*.egg-info/ %doc README.md CHANGELOG %license LICENSE %{python3_sitelib}/upt_rubygems/ %changelog * Wed Jun 15 2022 Python Maint - 0.2-9 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.2-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jun 29 2019 Jeremy Bertozzi - 0.2-1 - Initial package