forked from pool/python-watchdog
Accepting request 148467 from home:posophe:branches:devel:languages:python
Update to 0.6.0 OBS-URL: https://build.opensuse.org/request/show/148467 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
dd2ded87fe
commit
7931ec63f1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-watchdog
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
Name: python-watchdog
|
||||
Version: 0.5.4
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Url: http://github.com/gorakhargosh/watchdog
|
||||
Summary: Filesystem events monitoring
|
||||
@@ -41,6 +41,8 @@ Python API and shell utilities to monitor file system events.
|
||||
|
||||
%prep
|
||||
%setup -q -n watchdog-%{version}
|
||||
# Fix spurious executable permissions
|
||||
chmod -x README
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -48,6 +50,9 @@ cd docs && make html && rm -r build/html/.buildinfo # Build HTML docs
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# remove shebangs from all scripts
|
||||
find %{buildroot}%{python_sitelib} -name '*.py' \
|
||||
-exec sed -i -e '1{/^#!/d}' {} \;
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user