1
0

Compare commits

2 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 30 10:23:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 16 21:01:46 UTC 2023 - Dirk Müller <dmueller@suse.com> Sat Dec 16 21:01:46 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-lazy-object-proxy
# #
# Copyright (c) 2023 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
@@ -34,8 +34,10 @@ Group: Development/Libraries/Python
URL: https://github.com/ionelmc/python-lazy-object-proxy URL: https://github.com/ionelmc/python-lazy-object-proxy
Source: https://files.pythonhosted.org/packages/source/l/lazy-object-proxy/lazy-object-proxy-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/l/lazy-object-proxy/lazy-object-proxy-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 45} BuildRequires: %{python_module setuptools >= 45}
BuildRequires: %{python_module setuptools_scm >= 6.2} BuildRequires: %{python_module setuptools_scm >= 6.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Obsoletes: python-lazy_object_proxy < %{version}-%{release} Obsoletes: python-lazy_object_proxy < %{version}-%{release}
@@ -57,12 +59,12 @@ from Python's ast
%build %build
%if !%{with test} %if !%{with test}
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build %pyproject_wheel
%endif %endif
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif %endif