17
0

Compare commits

2 Commits

2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 30 10:11:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Jun 15 12:18:35 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-lazr.delegates
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,9 @@ Summary: Easily write objects that delegate behavior
License: LGPL-3.0-only
URL: https://launchpad.net/lazr.delegates
Source: https://files.pythonhosted.org/packages/source/l/lazr.delegates/lazr.delegates-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-zope.interface
@@ -43,10 +45,10 @@ Easily write objects that delegate behavior
%build
sed -i "/'nose'/d" setup.py
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,6 +57,9 @@ sed -i "/'nose'/d" setup.py
%files %{python_files}
%doc README.rst
%license COPYING.txt
%{python_sitelib}/*
%dir %{python_sitelib}/lazr
%{python_sitelib}/lazr/delegates
%{python_sitelib}/lazr[._]delegates-%{version}*-info
%{python_sitelib}/lazr[._]delegates-%{version}*nspkg.pth
%changelog