rpms/fuse-smb/F-9 README.fedora.fuse-smb, NONE, 1.1 fusesmb.sh.fuse-smb, NONE, 1.1 fuse-smb.spec, 1.5, 1.6
Marcin Zajaczkowski (szpak)
fedora-extras-commits at redhat.com
Fri Jul 4 18:40:22 UTC 2008
- Previous message (by thread): rpms/clisp/devel .cvsignore, 1.9, 1.10 clisp.spec, 1.32, 1.33 sources, 1.10, 1.11
- Next message (by thread): rpms/ffcall/devel .cvsignore, 1.2, 1.3 ffcall.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: szpak
Update of /cvs/extras/rpms/fuse-smb/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv437
Modified Files:
fuse-smb.spec
Added Files:
README.fedora.fuse-smb fusesmb.sh.fuse-smb
Log Message:
Update to 0.8.7-4 (workaround for bug 445978) - F9 branch
--- 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/F-9/fuse-smb.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fuse-smb.spec 10 Feb 2008 20:52:49 -0000 1.5
+++ fuse-smb.spec 4 Jul 2008 18:39:29 -0000 1.6
@@ -1,17 +1,30 @@
+%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: 1%{?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 is implicity required by libfuse.so.2 or fuse-libs
-#Requires: fuse >= 2.3
+#fuse-libs doesn't force to have fuse which is needed for fuse-smb
+#explicit Requires statement is required
+Requires: fuse >= 2.3
#samba-common (fc<=6), libsmbclient (fc>6) and fuse-libs are implicity required by their .so files
#Requires: fuse-libs >= 2.3
#Requires: samba-common >= 3.0
@@ -20,9 +33,7 @@
BuildRequires: fuse-devel >= 2.3
BuildRequires: samba-client >= 3.0
-#this doesn't work in mock
-#%if %(rpmquery --qf '%{Version}' fedora-release) > 6
-%if "%fedora" > "6"
+%if 0%{?fedora} > 6
#starting with 3.0.24-3 in FC7+ libsmbclient is in a separate package
BuildRequires: libsmbclient-devel >= 3.0
%endif
@@ -36,6 +47,10 @@
%prep
%setup -q -n fusesmb-%{version}
+%if %{userwrapper}
+cp %{SOURCE1} fusesmb.sh
+cp %{SOURCE2} README.fedora
+%endif
%build
%configure
@@ -44,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
@@ -57,8 +76,24 @@
%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
+
+* Sat May 10 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.8.7-2
+- added explicit dependency on fuse package (thanks to Mikel Ward - #445316)
+
* Sat Feb 9 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.8.7-1
- updated to 0.8.7
- specified licence type
- Previous message (by thread): rpms/clisp/devel .cvsignore, 1.9, 1.10 clisp.spec, 1.32, 1.33 sources, 1.10, 1.11
- Next message (by thread): rpms/ffcall/devel .cvsignore, 1.2, 1.3 ffcall.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list