public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cm_rgb] rawhide: Fix stop using deprecated %py3_build/%py3_install macros
@ 2026-08-05 1:45 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-05 1:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cm_rgb
Branch : rawhide
Commit : ecf0bedde39692147ce3a0fb5497bbc1618e2f3c
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-03T14:43:43-03:00
Stats : +10/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/cm_rgb/c/ecf0bedde39692147ce3a0fb5497bbc1618e2f3c?branch=rawhide
Log:
Fix stop using deprecated %py3_build/%py3_install macros
Resolves: rhbz#2377225
---
diff --git a/cm_rgb.spec b/cm_rgb.spec
index 920b671..2c79eed 100644
--- a/cm_rgb.spec
+++ b/cm_rgb.spec
@@ -13,7 +13,6 @@ Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-gobject
BuildRequires: python%{python3_pkgversion}-psutil
@@ -28,20 +27,23 @@ Utility to control RGB on AMD Wraith Prism
%autosetup -n %{srcname}-%{version}
chmod 644 LICENSE README.md
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
-chmod -x %{buildroot}%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/dependency_links.txt
+%pyproject_install
+%pyproject_save_files -l %{srcname}
+
+%check
+%pyproject_check_import
-%files
-%license LICENSE
+%files -f %{pyproject_files}
%doc README.md
# For noarch packages: sitelib
-%{python3_sitelib}/%{srcname}/
-%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
%{_bindir}/*
%changelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-05 1:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 1:45 [rpms/cm_rgb] rawhide: Fix stop using deprecated %py3_build/%py3_install macros Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox