public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pat Riehecky <riehecky@fnal.gov>
To: git-commits@fedoraproject.org
Subject: [rpms/ocsinventory-agent] epel10.2: Fix for /usr/sbin merge in Fedora 42
Date: Fri, 05 Jun 2026 19:02:59 GMT [thread overview]
Message-ID: <178068617949.1.2142470154801621981.rpms-ocsinventory-agent-e09643beb709@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ocsinventory-agent
Branch : epel10.2
Commit : e09643beb7097b05f90ae106424916afece961e4
Author : Pat Riehecky <riehecky@fnal.gov>
Date : 2025-01-22T15:31:23-06:00
Stats : +7/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ocsinventory-agent/c/e09643beb7097b05f90ae106424916afece961e4?branch=epel10.2
Log:
Fix for /usr/sbin merge in Fedora 42
---
diff --git a/ocsinventory-agent.spec b/ocsinventory-agent.spec
index ff0df0a..8283f5c 100644
--- a/ocsinventory-agent.spec
+++ b/ocsinventory-agent.spec
@@ -222,8 +222,10 @@ rm run-postinst
%{make_install}
find %{buildroot} -type f -name '*.bs' -size 0 -delete
-# Move exe to root directory
-mv %{buildroot}%{_bindir} %{buildroot}%{_sbindir}
+if [[ "%{_bindir}" != "%{_sbindir}" ]]; then
+ # Move exe to right directory
+ mv %{buildroot}%{_bindir} %{buildroot}%{_sbindir}
+fi
mkdir -p %{buildroot}%{_localstatedir}/{log,lib}/%{name}
mkdir -p %{buildroot}%{_sysconfdir}/{logrotate.d,sysconfig,ocsinventory/softwares}
@@ -305,6 +307,9 @@ find %{buildroot} -type f -name ._.DS_Store -exec rm {} \;
%changelog
+* Wed Jan 22 2025 Pat Riehecky <riehecky@fnal.gov> - 2.10.4-6
+- Fix for /usr/sbin merge in F42
+
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
reply other threads:[~2026-06-05 19:02 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=178068617949.1.2142470154801621981.rpms-ocsinventory-agent-e09643beb709@fedoraproject.org \
--to=riehecky@fnal.gov \
--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