forked from pool/python-colander
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user