public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hddfancontrol] epel10.2: pyprojectize spec modernization
Date: Sat, 06 Jun 2026 23:11:08 GMT [thread overview]
Message-ID: <178078746870.1.17683773311172099256.rpms-hddfancontrol-103d57fd6f3f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hddfancontrol
Branch : epel10.2
Commit : 103d57fd6f3f97e1aa7e253ad2f4c35120c23c86
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2025-11-09T13:00:56-03:00
Stats : +2/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hddfancontrol/c/103d57fd6f3f97e1aa7e253ad2f4c35120c23c86?branch=epel10.2
Log:
pyprojectize spec modernization
---
diff --git a/hddfancontrol.spec b/hddfancontrol.spec
index 2a0301e..ce255ad 100644
--- a/hddfancontrol.spec
+++ b/hddfancontrol.spec
@@ -24,7 +24,7 @@ Requires: hdparm
Requires: hddtemp
Requires: python3-docutils
-%{?python_provide:%python_provide python3-%{pypi_name}}
+%py_provides python3-%{pypi_name}
%description
HDD Fan control is a command line tool to dynamically control fan speed
@@ -32,8 +32,6 @@ according to hard drive temperature on Linux.
%prep
%autosetup -n %{pypi_name}-%{version} -p1
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
%generate_buildrequires
%pyproject_buildrequires
@@ -58,6 +56,7 @@ cp -a systemd/hddfancontrol.service %{buildroot}%{_unitdir}/
cp -a systemd/hddfancontrol.conf %{buildroot}%{_sysconfdir}/
%check
+%pyproject_check_import
%py3_test_envvars %{python3} -m unittest -v
%files -n hddfancontrol -f %{pyproject_files}
reply other threads:[~2026-06-06 23:11 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=178078746870.1.17683773311172099256.rpms-hddfancontrol-103d57fd6f3f@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--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