[samba4/f17] Fix usrmove paths.

asn asn at fedoraproject.org
Mon Jun 18 10:40:25 UTC 2012


commit 1cc10f0f32ba8fb4625ee249cb086ba1ed616512
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Mon Jun 18 12:24:34 2012 +0200

    Fix usrmove paths.

 samba4.spec |   37 ++++++++++++++++++++-----------------
 1 files changed, 20 insertions(+), 17 deletions(-)
---
diff --git a/samba4.spec b/samba4.spec
index 33c8e92..da387e5 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -1,4 +1,4 @@
-%define main_release 53
+%define main_release 54
 
 %define samba_version 4.0.0
 %define talloc_version 2.0.7
@@ -538,7 +538,7 @@ rm -rf %{buildroot}%{perl_vendorlib}/Parse/Yapp
 
 # This makes the right links, as rpmlint requires that
 # the ldconfig-created links be recorded in the RPM.
-/sbin/ldconfig -N -n %{buildroot}%{_libdir}
+/usr/sbin/ldconfig -N -n %{buildroot}%{_libdir}
 
 # Fix up permission on perl install.
 %{_fixperms} %{buildroot}%{perl_vendorlib}
@@ -592,17 +592,17 @@ if [ $1 -ge 1 ] ; then
 fi
 %endif
 
-%post libs -p /sbin/ldconfig
+%post libs -p /usr/sbin/ldconfig
 
-%postun libs -p /sbin/ldconfig
+%postun libs -p /usr/sbin/ldconfig
 
-%post dc-libs -p /sbin/ldconfig
+%post dc-libs -p /usr/sbin/ldconfig
 
-%postun dc-libs -p /sbin/ldconfig
+%postun dc-libs -p /usr/sbin/ldconfig
 
-%post test -p /sbin/ldconfig
+%post test -p /usr/sbin/ldconfig
 
-%postun test -p /sbin/ldconfig
+%postun test -p /usr/sbin/ldconfig
 
 %pre winbind
 /usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
@@ -636,25 +636,25 @@ fi
 exit 0
 
 %post common
-/sbin/ldconfig
-/bin/systemd-tmpfiles --create %{_sysconfdir}/tmpfiles.d/samba.conf
+/usr/sbin/ldconfig
+/usr/bin/systemd-tmpfiles --create %{_sysconfdir}/tmpfiles.d/samba.conf
 
-%postun common -p /sbin/ldconfig
+%postun common -p /usr/sbin/ldconfig
 
-%post winbind-clients -p /sbin/ldconfig
+%post winbind-clients -p /usr/sbin/ldconfig
 
-%postun winbind-clients -p /sbin/ldconfig
+%postun winbind-clients -p /usr/sbin/ldconfig
 
 %if %with_libsmbclient
-%post -n libsmbclient -p /sbin/ldconfig
+%post -n libsmbclient -p /usr/sbin/ldconfig
 
-%postun -n libsmbclient -p /sbin/ldconfig
+%postun -n libsmbclient -p /usr/sbin/ldconfig
 %endif # with_libsmbclient
 
 %if %with_libwbclient
-%post -n libwbclient -p /sbin/ldconfig
+%post -n libwbclient -p /usr/sbin/ldconfig
 
-%postun -n libwbclient -p /sbin/ldconfig
+%postun -n libwbclient -p /usr/sbin/ldconfig
 %endif # with_libwbclient
 
 %clean
@@ -1232,6 +1232,9 @@ rm -rf %{buildroot}
 %endif # with_libwbclient
 
 %changelog
+* Mon Jun 18 2012 Andreas Schneider <asn at redhat.com> - 2:4.0.0-54.alpha21
+- Fix usrmove paths.
+
 * Tue Jun 12 2012 Andreas Schneider <asn at redhat.com> - 2:4.0.0-53.alpha21
 - Fix possible memory leaks in the samba master process.
 - resolves: #829694


More information about the scm-commits mailing list