From 0968948fbec41056a30a59c35fc641a7f903fe14bf2309a60c9502c87897e17b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Nov 2019 13:44:41 +0000 Subject: [PATCH] - Do not pull in Brownie as it is not needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=14 --- python-watchdog.changes | 5 +++++ python-watchdog.spec | 12 +++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/python-watchdog.changes b/python-watchdog.changes index 3aa30d5..4f90743 100644 --- a/python-watchdog.changes +++ b/python-watchdog.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 6 13:42:24 UTC 2019 - Tomáš Chvátal + +- Do not pull in Brownie as it is not needed + ------------------------------------------------------------------- Mon Nov 19 13:00:25 UTC 2018 - John Paul Adrian Glaubitz diff --git a/python-watchdog.spec b/python-watchdog.spec index 670bb35..13d2a51 100644 --- a/python-watchdog.spec +++ b/python-watchdog.spec @@ -1,7 +1,7 @@ # # spec file for package python-watchdog # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -22,12 +22,10 @@ Version: 0.9.0 Release: 0 Summary: Filesystem events monitoring License: Apache-2.0 -Group: Development/Languages/Python -URL: http://github.com/gorakhargosh/watchdog +URL: https://github.com/gorakhargosh/watchdog Source: https://files.pythonhosted.org/packages/source/w/watchdog/watchdog-%{version}.tar.gz Patch0: add-missing-conftest.patch BuildRequires: %{python_module pathtools} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-timeout >= 0.3} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -38,9 +36,6 @@ Requires: python-PyYAML Requires: python-argh Requires: python-pathtools BuildArch: noarch -%ifpython2 -Requires: python-Brownie -%endif %python_subpackages %description @@ -48,7 +43,6 @@ Python API and shell utilities to monitor file system events. %package doc Summary: Documentation and examples for %{name} -Group: Documentation/HTML %description doc This package contains documentation and examples for %{name}. @@ -69,7 +63,7 @@ cd docs && make html && rm -r build/html/.buildinfo build/html/objects.inv # Bui %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} +%pytest %files %{python_files} %license COPYING LICENSE