public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hd-idle] epel10.2: Add patch to write hd-idle executable to /usr/bin instead of /usr/sbin
@ 2026-06-06 22:58 Kyle Lexmond
0 siblings, 0 replies; only message in thread
From: Kyle Lexmond @ 2026-06-06 22:58 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hd-idle
Branch : epel10.2
Commit : 49dcabde38c2191d40465f6d030a12e24d8fe760
Author : Kyle Lexmond <fedora@kyl191.net>
Date : 2025-09-12T00:33:39+00:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/hd-idle/c/49dcabde38c2191d40465f6d030a12e24d8fe760?branch=epel10.2
Log:
Add patch to write hd-idle executable to /usr/bin instead of /usr/sbin
---
diff --git a/hd-idle-fix-sbin.diff b/hd-idle-fix-sbin.diff
new file mode 100644
index 0000000..d6196c1
--- /dev/null
+++ b/hd-idle-fix-sbin.diff
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 130afd8..d4b647d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -43,7 +43,7 @@ clean:
+ rm -f $(OBJS) $(TARGET)
+
+ install: $(TARGET)
+- install -D -g root -o root $(TARGET) $(TARGET_DIR)/sbin/$(TARGET)
++ install -D -g root -o root $(TARGET) $(TARGET_DIR)/bin/$(TARGET)
+ install -D -g root -o root $(TARGET).1 $(TARGET_DIR)/share/man/man1/$(TARGET).1
+
+ hd-idle.o: hd-idle.c
diff --git a/hd-idle.spec b/hd-idle.spec
index 8f35c06..e6d9b5d 100644
--- a/hd-idle.spec
+++ b/hd-idle.spec
@@ -1,6 +1,6 @@
Name: hd-idle
Version: 1.05
-Release: 24%{?dist}
+Release: 25%{?dist}
Summary: Spin down idle [USB] hard disks
# Automatically converted from old format: GPLv2 - review is highly recommended.
@@ -11,6 +11,7 @@ Source1: %{name}.service
Source2: %{name}.default
Patch0: %{name}-systemd-nodaemon.diff
+Patch1: %{name}-fix-sbin.diff
BuildRequires: gcc
BuildRequires: make
@@ -79,6 +80,9 @@ install -Dpm 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
%changelog
+* Fri Sep 12 2025 Kyle Lexmond <fedora@kyl191.net> - 1.05-25
+- Add patch to write hd-idle executable to /usr/bin instead of /usr/sbin
+
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.05-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-06 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06 22:58 [rpms/hd-idle] epel10.2: Add patch to write hd-idle executable to /usr/bin instead of /usr/sbin Kyle Lexmond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox