packages: python-pyinotify/python-pyinotify-glibc.patch, python-pyinotify/p...

witekfl witekfl at pld-linux.org
Sat Nov 7 20:14:44 CET 2009


Author: witekfl                      Date: Sat Nov  7 19:14:43 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.8.8
- examples packaged
- rel 0.2

---- Files affected:
packages/python-pyinotify:
   python-pyinotify-glibc.patch (1.1 -> 1.2) , python-pyinotify.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/python-pyinotify/python-pyinotify-glibc.patch
diff -u packages/python-pyinotify/python-pyinotify-glibc.patch:1.1 packages/python-pyinotify/python-pyinotify-glibc.patch:1.2
--- packages/python-pyinotify/python-pyinotify-glibc.patch:1.1	Thu Jul 16 12:44:31 2009
+++ packages/python-pyinotify/python-pyinotify-glibc.patch	Sat Nov  7 20:14:38 2009
@@ -1,13 +1,17 @@
---- pyinotify/pyinotify.py~	2009-04-13 14:56:59.000000000 +0200
-+++ pyinotify/pyinotify.py	2009-07-16 12:35:44.625287211 +0200
-@@ -100,8 +100,8 @@
+--- pyinotify/pyinotify.py.old	2009-11-07 15:47:56.000000000 +0100
++++ pyinotify/pyinotify.py	2009-11-07 15:48:29.000000000 +0100
+@@ -107,10 +107,10 @@
  #      Because there are inotify patches for libc 2.3.6.
  LIBC.gnu_get_libc_version.restype = ctypes.c_char_p
  LIBC_VERSION = LIBC.gnu_get_libc_version()
--if LIBC_VERSION < '2.4':
+-if (int(LIBC_VERSION.split('.')[0]) < 2 or
+-    (int(LIBC_VERSION.split('.')[0]) == 2 and
+-     int(LIBC_VERSION.split('.')[1]) < 4)):
 -    raise UnsupportedLibcVersionError(LIBC_VERSION)
-+# if LIBC_VERSION < '2.4':
++#if (int(LIBC_VERSION.split('.')[0]) < 2 or
++#    (int(LIBC_VERSION.split('.')[0]) == 2 and
++#     int(LIBC_VERSION.split('.')[1]) < 4)):
 +#    raise UnsupportedLibcVersionError(LIBC_VERSION)
  
  
- # logging
+ class PyinotifyLogger(logging.Logger):

================================================================
Index: packages/python-pyinotify/python-pyinotify.spec
diff -u packages/python-pyinotify/python-pyinotify.spec:1.2 packages/python-pyinotify/python-pyinotify.spec:1.3
--- packages/python-pyinotify/python-pyinotify.spec:1.2	Thu Jul 16 12:45:06 2009
+++ packages/python-pyinotify/python-pyinotify.spec	Sat Nov  7 20:14:38 2009
@@ -3,12 +3,12 @@
 Summary:	Pyinotify is a pure Python module used for monitoring filesystems changes
 Summary(hu.UTF-8):	Pyinotify egy egyszerű Python modul, amellyel a fájlrendszer változásait lehet figyelni
 Name:		python-%{module}
-Version:	0.8.6
-Release:	0.1
+Version:	0.8.8
+Release:	0.2
 License:	GPL v2
 Group:		Development/Languages/Python
 Source0:	http://seb.dbzteam.org/pub/pyinotify/releases/%{module}-%{version}.tar.gz
-# Source0-md5:	a82afcfd474b2540944d7dc63efeea33
+# Source0-md5:	3c4214f10955e6be0ac2d054efa55cf8
 Patch0:		%{name}-glibc.patch
 URL:		http://trac.dbzteam.org/pyinotify/wiki
 BuildRequires:	python-devel
@@ -36,6 +36,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__python} setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
@@ -43,13 +44,15 @@
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog NEWS TODO
+%doc ChangeLog_old NEWS TODO
+%{_examplesdir}/%{name}-%{version}
 %{py_sitescriptdir}/*.py[co]
 %{py_sitescriptdir}/%{module}-*.egg-info
 
@@ -59,6 +62,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/11/07 19:14:38  witekfl
+- up to 0.8.8
+- examples packaged
+- rel 0.2
+
 Revision 1.2  2009/07/16 10:45:06  uzsolt
 - "glibc version check"-patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pyinotify/python-pyinotify-glibc.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pyinotify/python-pyinotify.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list