- 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
This commit is contained in:
Pavol Rusnak 2010-10-28 18:37:10 +00:00 committed by Git OBS Bridge
parent 10d5afcb81
commit f693b2e829
4 changed files with 39 additions and 33 deletions

View File

@ -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

View File

@ -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 <seb@dbzteam.org>
%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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0d5f1253a4564fe1c7ce0cce62e7d84772db6ff0b4a62a3be0ec5e131fa4814
size 54875

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8f0812668cc2016e5a467883033c3efc5fe31938f3beb329bbfddde903067c5
size 55956