[samba4/f17] Remove symbols from Provides served by Samba3's libsmbclient and libwbclient.

asn asn at fedoraproject.org
Thu May 3 10:33:28 UTC 2012


commit 11c1565293eabd752ca787bf7f51531783a7f140
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Thu May 3 12:30:47 2012 +0200

    Remove symbols from Provides served by Samba3's libsmbclient and libwbclient.

 samba4.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/samba4.spec b/samba4.spec
index da408af..ec301cd 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -1,4 +1,4 @@
-%define main_release 45
+%define main_release 46
 
 %define samba_version 4.0.0
 %define talloc_version 2.0.7
@@ -150,6 +150,14 @@ BuildRequires: pyldb-devel >= %{libldb_version}
 BuildRequires: libtdb-devel >= %{libtdb_version}
 %endif
 
+# UGLY HACK: Fix 'Provides' for libsmbclient and libwbclient
+%if ! %with_libsmbclient && ! %with_libwbclient
+%{?filter_setup:
+%filter_from_provides /libsmbclient.so.0()/d; /libwbclient.so.0()/d
+%filter_setup
+}
+%endif
+
 %description
 Samba is the standard Windows interoperability suite of programs for Linux and Unix.
 
@@ -1216,6 +1224,9 @@ rm -rf %{buildroot}
 %endif # with_libwbclient
 
 %changelog
+* Thu May 03 2012 Andreas Schneider <asn at redhat.com> - 4.0.0-46.alpha18
+- Remove symbols from Provides served by Samba3's libsmbclient and libwbclient.
+
 * Wed May 02 2012 Andreas Schneider <asn at redhat.com> - 4.0.0-45.alpha18
 - Fix packaging of libsmbclient and libwbclient header files.
 


More information about the scm-commits mailing list