[mate-vfs] Use a better solution for samba configure option (thanks Rex)

leigh123linux leigh123linux at fedoraproject.org
Tue Oct 30 18:48:52 UTC 2012


commit 834e59a3691be65b300e3abdbfd80a73b4f27d04
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Tue Oct 30 18:48:43 2012 +0000

    Use a better solution for samba configure option (thanks Rex)

 mate-vfs.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mate-vfs.spec b/mate-vfs.spec
index 250f648..150f76c 100644
--- a/mate-vfs.spec
+++ b/mate-vfs.spec
@@ -3,7 +3,7 @@
 Summary:			The MATE virtual file-system libraries
 Name:				mate-vfs
 Version:			1.4.0
-Release:			13%{?dist}
+Release:			14%{?dist}
 License:			LGPLv2+ and GPLv2+
 					# the daemon and the library are LGPLv2+
 					# the modules are LGPLv2+ and GPLv2+
@@ -98,7 +98,7 @@ export CPPFLAGS="-I/usr/include/cdda"
 %configure \
 	--enable-daemon \
 	--disable-static \
-        --with-samba-includes=%{_includedir}/samba-4.0
+        --with-samba-includes=$(pkg-config --variable=includedir smbclient)
 
 
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -162,6 +162,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %config(noreplace) %{_sysconfdir}/mate-vfs-2.0/modules/smb-module.conf
 
 %changelog
+* Tue Oct 30 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.4.0-14
+- Use a better solution for samba configure option (thanks Rex)
+
 * Tue Oct 30 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.4.0-13
 - rebuilt with samba include configure option
 - remove un-needed requires


More information about the scm-commits mailing list