From 014db5725f696bac91e6a1d0c4a618131c76e815d8f933b2e119857f1daa34a2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 5 Jun 2025 06:04:30 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-DataProperty?expand=0&rev=26 --- python-DataProperty.changes | 5 +++++ python-DataProperty.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-DataProperty.changes b/python-DataProperty.changes index d72884e..61bcb56 100644 --- a/python-DataProperty.changes +++ b/python-DataProperty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 5 06:01:34 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Thu Feb 6 12:04:06 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-DataProperty.spec b/python-DataProperty.spec index 5794db2..4bdd9c7 100644 --- a/python-DataProperty.spec +++ b/python-DataProperty.spec @@ -22,10 +22,12 @@ Version: 1.1.0 Release: 0 Summary: Python library for extract property from data License: MIT -Group: Development/Languages/Python URL: https://github.com/thombashi/DataProperty Source: https://files.pythonhosted.org/packages/source/d/dataproperty/dataproperty-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 38.3.0} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-mbstrdecoder >= 1.0.0 @@ -48,10 +50,10 @@ Python library for extract property from data. %setup -q -n dataproperty-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -62,7 +64,7 @@ export FORCE_COLOR=1 %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/dataproperty* -%{python_sitelib}/DataProperty* +%{python_sitelib}/dataproperty +%{python_sitelib}/[Dd]ata[Pp]roperty-%{version}.dist-info %changelog