From c06e24b93af77dcbc73eee36a15308c04bdeb10698af42a7fbc0cf27d8c99a8c Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 2 Nov 2010 13:28:47 +0000 Subject: [PATCH] - add pyinotify wrapper - fix license in spec file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinotify?expand=0&rev=10 --- pyinotify | 2 ++ python-pyinotify.changes | 16 ++++++---------- python-pyinotify.spec | 9 ++++++--- 3 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 pyinotify diff --git a/pyinotify b/pyinotify new file mode 100644 index 0000000..36c8976 --- /dev/null +++ b/pyinotify @@ -0,0 +1,2 @@ +#!/bin/sh +python -m pyinotify "$@" diff --git a/python-pyinotify.changes b/python-pyinotify.changes index ae08686..ff101a9 100644 --- a/python-pyinotify.changes +++ b/python-pyinotify.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 2 13:27:57 UTC 2010 - prusnak@opensuse.org + +- add pyinotify wrapper +- fix license in spec file + ------------------------------------------------------------------- Thu Oct 28 18:33:27 UTC 2010 - prusnak@opensuse.org @@ -13,16 +19,6 @@ Mon Oct 11 22:29:37 UTC 2010 - pascal.bleser@opensuse.org Tue Jun 17 21:15:13 CEST 2008 - poeml@suse.de - update to 0.7.1 - * Update License: GPLv2 or later. - * src/pyinotify/pyinotify.py: reworking of EventsCodes - * src/pyinotify/pyinotify.py: new -e command line option - * src/pyinotify/inotify_syscalls.h: support hppa and mc68000. - * src/example/close.py: fix import statement. - * src/pyinotify/pyinotify.py: raise OSError when inotify_init() fails - * src/pyinotify/pyinotify.py: checks exception on polling - * src/pyinotify/pyinotify.py: add_watch: by default do not make globbing - * src/pyinotify/pyinotify.py: print errors only when verbose mode is set. - * src/pyinotify/iglob.py: fix compatibility with Python 2.3 ------------------------------------------------------------------- Fri Sep 15 11:42:54 CEST 2006 - poeml@suse.de diff --git a/python-pyinotify.spec b/python-pyinotify.spec index 1d01784..093604e 100644 --- a/python-pyinotify.spec +++ b/python-pyinotify.spec @@ -21,7 +21,7 @@ Name: python-pyinotify Version: 0.9.1 Release: 1 -License: BSD License +License: MIT Summary: Python module for watching filesystems changes Url: http://github.com/seb-m/pyinotify Group: Development/Libraries/Python @@ -29,6 +29,7 @@ Group: Development/Libraries/Python %define tag 5d381ce %define subdir 4ad6992 Source: http://download.github.com/seb-m-pyinotify-%{version}-0-g%{tag}.tar.gz +Source1: pyinotify BuildRequires: perl BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,14 +65,16 @@ export CFLAGS="%{optflags}" python ./setup.py build %install -python ./setup.py install --prefix="%{_prefix}" --root=%{buildroot} --record-rpm=INSTALLED_FILES +python ./setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/pyinotify %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) -%doc ACKS COPYING README +%doc ACKS COPYING README.md %doc python2/examples +%{_bindir}/pyinotify %changelog