- switch the "docutils" provides to the python 3 package (all the comands live there)
(this fixes bsc#1039394) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=43
This commit is contained in:
parent
f3a5c9d375
commit
7db18e2286
@ -2,7 +2,8 @@
|
||||
Tue Jun 6 13:31:03 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- only emit rst2html5 alternatives for python 3
|
||||
- switch the "docutils" provides to the python 3 package (all the comands live ther)
|
||||
- switch the "docutils" provides to the python 3 package (all the comands live there)
|
||||
(this fixes bsc#1039394)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 1 19:33:19 UTC 2017 - toddrme2178@gmail.com
|
||||
|
@ -68,13 +68,13 @@ sed -i -e "1d" "docutils/writers/xetex/__init__.py" "docutils/writers/_html_base
|
||||
mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_bindir}/rst2html5-docutils
|
||||
ln -s -f %{_sysconfdir}/alternatives/rst2html5 %{buildroot}%{_bindir}/rst2html5
|
||||
|
||||
%post
|
||||
%ifpython3
|
||||
%post
|
||||
update-alternatives --install %{_bindir}/rst2html5 rst2html5 %{_bindir}/rst2html5-docutils 15
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%ifpython3
|
||||
%postun
|
||||
if [ ! -f %{_bindir}/rst2html5-docutils ] ; then
|
||||
update-alternatives --remove rst2html5 %{_bindir}/rst2html5-docutils
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user