2023-08-18 10:53:51 +08:00
|
|
|
%global _description %{expand:
|
|
|
|
|
Dunamai is a Python 3.5+ library and command line tool for producing dynamic,
|
|
|
|
|
standards-compliant version strings, derived from tags in your version control
|
|
|
|
|
system. This facilitates uniquely identifying nightly or per-commit builds in
|
|
|
|
|
continuous integration and releasing new versions of your software simply by
|
|
|
|
|
creating a tag.}
|
|
|
|
|
|
|
|
|
|
Name: python-dunamai
|
2024-02-25 15:00:10 +08:00
|
|
|
Version: 1.19.2
|
2023-08-18 10:53:51 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Dynamic version generation
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/mtkennerly/dunamai
|
2023-12-04 16:07:30 +08:00
|
|
|
Source0: %{url}/archive/v%{version}/dunamai-%{version}.tar.gz
|
2023-08-18 10:53:51 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
%package -n python3-dunamai
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-setuptools_scm
|
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
|
BuildRequires: python3-poetry-core
|
|
|
|
|
|
|
|
|
|
%description -n python3-dunamai %_description
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n dunamai-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
%files -n python3-dunamai
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
|
%{_bindir}/dunamai
|
|
|
|
|
%{python3_sitelib}/dunamai-*.dist-info/
|
|
|
|
|
%{python3_sitelib}/dunamai/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-02-25 15:00:10 +08:00
|
|
|
* Sun Feb 25 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 1.19.2-1
|
|
|
|
|
- Update package to version 1.19.2
|
|
|
|
|
Fixed an exception when a Git repository had a broken ref. Git would print a warning that Dunamai failed to parse.
|
|
|
|
|
|
2023-12-04 16:07:30 +08:00
|
|
|
* Mon Dec 04 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.19.0-1
|
|
|
|
|
- Update package to version 1.19.0
|
|
|
|
|
|
2023-08-18 10:53:51 +08:00
|
|
|
* Fri Aug 18 2023 mengzhaoa <mengzhaoa@isoftstone.com> - 1.18.0-1
|
|
|
|
|
- Init package python-dunamai-1.18.0
|