From f693b2e8298e3642e2832e510bdf7a2187d19d27e89692b5f2df052220dfe837 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 28 Oct 2010 18:37:10 +0000 Subject: [PATCH] - updated to 0.9.1 - cleanup spec file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinotify?expand=0&rev=8 --- python-pyinotify.changes | 14 +++++-- python-pyinotify.spec | 52 ++++++++++++------------- seb-m-pyinotify-0.9.0-0-gec5a9f4.tar.gz | 3 -- seb-m-pyinotify-0.9.1-0-g5d381ce.tar.gz | 3 ++ 4 files changed, 39 insertions(+), 33 deletions(-) delete mode 100644 seb-m-pyinotify-0.9.0-0-gec5a9f4.tar.gz create mode 100644 seb-m-pyinotify-0.9.1-0-g5d381ce.tar.gz diff --git a/python-pyinotify.changes b/python-pyinotify.changes index 277e368..ae08686 100644 --- a/python-pyinotify.changes +++ b/python-pyinotify.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 28 18:33:27 UTC 2010 - prusnak@opensuse.org + +- updated to 0.9.1 +- cleanup spec file + ------------------------------------------------------------------- Mon Oct 11 22:29:37 UTC 2010 - pascal.bleser@opensuse.org @@ -8,13 +14,13 @@ 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/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: 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: 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 diff --git a/python-pyinotify.spec b/python-pyinotify.spec index 4a50935..72a6295 100644 --- a/python-pyinotify.spec +++ b/python-pyinotify.spec @@ -1,30 +1,36 @@ # -# spec file for package python-pyinotify (Version 0.9.0) +# spec file for package python-pyinotify # -# Copyright (c) 2006-2010 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: python-pyinotify -BuildRequires: python-devel -BuildRequires: perl -URL: http://github.com/seb-m/pyinotify -License: BSD License -Group: Development/Libraries/Python -Version: 0.9.0 -%define tag ec5a9f4 -%define subdir d2ffa6a +Version: 0.9.1 Release: 1 +License: BSD License Summary: Python module for watching filesystems changes +Url: http://github.com/seb-m/pyinotify +Group: Development/Libraries/Python +# downloaded from http://github.com/seb-m/pyinotify/tarball/%{version} +%define tag 5d381ce +%define subdir 4ad6992 Source: http://download.github.com/seb-m-pyinotify-%{version}-0-g%{tag}.tar.gz +BuildRequires: perl +BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1120 BuildArch: noarch @@ -49,28 +55,22 @@ notifications. Note: pyinotify requires Python 2.3 and above, and Linux 2.6.13 at least. - - - -Authors: --------- - Sebastien Martini - %prep %setup -q -n "seb-m-pyinotify-%{subdir}" %build export CFLAGS="%{optflags}" -%__python ./setup.py build +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 %clean -%{?buildroot:%__rm -rf "%{buildroot}"} +rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) %doc ACKS COPYING README %doc python2/examples +%changelog diff --git a/seb-m-pyinotify-0.9.0-0-gec5a9f4.tar.gz b/seb-m-pyinotify-0.9.0-0-gec5a9f4.tar.gz deleted file mode 100644 index 1df4405..0000000 --- a/seb-m-pyinotify-0.9.0-0-gec5a9f4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0d5f1253a4564fe1c7ce0cce62e7d84772db6ff0b4a62a3be0ec5e131fa4814 -size 54875 diff --git a/seb-m-pyinotify-0.9.1-0-g5d381ce.tar.gz b/seb-m-pyinotify-0.9.1-0-g5d381ce.tar.gz new file mode 100644 index 0000000..40ab03a --- /dev/null +++ b/seb-m-pyinotify-0.9.1-0-g5d381ce.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8f0812668cc2016e5a467883033c3efc5fe31938f3beb329bbfddde903067c5 +size 55956