rpms/fuse-s3fs/devel fuse-s3fs-0.4-ftruncate.patch, NONE, 1.1 fuse-s3fs.spec, 1.1, 1.2
Neil Horman (nhorman)
fedora-extras-commits at redhat.com
Sun Apr 6 01:42:08 UTC 2008
Author: nhorman
Update of /cvs/extras/rpms/fuse-s3fs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27654
Modified Files:
fuse-s3fs.spec
Added Files:
fuse-s3fs-0.4-ftruncate.patch
Log Message:
Fix ftruncate to report proper length
fuse-s3fs-0.4-ftruncate.patch:
--- NEW FILE fuse-s3fs-0.4-ftruncate.patch ---
diff -up fuse-s3fs-0.4/src/s3fs.orig fuse-s3fs-0.4/src/s3fs
--- fuse-s3fs-0.4/src/s3fs.orig 2008-04-05 21:36:25.000000000 -0400
+++ fuse-s3fs-0.4/src/s3fs 2008-04-05 21:36:34.000000000 -0400
@@ -771,7 +771,7 @@ class S3File(object):
def ftruncate(self, len):
self.file.truncate(len)
- self.node.stat.st_size = 0
+ self.node.stat.st_size = len
return
"""
Index: fuse-s3fs.spec
===================================================================
RCS file: /cvs/extras/rpms/fuse-s3fs/devel/fuse-s3fs.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fuse-s3fs.spec 21 Mar 2008 21:37:11 -0000 1.1
+++ fuse-s3fs.spec 6 Apr 2008 01:41:34 -0000 1.2
@@ -1,6 +1,6 @@
Name: fuse-s3fs
Version: 0.4
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: FUSE filesystem using Amazon Simple Storage Service as storage
Group: System Environment/Base
License: GPLv2
@@ -10,6 +10,8 @@
Requires: python fuse-python python-boto
BuildArch: noarch
+Patch0: fuse-s3fs-0.4-ftruncate.patch
+
%description
This package provides a FUSE (Filesystem in User Space) application allowing
for the mounting of Amazon Web Services' S3 storage facilities on a local
@@ -24,6 +26,8 @@
%prep
%setup -q
+%patch0 -p1
+
%build
%install
@@ -44,6 +48,9 @@
%{_mandir}/man1/*
%changelog
+* Sat Apr 05 2008 Neil Horman <nhorman at tuxdriver.com> 0.4-9
+- Fix ftruncate to set proper length
+
* Mon Mar 17 2008 Neil Horman <nhorman at tuxdriver.com> 0.4-8
- Adding -p to install to preserve time stamps
- Adjusted Makefile targets a bit
More information about the fedora-extras-commits
mailing list