public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hddfancontrol] epel10.2: Actually run tests during the build
@ 2026-06-06 23:11
0 siblings, 0 replies; only message in thread
From: @ 2026-06-06 23:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hddfancontrol
Branch : epel10.2
Commit : 8ae29f0d37a6f934b0990c7437033a435373cd1b
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2025-03-28T15:37:05+01:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hddfancontrol/c/8ae29f0d37a6f934b0990c7437033a435373cd1b?branch=epel10.2
Log:
Actually run tests during the build
- Fixes: rhbz#2354083
Upstream does not use tox, they use setup.py test
(which no longer works, hence python3 -m unittest).
https://github.com/desbma/hddfancontrol/blob/1.6.2/.github/workflows/ci.yml#L26
---
diff --git a/hddfancontrol.spec b/hddfancontrol.spec
index 7de2665..2a0301e 100644
--- a/hddfancontrol.spec
+++ b/hddfancontrol.spec
@@ -36,7 +36,7 @@ according to hard drive temperature on Linux.
rm -rf %{pypi_name}.egg-info
%generate_buildrequires
-%pyproject_buildrequires -t
+%pyproject_buildrequires
%build
%pyproject_wheel
@@ -58,7 +58,7 @@ cp -a systemd/hddfancontrol.service %{buildroot}%{_unitdir}/
cp -a systemd/hddfancontrol.conf %{buildroot}%{_sysconfdir}/
%check
-%tox
+%py3_test_envvars %{python3} -m unittest -v
%files -n hddfancontrol -f %{pyproject_files}
%license LICENSE
^ 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: Actually run tests during the build
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox