public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/hddfancontrol] epel10.2: Actually run tests during the build
Date: Sat, 06 Jun 2026 23:11:06 GMT [thread overview]
Message-ID: <178078746647.1.12948347202728878181.rpms-hddfancontrol-8ae29f0d37a6@fedoraproject.org> (raw)
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
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=178078746647.1.12948347202728878181.rpms-hddfancontrol-8ae29f0d37a6@fedoraproject.org \
--to=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