rpms/fuse-python/EL-5 fuse-python--libewf_fix.diff, NONE, 1.1 import.log, NONE, 1.1 fuse-python.spec, 1.2, 1.3
Peter Lemenkov
peter at fedoraproject.org
Wed Oct 7 09:32:19 UTC 2009
Author: peter
Update of /cvs/pkgs/rpms/fuse-python/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21897/EL-5
Modified Files:
fuse-python.spec
Added Files:
fuse-python--libewf_fix.diff import.log
Log Message:
initial build for EPEL
fuse-python--libewf_fix.diff:
fuse-python-0.2/Changelog |only
fuse-python-0.2/MANIFEST.in |only
fuse-python-0.2/PKG-INFO |only
fuse-python-0.2/README.new_fusepy_api.html |only
fuse-python-0.2/fuse_python.egg-info |only
fuse-python-0.2/setup.cfg |only
python/CVS |only
python/example/CVS |only
python/fuse.py | 4 ++--
python/fuseparts/CVS |only
python/fuseparts/_fusemodule.c | 16 ++++++++++++----
python/util/CVS |only
12 files changed, 14 insertions(+), 6 deletions(-)
--- NEW FILE fuse-python--libewf_fix.diff ---
Only in fuse-python-0.2: Changelog
Only in python: CVS
Only in python/example: CVS
Only in python/fuseparts: CVS
diff -ru fuse-python-0.2/fuseparts/_fusemodule.c python/fuseparts/_fusemodule.c
--- fuse-python-0.2/fuseparts/_fusemodule.c 2007-06-18 18:20:09.000000000 +0400
+++ python/fuseparts/_fusemodule.c 2008-04-24 18:52:10.000000000 +0400
@@ -118,7 +118,7 @@
/* transform a Python integer to an unsigned C numeric value */
-#define py2attr(st, attr) \
+#define py2attr(st, attr) { \
if (PyInt_Check(pytmp) && sizeof((st)->attr) <= sizeof(long)) { \
/* \
* We'd rather use here PyInt_AsUnsignedLong() here \
@@ -162,8 +162,9 @@
goto OUT_DECREF; \
(st)->attr = ctmp; \
if ((unsigned long long)(st)->attr != ctmp) \
- goto OUT_DECREF;
-
+ goto OUT_DECREF; \
+}
+
#define fetchattr_nam(st, attr, aname) \
if (!(pytmp = PyObject_GetAttrString(v, aname))) \
goto OUT_DECREF; \
@@ -174,7 +175,13 @@
#define fetchattr_soft(st, attr) \
if (PyObject_HasAttrString(v, #attr)) { \
- fetchattr(st, attr); \
+ pytmp = PyObject_GetAttrString(v, #attr); \
+ if (!pytmp) \
+ goto OUT_DECREF; \
+ if (pytmp == Py_None) \
+ Py_DECREF(pytmp); \
+ else \
+ py2attr(st, attr); \
}
/*
@@ -891,6 +898,7 @@
save = PyEval_SaveThread();
err = fuse_loop_mt(f);
PyEval_RestoreThread(save);
+ interp = NULL;
#endif
return(err);
diff -ru fuse-python-0.2/fuse.py python/fuse.py
--- fuse-python-0.2/fuse.py 2007-06-25 03:08:09.000000000 +0400
+++ python/fuse.py 2008-01-23 22:32:47.000000000 +0300
@@ -461,7 +461,7 @@
FUSE, see ``fuse.h``).
"""
- def __init__(self, name, **kw):
+ def __init__(self, **kw):
self.l_type = None
self.l_start = None
@@ -477,7 +477,7 @@
http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
"""
- def __init__(self, name, **kw):
+ def __init__(self, **kw):
self.tv_sec = None
self.tv_nsec = None
Only in fuse-python-0.2: fuse_python.egg-info
Only in fuse-python-0.2: MANIFEST.in
Only in fuse-python-0.2: PKG-INFO
Only in fuse-python-0.2: README.new_fusepy_api.html
Only in fuse-python-0.2: setup.cfg
Only in python/util: CVS
--- NEW FILE import.log ---
fuse-python-0_2-12_fc11:EL-5:fuse-python-0.2-12.fc11.src.rpm:1254906362
Index: fuse-python.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fuse-python/EL-5/fuse-python.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- fuse-python.spec 18 Oct 2007 22:17:33 -0000 1.2
+++ fuse-python.spec 7 Oct 2009 09:32:19 -0000 1.3
@@ -2,17 +2,18 @@
Name: fuse-python
Version: 0.2
-Release: 6%{?dist}
+Release: 12%{?dist}
Summary: Python bindings for FUSE - filesystem in userspace
Group: System Environment/Base
License: LGPLv2
URL: http://fuse.sourceforge.net/wiki/index.php/FusePython
Source0: http://downloads.sourceforge.net/fuse/%{name}-%{version}.tar.gz
+Patch0: fuse-python--libewf_fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: python-fuse = %{version}-%{release}
-BuildRequires: pkgconfig
+BuildRequires: pkgconfig
BuildRequires: fuse-devel
# Must have setuptools to build the package
# The build portions moved to a subpackage in F-8
@@ -28,6 +29,7 @@ to implement a filesystem in a userspace
%prep
%setup -q
+%patch0 -p1 -b .libewf
%build
python setup.py build
@@ -48,6 +50,24 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/*
%changelog
+* Thu Sep 17 2009 Peter Lemenkov <lemenkov at gmail.com> 0.2-12
+- rebuilt with new fuse
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.2-9
+- Rebuild for Python 2.6
+
+* Sun Apr 27 2008 Peter Lemenkov <lemenkov at gmail.com> 0.2-8
+- Fix issue with libewf
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.2-7
+- Autorebuild for GCC 4.3
+
* Thu Oct 18 2007 Michel Salim <michel.sylvan at gmail.com> 0.2-6
- Fix source URL
- Include examples
More information about the fedora-extras-commits
mailing list