Provide /etc/fuse.conf (see rhbz #292811)

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
Peter Lemenkov 2011-02-15 21:56:11 +03:00
parent 430da1a112
commit db547bf1d8
2 changed files with 11 additions and 1 deletions

2
fuse.conf Normal file
View File

@ -0,0 +1,2 @@
# mount_max = 1000
# user_allow_other

View File

@ -1,12 +1,13 @@
Name: fuse Name: fuse
Version: 2.8.5 Version: 2.8.5
Release: 3%{?dist} Release: 4%{?dist}
Summary: File System in Userspace (FUSE) utilities Summary: File System in Userspace (FUSE) utilities
Group: System Environment/Base Group: System Environment/Base
License: GPL+ License: GPL+
URL: http://fuse.sf.net URL: http://fuse.sf.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.conf
Patch1: fuse-0001-Fix-udev-rules-Fedora-specific.patch Patch1: fuse-0001-Fix-udev-rules-Fedora-specific.patch
Patch2: fuse-0002-More-parentheses.patch Patch2: fuse-0002-More-parentheses.patch
@ -85,6 +86,9 @@ cd $RPM_BUILD_ROOT%{_bindir}
ln -s /bin/fusermount fusermount ln -s /bin/fusermount fusermount
ln -s /bin/ulockmgr_server ulockmgr_server ln -s /bin/ulockmgr_server ulockmgr_server
# Install config-file
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -110,6 +114,7 @@ fi
%{_bindir}/fusermount %{_bindir}/fusermount
%{_bindir}/ulockmgr_server %{_bindir}/ulockmgr_server
%config %{_sysconfdir}/udev/rules.d/99-fuse.rules %config %{_sysconfdir}/udev/rules.d/99-fuse.rules
%config %{_sysconfdir}/%{name}.conf
%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -127,6 +132,9 @@ fi
%{_includedir}/fuse %{_includedir}/fuse
%changelog %changelog
* Tue Feb 15 2011 Peter Lemenkov <lemenkov@gmail.com> - 2.8.5-4
- Provide /etc/fuse.conf (see rhbz #292811)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.5-3 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild