49 lines
1.2 KiB
RPMSpec
49 lines
1.2 KiB
RPMSpec
|
|
%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-versioneer
|
||
|
|
Version: 0.29
|
||
|
|
Release: 1
|
||
|
|
Summary: Easy VCS-based management of project version strings
|
||
|
|
|
||
|
|
License: Unlicense
|
||
|
|
URL: https://github.com/warner/python-versioneer
|
||
|
|
Source0: %{pypi_source versioneer}
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
BuildRequires: python3-devel
|
||
|
|
BuildRequires: python3-setuptools
|
||
|
|
BuildRequires: python3-setuptools_scm
|
||
|
|
BuildRequires: python3-pip
|
||
|
|
BuildRequires: python3-wheel
|
||
|
|
|
||
|
|
%description %_description
|
||
|
|
|
||
|
|
%package -n python3-versioneer
|
||
|
|
Summary: %{summary}
|
||
|
|
|
||
|
|
%description -n python3-versioneer %_description
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n versioneer-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
%pyproject_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%pyproject_install
|
||
|
|
|
||
|
|
%files -n python3-versioneer
|
||
|
|
%doc README.md
|
||
|
|
%doc details.md
|
||
|
|
%{python3_sitelib}/versioneer-*.dist-info/
|
||
|
|
%{python3_sitelib}/__pycache__/
|
||
|
|
%{python3_sitelib}/versioneer.py
|
||
|
|
%{_bindir}/versioneer
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Thu Aug 17 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 0.29-1
|
||
|
|
- Init package of python-versioneer
|