Accepting request 628373 from devel:languages:python
- Remove devel dependency - Use %license macro OBS-URL: https://build.opensuse.org/request/show/628373 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchdog?expand=0&rev=3
This commit is contained in:
commit
f7fa9b79e0
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user