14
0
2025-06-13 12:36:50 +00:00
committed by Git OBS Bridge
parent b432934896
commit 1725f7ecb8
2 changed files with 13 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 13 12:36:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:55:49 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:55:49 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-versiontools # spec file for package python-versiontools
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # 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,19 +16,19 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-versiontools Name: python-versiontools
Version: 1.9.1 Version: 1.9.1
Release: 0 Release: 0
Summary: Smart replacement for plain tuple used in __version__ Summary: Smart replacement for plain tuple used in __version__
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://launchpad.net/versiontools URL: https://launchpad.net/versiontools
Source: https://files.pythonhosted.org/packages/source/v/versiontools/versiontools-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/v/versiontools/versiontools-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools Requires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -48,14 +48,14 @@ Smart replacement for plain tuple used in __version__.
sed -i "1d" versiontools/{git_support,hg_support,bzr_support}.py # Fix non-executable scripts sed -i "1d" versiontools/{git_support,hg_support,bzr_support}.py # Fix non-executable scripts
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%doc doc/* %doc doc/*
%{python_sitelib}/* %{python_sitelib}/versiontools
%{python_sitelib}/versiontools-%{version}*-info
%changelog %changelog