From 4f9d0b081dca6daa85c318c1e4d02f7c897e973d5a19b8e9ffae21ead8a88f0d Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Jun 2025 06:25:54 +0000 Subject: [PATCH] - Switch to pyroject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-streamdeck?expand=0&rev=14 --- python-streamdeck.changes | 5 +++++ python-streamdeck.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-streamdeck.changes b/python-streamdeck.changes index 78e649c..c12b058 100644 --- a/python-streamdeck.changes +++ b/python-streamdeck.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 16 06:12:25 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. + ------------------------------------------------------------------- Tue Oct 29 22:24:06 UTC 2024 - Dirk Müller diff --git a/python-streamdeck.spec b/python-streamdeck.spec index 1fe8cc7..e3c078e 100644 --- a/python-streamdeck.spec +++ b/python-streamdeck.spec @@ -1,7 +1,7 @@ # # spec file for package python-streamdeck # -# Copyright (c) 2024 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 @@ License: MIT URL: https://github.com/abcminiuser/python-elgato-streamdeck Source: https://files.pythonhosted.org/packages/source/s/streamdeck/streamdeck-%{version}.tar.gz Group: Development/Languages/Python +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -40,16 +42,16 @@ Python library to control Elgato StreamDeck devices. dos2unix CHANGELOG README.md %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc CHANGELOG README.md %license LICENSE %{python_sitelib}/StreamDeck* -%{python_sitelib}/streamdeck-%{version}*-info +%{python_sitelib}/streamdeck-%{version}.dist-info %changelog