From 44de5d1d360efbeb0c9ab3624ede6933c5164ed47a678390badd18158f94d3ae Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 12 Mar 2019 15:56:38 +0000 Subject: [PATCH] Accepting request 684402 from home:mcepl:branches:devel:languages:python - Remove lang packages OBS-URL: https://build.opensuse.org/request/show/684402 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=120 --- python-Sphinx.changes | 5 +++++ python-Sphinx.spec | 26 +++----------------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 9cc4f07..ba0b038 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 12 15:35:49 UTC 2019 - Matej Cepl + +- Remove lang packages + ------------------------------------------------------------------- Mon Mar 11 15:32:54 CET 2019 - Matej Cepl diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 4220af9..ad7ff92 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -99,17 +99,6 @@ supported. Sphinx uses reStructuredText as its markup language. Sphinx draws from the parsing and translating suite, the Docutils. -%package lang -Summary: Translations for package %{name} -Group: System/Localization -Requires: %{name} = %{version} -Provides: %{name}-lang-all = %{version} -Supplements: %{name} -BuildArch: noarch - -%description lang -Provides translations for the "%{name}" package. - %package latex Summary: Sphinx packages for LaTeX Group: Productivity/Publishing/TeX/Base @@ -263,9 +252,9 @@ mv build/sphinx/{html,man} build.doc/ %python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib %python_expand %fdupes %{buildroot}%{$python_sitelib} -# Prepare lang lists -%find_lang sphinx -%python_expand grep -F "%{$python_sitelib}" sphinx.lang > sphinx_%{$python_bin_suffix}.lang +# # Prepare lang lists +# %%find_lang sphinx +# %%python_expand grep -F "%%{$python_sitelib}" sphinx.lang > sphinx_%%{$python_bin_suffix}.lang %else mkdir -p %{buildroot}%{_docdir}/python-Sphinx/ @@ -313,21 +302,12 @@ py.test-%{$python_bin_suffix} --ignore=_build.python3 --ignore=_build.python2 -k %python_alternative %{_bindir}/sphinx-build %python_alternative %{_bindir}/sphinx-quickstart %{python_sitelib}/sphinx/ -%exclude %{python_sitelib}/sphinx/locale %if %{with latex} %exclude %{python_sitelib}/sphinx/texinputs/ %endif %{python_sitelib}/Sphinx-%{version}-py*.egg-info %dir %{python_sitelib}/sphinxcontrib -%files -n %{python2_prefix}-Sphinx-lang -f sphinx_%{python2_bin_suffix}.lang -%license LICENSE -%{python2_sitelib}/sphinx/locale - -%files -n %{python3_prefix}-Sphinx-lang -f sphinx_%{python3_bin_suffix}.lang -%license LICENSE -%{python3_sitelib}/sphinx/locale - # Requirements are not available on SLES %if %{with latex} %files %{python_files latex}