forked from pool/python-vcver
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 077e4fca7e | |||
| 4bb1bd0359 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 12:34:32 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 12 18:20:32 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Wed Oct 12 18:20:32 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-vcver
|
# spec file for package python-vcver
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-vcver
|
Name: python-vcver
|
||||||
Version: 0.2.12
|
Version: 0.2.12
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -26,8 +25,10 @@ URL: https://github.com/toumorokoshi/vcver-python
|
|||||||
Source: https://files.pythonhosted.org/packages/source/v/vcver/vcver-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/vcver/vcver-%{version}.tar.gz
|
||||||
Source99: https://raw.githubusercontent.com/toumorokoshi/vcver-python/master/LICENSE
|
Source99: https://raw.githubusercontent.com/toumorokoshi/vcver-python/master/LICENSE
|
||||||
BuildRequires: %{python_module packaging}
|
BuildRequires: %{python_module packaging}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-packaging
|
Requires: python-packaging
|
||||||
@@ -42,10 +43,10 @@ Python module to provide package versions with version control data.
|
|||||||
cp %{SOURCE99} .
|
cp %{SOURCE99} .
|
||||||
|
|
||||||
%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
|
||||||
@@ -56,6 +57,7 @@ cp %{SOURCE99} .
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/vcver
|
||||||
|
%{python_sitelib}/vcver-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user