14
0
2025-06-12 08:17:19 +00:00
committed by Git OBS Bridge
parent bcf40acd24
commit a4a5c7bce6
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 08:15:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 14 14:41:47 UTC 2019 - Matej Cepl <mcepl@suse.com> Mon Oct 14 14:41:47 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-ruamel.base # spec file for package python-ruamel.base
# #
# Copyright (c) 2019 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,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ruamel.base Name: python-ruamel.base
Version: 1.0.0+post1 Version: 1.0.0+post1
Release: 0 Release: 0
@@ -24,7 +23,9 @@ Summary: Shared ruamel routines
License: MIT License: MIT
URL: https://bitbucket.org/ruamel/base URL: https://bitbucket.org/ruamel/base
Source: https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-1.0.0.tar.gz Source: https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-1.0.0.tar.gz
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
BuildArch: noarch BuildArch: noarch
@@ -43,17 +44,17 @@ sed -i '/sys.exit/d' setup.py
sed -i '/namespace_packages=/d' setup.py sed -i '/namespace_packages=/d' setup.py
%build %build
%python_build %pyproject_wheel
%install %install
export RUAMEL_NO_PIP_INSTALL_CHECK=1 export RUAMEL_NO_PIP_INSTALL_CHECK=1
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/ruamel %{python_sitelib}/ruamel
%{python_sitelib}/ruamel.base-1.0.0-py%{python_version}.egg-info %{python_sitelib}/ruamel.base-1.0.0*-info
%changelog %changelog