public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/adb-enhanced] rawhide: spec cleanup and modernization fixes rhbz#2377196
@ 2026-06-20 22:55 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-20 22:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/adb-enhanced
            Branch : rawhide
            Commit : afaedc33e4910231621c1c4374c245431574ecf4
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-11T19:16:28-03:00
            Stats  : +9/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/adb-enhanced/c/afaedc33e4910231621c1c4374c245431574ecf4?branch=rawhide

            Log:
            spec cleanup and modernization fixes rhbz#2377196

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/adb-enhanced.spec b/adb-enhanced.spec
index 132e6d1..75ca02e 100644
--- a/adb-enhanced.spec
+++ b/adb-enhanced.spec
@@ -11,7 +11,6 @@ Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
-BuildRequires:  python3-setuptools
 
 %if %{with tests}
 BuildRequires:  python3-pytest
@@ -25,23 +24,26 @@ battery saver mode, data saver mode, doze mode, permission grant/revocation.
 %prep
 %autosetup
 
+%generate_buildrequires
+%pyproject_buildrequires
+
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l adbe
 
 %if %{with tests}
 %check
+%pyproject_check_import
+
 %pytest -v tests/adbe_tests.py
 %endif
 
-%files
+%files -f %{pyproject_files}
 %doc README.md
-%license LICENSE
 %{_bindir}/adbe
-%{python3_sitelib}/adbe/
-%{python3_sitelib}/adb_enhanced*.egg-info/
 
 %changelog
 %autochangelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-20 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20 22:55 [rpms/adb-enhanced] rawhide: spec cleanup and modernization fixes rhbz#2377196 Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox