15
0

- Eliminate complicated py2k constructs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colander?expand=0&rev=16
This commit is contained in:
2020-04-20 09:20:05 +00:00
committed by Git OBS Bridge
parent de23052252
commit 38382e5914
3 changed files with 54 additions and 15 deletions

View File

@@ -100,23 +100,10 @@ Provides translations for the "%{name}" package.
%check
%pytest
%files %{python_files}
%files %{python_files} -f colander_%{python_bin_suffix}.lang
%license LICENSE.txt
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%exclude %{python_sitelib}/colander/locale
%if %{have_python2} && ! 0%{?skip_python2}
%files -n %{python2_prefix}-colander-lang -f colander_%{python2_bin_suffix}.lang
%license LICENSE.txt
%{python2_sitelib}/colander/locale
%endif
%if %{have_python2} && ! 0%{?skip_python3}
%files -n %{python3_prefix}-colander-lang -f colander_%{python3_bin_suffix}.lang
%license LICENSE.txt
%{python3_sitelib}/colander/locale
%endif
%{python_sitelib}/colander*
%files %{python_files doc}
%license LICENSE.txt