[fuse-smb] Fix FTBFS with samba-4.0 (#914014, #992305, #1106309)
Marcin Zajaczkowski
szpak at fedoraproject.org
Tue Jul 1 20:13:24 UTC 2014
commit 7695e032e98883f5c19c02a83ac2a80ce1a71214
Author: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
Date: Fri Jun 27 16:16:51 2014 -0500
Fix FTBFS with samba-4.0 (#914014, #992305, #1106309)
fuse-smb.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/fuse-smb.spec b/fuse-smb.spec
index ddae9a9..6c57d1a 100644
--- a/fuse-smb.spec
+++ b/fuse-smb.spec
@@ -9,7 +9,7 @@
Name: fuse-smb
Summary: FUSE-Filesystem to fast and easy access remote resources via SMB
Version: 0.8.7
-Release: 14%{?dist}
+Release: 15%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://www.ricardis.tudelft.nl/~vincent/fusesmb/
@@ -40,6 +40,11 @@ BuildRequires: samba-client >= 3.0
BuildRequires: libsmbclient-devel >= 3.0
%endif
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+#starting with 4.0 in FC18+ samba headers are in a subdirectory
+BuildRequires: pkgconfig
+%endif
+
%description
With SMB for Fuse you can seamlessly browse your network neighbourhood
as were it on your own filesystem.
@@ -55,6 +60,9 @@ cp %{SOURCE2} README.fedora
%endif
%build
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+CFLAGS="%{optflags} `pkg-config --cflags smbclient`"
+%endif
%configure
make %{?_smp_mflags}
@@ -86,6 +94,9 @@ rm -fr %{buildroot}
%changelog
+* Fri Jun 27 2014 Yaakov Selkowitz <yselkowi at redhat.com> - 0.8.7-15
+- Fix FTBFS with samba-4.0 (#914014, #992305, #1106309)
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.7-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list