public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kyle Lexmond <fedora@kyl191.net>
To: git-commits@fedoraproject.org
Subject: [rpms/hd-idle] epel10: Add patch to write hd-idle executable to /usr/bin instead of /usr/sbin
Date: Sat, 06 Jun 2026 22:57:48 GMT [thread overview]
Message-ID: <178078666875.1.15345675032076806238.rpms-hd-idle-49dcabde38c2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hd-idle
Branch : epel10
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
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
reply other threads:[~2026-06-06 22:57 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=178078666875.1.15345675032076806238.rpms-hd-idle-49dcabde38c2@fedoraproject.org \
--to=fedora@kyl191.net \
--cc=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