14
0

Accepting request 306389 from home:benoit_monin:branches:devel:languages:python

- update to version 0.9.5
- point the source URL to pypi
- remove unwanted shebang in pyinotify.py

OBS-URL: https://build.opensuse.org/request/show/306389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinotify?expand=0&rev=22
This commit is contained in:
Denisart Benjamin
2015-05-16 12:52:23 +00:00
committed by Git OBS Bridge
parent 19a18bdb6d
commit bd56f08f52
4 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyinotify
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,13 @@
Name: python-pyinotify
Version: 0.9.4
Version: 0.9.5
Release: 0
Summary: Python module for watching filesystems changes
License: MIT
Group: Development/Libraries/Python
Url: http://github.com/seb-m/pyinotify
# downloaded from https://github.com/seb-m/pyinotify/tags
Source: pyinotify-%{version}.tar.gz
Source: https://pypi.python.org/packages/source/p/pyinotify/pyinotify-%{version}.tar.gz
Source1: pyinotify
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -52,6 +51,8 @@ notifications.
%prep
%setup -q -n pyinotify-%{version}
# remove unwanted shebang
sed -i '/^#!/ d' python2/pyinotify.py
%build
python setup.py build