forked from pool/python-Telethon
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Telethon?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
b8094f3355
commit
048252bb8f
@@ -51,11 +51,12 @@ find {README.rst,LICENSE} -type f -perm /111 -exec chmod 644 {} \;
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
|
||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# test_all_methods_present needs readthedocs available
|
||||
%pytest -k 'not test_all_methods_present'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user