public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/adb-enhanced] rawhide: spec cleanup and modernization fixes rhbz#2377196
Date: Sat, 20 Jun 2026 22:55:01 GMT [thread overview]
Message-ID: <178199610147.1.16215130822935245457.rpms-adb-enhanced-afaedc33e491@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-20 22:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178199610147.1.16215130822935245457.rpms-adb-enhanced-afaedc33e491@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox