From ec2270d197705217a1c167d962e5e5b7d80b2c2985a0a9ee5e786e3a18eb92d3 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 26 Mar 2024 12:14:27 +0000 Subject: [PATCH] Accepting request 1161720 from home:glaubitz:branches:devel:languages:python - Switch build system from setuptools to pyproject.toml + Add python-pip and python-wheel to BuildRequires + Replace %python_build with %pyproject_wheel + Replace %python_install with %pyproject_install - Fix capitalization in Summary - Limit Python files matched in %files section OBS-URL: https://build.opensuse.org/request/show/1161720 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fixedint?expand=0&rev=5 --- python-fixedint.changes | 10 ++++++++++ python-fixedint.spec | 11 +++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/python-fixedint.changes b/python-fixedint.changes index fcd68e2..a209044 100644 --- a/python-fixedint.changes +++ b/python-fixedint.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Mar 26 11:51:00 UTC 2024 - John Paul Adrian Glaubitz + +- Switch build system from setuptools to pyproject.toml + + Add python-pip and python-wheel to BuildRequires + + Replace %python_build with %pyproject_wheel + + Replace %python_install with %pyproject_install +- Fix capitalization in Summary +- Limit Python files matched in %files section + ------------------------------------------------------------------- Thu Mar 7 14:41:12 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-fixedint.spec b/python-fixedint.spec index bd660ab..6f9cc02 100644 --- a/python-fixedint.spec +++ b/python-fixedint.spec @@ -20,11 +20,13 @@ Name: python-fixedint Version: 0.2.0 Release: 0 -Summary: simple fixed-width integers +Summary: Simple fixed-width integers License: Python-2.0 URL: https://github.com/nneonneo/fixedint Source: https://files.pythonhosted.org/packages/source/f/fixedint/fixedint-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -45,10 +47,10 @@ of machine registers. %setup -q -n fixedint-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -57,6 +59,7 @@ of machine registers. %files %{python_files} %doc AUTHORS CHANGES README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/fixedint +%{python_sitelib}/fixedint-*.dist-info %changelog