# Created by pyp2rpm-3.3.2 %global pypi_name versioneer %global _description %{expand: Versioneer is a tool to automatically update version strings (in setup.py and the conventional 'from PROJECT import _version' pattern) by asking your version-control system about the current tree.} Name: python-%{pypi_name} Version: 0.18 Release: 4%{?dist} Summary: Easy VCS-based management of project version strings License: Public Domain URL: https://github.com/warner/python-versioneer Source0: https://files.pythonhosted.org/packages/source/v/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(setuptools) %description -n python3-%{pypi_name} %_description %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %doc README.md %{_bindir}/versioneer %{python3_sitelib}/__pycache__/%{pypi_name}* %{python3_sitelib}/%{pypi_name}.py %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info/* %changelog * Thu Jan 30 2020 Fedora Release Engineering - 0.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Dec 31 2019 Mukundan Ragavan - 0.18-3 - rebuild * Mon Dec 30 2019 Mukundan Ragavan - 0.18-2 - Address changes from package review * Sun Dec 22 2019 Mukundan Ragavan - 0.18-1 - Initial package.