!1 Init package python-versioneer of version v0.29.
From: @mengzhaoa Reviewed-by: @desert-sailor Signed-off-by: @desert-sailor
This commit is contained in:
commit
3d2c9a4f6f
49
python-versioneer.spec
Normal file
49
python-versioneer.spec
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
%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
|
||||||
BIN
versioneer-0.29.tar.gz
Normal file
BIN
versioneer-0.29.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user