Accepting request 808744 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/808744 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=12
This commit is contained in:
parent
611d9d38c7
commit
204ac0c668
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 10:59:12 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 09:09:27 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -34,8 +34,10 @@ Requires: python-cached-property
|
||||
Requires: python-dragonmapper
|
||||
Requires: python-loguru
|
||||
Requires: python-zhon
|
||||
Suggests: python-requests-html
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Suggests: python-requests
|
||||
Suggests: python-requests-html
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PrettyTable}
|
||||
@ -59,15 +61,22 @@ dos2unix README.md
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/normalizer
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative normalizer
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative normalizer
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python3_only %{_bindir}/normalizer
|
||||
%python_alternative %{_bindir}/normalizer
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user