[samba/f17] Fix ldonfig and require systemd for samba-common package.
asn
asn at fedoraproject.org
Thu Jun 21 15:33:47 UTC 2012
commit f9698f5d7537dedc28ab9cb2f81b4cb37900927e
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jun 21 17:09:37 2012 +0200
Fix ldonfig and require systemd for samba-common package.
samba.spec | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/samba.spec b/samba.spec
index aa34a0d..b5e380d 100644
--- a/samba.spec
+++ b/samba.spec
@@ -1,4 +1,4 @@
-%define main_release 89
+%define main_release 90
%define samba_version 3.6.5
%define tdb_version 1.2.9
%define talloc_version 2.0.5
@@ -95,6 +95,7 @@ Requires: libtalloc >= 0:%{talloc_version}
Group: Applications/System
Requires(pre): /usr/sbin/groupadd
Requires(post): coreutils
+Requires(post): systemd
%description common
Samba-common provides files necessary for both the server and client
@@ -395,7 +396,7 @@ for i in $list; do
done
-/usr/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
+/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/
# }
@@ -524,14 +525,14 @@ fi
/usr/bin/systemctl try-restart winbind.service >/dev/null 2>&1 || :
%post common
-/usr/sbin/ldconfig
+/sbin/ldconfig
/usr/bin/systemd-tmpfiles --create %{_sysconfdir}/tmpfiles.d/samba.conf
-%postun common -p /usr/sbin/ldconfig
+%postun common -p /sbin/ldconfig
-%post -n libsmbclient -p /usr/sbin/ldconfig
+%post -n libsmbclient -p /sbin/ldconfig
-%postun -n libsmbclient -p /usr/sbin/ldconfig
+%postun -n libsmbclient -p /sbin/ldconfig
%files
%{_sbindir}/smbd
@@ -699,6 +700,11 @@ fi
%{_datadir}/pixmaps/samba/logo-small.png
%changelog
+* Thu Jun 21 2012 Andreas Schneider <asn at redhat.com> - 2:3.6.5-90
+- Fix ldonfig.
+- Require systemd for samba-common package.
+- resolves: #829197
+
* Mon Jun 18 2012 Andreas Schneider <asn at redhat.com> - 2:3.6.5-89
- Fix usrmove paths.
- resolves: #829197
More information about the scm-commits
mailing list