public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocsinventory-agent] epel10.2: Fix for /usr/sbin merge in Fedora 42
@ 2026-06-05 19:02 Pat Riehecky
0 siblings, 0 replies; only message in thread
From: Pat Riehecky @ 2026-06-05 19:02 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-05 19:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05 19:02 [rpms/ocsinventory-agent] epel10.2: Fix for /usr/sbin merge in Fedora 42 Pat Riehecky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox