From e0f4e832347907cbdb5b835f965ece9d860c6172b737780e75cdfbe8a9e621ee Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Jun 2025 06:20:07 +0000 Subject: [PATCH] - Switch to pyroject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=22 --- python-colander.changes | 5 +++++ python-colander.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-colander.changes b/python-colander.changes index eb0e521..3a902cb 100644 --- a/python-colander.changes +++ b/python-colander.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 16 06:12:18 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. + ------------------------------------------------------------------- Sun Jan 14 17:09:21 UTC 2024 - Dirk Müller diff --git a/python-colander.spec b/python-colander.spec index 9a90cba..52fb3b8 100644 --- a/python-colander.spec +++ b/python-colander.spec @@ -1,7 +1,7 @@ # # spec file for package python-colander # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-colander Version: 2.0 Release: 0 @@ -26,8 +25,10 @@ License: BSD-4-Clause AND ZPL-2.1 AND MIT URL: https://github.com/Pylons/colander Source: https://files.pythonhosted.org/packages/source/c/colander/colander-%{version}.tar.gz BuildRequires: %{python_module Babel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module translationstring} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-iso8601 @@ -60,10 +61,10 @@ An extensible package which can be used to: %autosetup -p1 -n colander-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %find_lang colander %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -73,6 +74,7 @@ An extensible package which can be used to: %files %{python_files} %license LICENSE.txt %doc CHANGES.rst README.rst -%{python_sitelib}/colander* +%{python_sitelib}/colander +%{python_sitelib}/colander-%{version}.dist-info %changelog