forked from pool/python-vcversioner
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
d88f8b9c59 | |||
26b2634828 | |||
03c416df0a | |||
8dce9cd438 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 24 02:54:14 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 26 21:09:17 UTC 2024 - Guang Yee <gyee@suse.com>
|
||||||
|
|
||||||
|
- Enable sle15_python_module_pythons.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 26 09:20:07 UTC 2021 - pgajdos@suse.com
|
Thu Aug 26 09:20:07 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-vcversioner
|
# spec file for package python-vcversioner
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,13 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-vcversioner
|
Name: python-vcversioner
|
||||||
Version: 2.16.0.0
|
Version: 2.16.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: setup.py extension for deriving versions from SCM tags
|
Summary: setup.py extension for deriving versions from SCM tags
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/habnabit/vcversioner
|
URL: https://github.com/habnabit/vcversioner
|
||||||
Source0: https://files.pythonhosted.org/packages/source/v/vcversioner/vcversioner-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/v/vcversioner/vcversioner-%{version}.tar.gz
|
||||||
# https://github.com/habnabit/vcversioner/issues/13
|
# https://github.com/habnabit/vcversioner/issues/13
|
||||||
@@ -30,7 +29,9 @@ Source1: https://raw.githubusercontent.com/habnabit/vcversioner/%{version
|
|||||||
# https://github.com/habnabit/vcversioner/issues/13
|
# https://github.com/habnabit/vcversioner/issues/13
|
||||||
Source2: https://raw.githubusercontent.com/habnabit/vcversioner/%{version}/test_vcversioner.py
|
Source2: https://raw.githubusercontent.com/habnabit/vcversioner/%{version}/test_vcversioner.py
|
||||||
Source9: %{name}-rpmlintrc
|
Source9: %{name}-rpmlintrc
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@@ -49,10 +50,10 @@ VCS tag and extract a version from it.
|
|||||||
cp %{SOURCE1} %{SOURCE2} .
|
cp %{SOURCE1} %{SOURCE2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -61,8 +62,8 @@ cp %{SOURCE1} %{SOURCE2} .
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/vcversioner.py*
|
%{python_sitelib}/vcversioner.py
|
||||||
%pycache_only %{python_sitelib}/__pycache__/vcversioner.*.py*
|
%pycache_only %{python_sitelib}/__pycache__/vcversioner.*.pyc
|
||||||
%{python_sitelib}/vcversioner-%{version}-py*.egg-info
|
%{python_sitelib}/vcversioner-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user