public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hddfancontrol] epel10.2: spec cleanup, silent rpmlint, prep for new upstream release
@ 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 : c4c750d893f20bf51c3f6b44357f6f9352983bd0
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-02-28T23:15:00-03:00
Stats  : +7/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/hddfancontrol/c/c4c750d893f20bf51c3f6b44357f6f9352983bd0?branch=epel10.2

Log:
spec cleanup, silent rpmlint, prep for new upstream release

---
diff --git a/hddfancontrol.spec b/hddfancontrol.spec
index ce255ad..0575ae2 100644
--- a/hddfancontrol.spec
+++ b/hddfancontrol.spec
@@ -1,5 +1,8 @@
 %global pypi_name hddfancontrol
 
+# silent rpmlint W: no-manual-page-for-binary
+%global __provides_exclude_from %{_bindir}/hddfancontrol-.*
+
 Name:           %{pypi_name}
 Version:        1.6.2
 Release:        %autorelease
@@ -22,7 +25,6 @@ BuildRequires:  python3-pytest
 BuildRequires:  systemd
 Requires:       hdparm
 Requires:       hddtemp
-Requires:       python3-docutils
 
 %py_provides    python3-%{pypi_name}
 
@@ -45,6 +47,10 @@ according to hard drive temperature on Linux.
 cp %{buildroot}/%{_bindir}/hddfancontrol %{buildroot}/%{_bindir}/hddfancontrol-3
 ln -sf %{_bindir}/hddfancontrol-3 %{buildroot}/%{_bindir}/hddfancontrol-%{python3_version}
 
+# silent rpmlint E: non-executable-script
+chmod 755 %{buildroot}%{python3_sitelib}/hddfancontrol/__init__.py
+chmod 755 %{buildroot}%{python3_sitelib}/hddfancontrol/__main__.py
+
 # Remove the "tests" directory that gets installed systemwide.
 rm -rf %{buildroot}%{python3_sitelib}/tests
 

^ 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: spec cleanup, silent rpmlint, prep for new upstream release Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox