[octomap] Remove sbindir macro from ldconfig scriptlets

rmattes rmattes at fedoraproject.org
Wed Jul 2 23:46:34 UTC 2014


commit 4a49c07d0daf0b9df8516b64d6a18448931bd85b
Author: Rich Mattes <richmattes at gmail.com>
Date:   Wed Jul 2 19:46:33 2014 -0400

    Remove sbindir macro from ldconfig scriptlets

 octomap.spec |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/octomap.spec b/octomap.spec
index 434cf41..5cc913c 100644
--- a/octomap.spec
+++ b/octomap.spec
@@ -3,7 +3,7 @@
 
 Name:           octomap
 Version:        1.6.6
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Efficient Probabilistic 3D Mapping Framework Based on Octrees
 
 # octovis is GPLv2, octomap and dynamic-edt-3d are BSD
@@ -100,17 +100,17 @@ pushd build
 export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
 make test || cat Testing/Temporary/LastTest.log
 
-%post -p %{_sbindir}/ldconfig
+%post -p /sbin/ldconfig
 
-%postun -p %{_sbindir}/ldconfig
+%postun -p /sbin/ldconfig
 
-%post -n %{name}-octovis -p %{_sbindir}/ldconfig
+%post -n %{name}-octovis -p /sbin/ldconfig
 
-%postun -n %{name}-octovis -p %{_sbindir}/ldconfig
+%postun -n %{name}-octovis -p /sbin/ldconfig
 
-%post -n dynamic-edt-3d -p %{_sbindir}/ldconfig
+%post -n dynamic-edt-3d -p /sbin/ldconfig
 
-%postun -n dynamic-edt-3d -p %{_sbindir}/ldconfig
+%postun -n dynamic-edt-3d -p /sbin/ldconfig
 
 %files
 %doc octomap/LICENSE.txt
@@ -155,6 +155,9 @@ make test || cat Testing/Temporary/LastTest.log
 %{_libdir}/cmake
 
 %changelog
+* Wed Jul 02 2014 Rich Mattes <richmattes at gmail.com> - 1.6.6-4
+- Remove sbindir macro from ldconfig scriptlets
+
 * Fri Jun 27 2014 Rich Mattes <richmattes at gmail.com> - 1.6.6-3
 - Use sbindir macro
 


More information about the scm-commits mailing list