Accepting request 806792 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/806792 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=18
This commit is contained in:
parent
0b03aee714
commit
fa5ef35aed
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 18 07:25:34 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
- %python3_only -> %python_alternative
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 10 10:24:35 UTC 2020 - pgajdos@suse.com
|
Tue Mar 10 10:24:35 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ BuildRequires: python3-Sphinx
|
|||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
Requires: python-argh
|
Requires: python-argh
|
||||||
Requires: python-pathtools >= 0.1.1
|
Requires: python-pathtools >= 0.1.1
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -58,6 +60,7 @@ cd docs && make html && rm -r build/html/.buildinfo build/html/objects.inv # Bui
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/watchmedo
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -65,10 +68,16 @@ sed -i '/--cov/d' setup.cfg
|
|||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative watchmedo
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative watchmedo
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING LICENSE
|
%license COPYING LICENSE
|
||||||
%doc AUTHORS changelog.rst MANIFEST.in README.rst
|
%doc AUTHORS changelog.rst MANIFEST.in README.rst
|
||||||
%python3_only %{_bindir}/watchmedo
|
%python_alternative %{_bindir}/watchmedo
|
||||||
%{python_sitelib}/watchdog
|
%{python_sitelib}/watchdog
|
||||||
%{python_sitelib}/watchdog-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/watchdog-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user