diff --git a/python-watchdog.changes b/python-watchdog.changes index 03f08b2..cc904bf 100644 --- a/python-watchdog.changes +++ b/python-watchdog.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 9 10:18:35 UTC 2018 - tchvatal@suse.com + +- Remove devel dependency +- Use %license macro + ------------------------------------------------------------------- Sat Aug 12 22:10:43 UTC 2017 - jengelh@inai.de diff --git a/python-watchdog.spec b/python-watchdog.spec index 7f46704..c018bd0 100644 --- a/python-watchdog.spec +++ b/python-watchdog.spec @@ -1,7 +1,7 @@ # # spec file for package python-watchdog # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,27 +20,24 @@ Name: python-watchdog Version: 0.8.3 Release: 0 -Url: http://github.com/gorakhargosh/watchdog Summary: Filesystem events monitoring License: Apache-2.0 Group: Development/Languages/Python +URL: http://github.com/gorakhargosh/watchdog Source: https://files.pythonhosted.org/packages/source/w/watchdog/watchdog-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module pathtools} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx -# test requirements -BuildRequires: %{python_module pathtools} -BuildRequires: %{python_module pytest} -%ifpython2 -Requires: python-Brownie -%endif Requires: python-PyYAML Requires: python-argh Requires: python-pathtools -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%ifpython2 +Requires: python-Brownie +%endif %python_subpackages %description @@ -65,20 +62,19 @@ cd docs && make html && rm -r build/html/.buildinfo build/html/objects.inv # Bui %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS changelog.rst COPYING LICENSE MANIFEST.in README.rst +%license COPYING LICENSE +%doc AUTHORS changelog.rst MANIFEST.in README.rst %python3_only %{_bindir}/watchmedo %{python_sitelib}/watchdog %{python_sitelib}/watchdog-%{version}-py%{python_version}.egg-info %files %{python_files doc} -%defattr(-,root,root,-) %doc docs/build/html %changelog