[samba4] Add libwbclient.so for internal FreeIPA build.

asn asn at fedoraproject.org
Fri Jun 1 09:58:42 UTC 2012


commit 8f283e2304468ccbe853b5f0e539c8e9378ff6da
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Thu May 31 13:26:19 2012 +0200

    Add libwbclient.so for internal FreeIPA build.

 samba4.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/samba4.spec b/samba4.spec
index 94c46fe..52485fd 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -530,6 +530,10 @@ rm -rf %{buildroot}%{perl_vendorlib}/Parse/Yapp
 rm -f %{buildroot}/%{smb_lib}/security/pam_smbpass.so
 rm -f %{buildroot}%{python_sitelib}/tevent.py
 
+%if ! %with_libwbclient
+ln -sf %{_libdir}/samba/libwbclient.so.0 %{buildroot}%{_libdir}/samba/libwbclient.so
+%endif
+
 %post
 %if 0%{?rhel} == 6
 /sbin/chkconfig --add smb
@@ -1161,6 +1165,7 @@ rm -rf %{buildroot}
 %endif # ! with_libsmbclient
 
 %if ! %with_libwbclient
+%{_libdir}/samba/libwbclient.so
 %{_includedir}/samba-4.0/wbclient.h
 %endif # ! with_libwbclient
 
@@ -1217,6 +1222,7 @@ rm -rf %{buildroot}
 * Wed May 30 2012 Andreas Schneider <asn at redhat.com> - 2:4.0.0-51.alpha21
 - Update to Samba 4.0.0 alpha 21.
 - Add missing iniparser-devel build requirement.
+- Add libwbclient.so for internal FreeIPA build.
 
 * Mon May 21 2012 Andreas Schneider <asn at redhat.com> - 2:4.0.0-50.alpha18
 - Add missing python-tevent to BuildRequires.


More information about the scm-commits mailing list