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
This commit is contained in:
parent
c497579697
commit
44de5d1d36
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 15:35:49 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove lang packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 15:32:54 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user