public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hddfancontrol] epel10.2: pyprojectize spec modernization
@ 2026-06-06 23:11 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-06 23:11 UTC (permalink / raw)
To: git-commits
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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-06 23:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06 23:11 [rpms/hddfancontrol] epel10.2: pyprojectize spec modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox