diff --git a/python-versioneer.spec b/python-versioneer.spec new file mode 100644 index 0000000..9318735 --- /dev/null +++ b/python-versioneer.spec @@ -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 - 0.29-1 +- Init package of python-versioneer \ No newline at end of file diff --git a/versioneer-0.29.tar.gz b/versioneer-0.29.tar.gz new file mode 100644 index 0000000..9ce6349 Binary files /dev/null and b/versioneer-0.29.tar.gz differ