rpms/fuse-smb/devel README.fedora.fuse-smb, NONE, 1.1 fusesmb.sh.fuse-smb, NONE, 1.1 fuse-smb.spec, 1.7, 1.8
Marcin Zajaczkowski (szpak)
fedora-extras-commits at redhat.com
Fri Jul 4 18:06:07 UTC 2008
Author: szpak
Update of /cvs/extras/rpms/fuse-smb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29532
Modified Files:
fuse-smb.spec
Added Files:
README.fedora.fuse-smb fusesmb.sh.fuse-smb
Log Message:
Updated to 0.8.7-4 (workaround for bug 445978)
--- NEW FILE README.fedora.fuse-smb ---
There is a problem with multi-threaded operations and samba 3.2 (F9+)
as a workaround they are disabled by default.
See bug 445978 - https://bugzilla.redhat.com/show_bug.cgi?id=445978
--- NEW FILE fusesmb.sh.fuse-smb ---
#!/bin/sh
#
# A wrapper to call fusesmb with -s switch (to disable multi-threaded operations)
# It's a workaround for problems with Samba 3.2 (F9+)
# See bug 445978 - https://bugzilla.redhat.com/show_bug.cgi?id=445978
#
# by Marcin Zajaczkowski <mszpak ATT wp DOTT pl>
# version 0.1
# Script can be freely used for any purpose
echo WARNING. Multi-threaded operations are disabled. See bug 445978.
echo To use original version run fusesmb-bin instead.
/usr/bin/fusesmb-bin -s "$@"
Index: fuse-smb.spec
===================================================================
RCS file: /cvs/extras/rpms/fuse-smb/devel/fuse-smb.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- fuse-smb.spec 10 May 2008 12:50:27 -0000 1.7
+++ fuse-smb.spec 4 Jul 2008 18:05:12 -0000 1.8
@@ -1,13 +1,25 @@
+%define userwrapper 0
+%if 0%{?fedora} > 8
+#there is a problem with multi-threaded operations and samba 3.2 (F9+)
+#as a workaround they are disabled by default
+#see bug 445978 - https://bugzilla.redhat.com/show_bug.cgi?id=445978
+%define userwrapper 1
+%endif
+
Name: fuse-smb
Summary: FUSE-Filesystem to fast and easy access remote resources via SMB
Version: 0.8.7
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://www.ricardis.tudelft.nl/~vincent/fusesmb/
#moved to .rpmmacros
#Packager: Marcin Zajaczkowski <mszpak ATT wp DOTT pl>
Source0: http://www.ricardis.tudelft.nl/~vincent/fusesmb/download/fusesmb-%{version}.tar.gz
+%if %{userwrapper}
+Source1: fusesmb.sh.fuse-smb
+Source2: README.fedora.fuse-smb
+%endif
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#fuse-libs doesn't force to have fuse which is needed for fuse-smb
@@ -21,8 +33,6 @@
BuildRequires: fuse-devel >= 2.3
BuildRequires: samba-client >= 3.0
-#this doesn't work in mock
-#%if %(rpmquery --qf '%{Version}' fedora-release) > 6
%if 0%{?fedora} > 6
#starting with 3.0.24-3 in FC7+ libsmbclient is in a separate package
BuildRequires: libsmbclient-devel >= 3.0
@@ -37,6 +47,10 @@
%prep
%setup -q -n fusesmb-%{version}
+%if %{userwrapper}
+cp %{SOURCE1} fusesmb.sh
+cp %{SOURCE2} README.fedora
+%endif
%build
%configure
@@ -45,6 +59,10 @@
%install
rm -fr %{buildroot}
make install DESTDIR=%{buildroot}
+%if %{userwrapper}
+mv %{buildroot}%{_bindir}/fusesmb %{buildroot}%{_bindir}/fusesmb-bin
+cp fusesmb.sh %{buildroot}%{_bindir}/fusesmb
+%endif
%clean
#build dir is removed by --clean option
@@ -58,8 +76,18 @@
%doc AUTHORS ChangeLog COPYING INSTALL README TODO fusesmb.conf.ex
%{_mandir}/man*/fusesmb.*
+%if %{userwrapper}
+#original binary file
+%attr(0755,root,root) %{_bindir}/fusesmb-bin
+%doc README.fedora
+%endif
+
%changelog
+* Thu Jul 3 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.8.7-4
+- added workaround for problem with multi-threaded operations and samba 3.2
+(F9+) - bug 445978
+
* Sat May 10 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.8.7-3
- fixed conditional statement for better handle Fedora 10 version number
More information about the fedora-extras-commits
mailing list