Dominique Leuenberger 2023-06-06 17:57:20 +00:00 committed by Git OBS Bridge
commit 12ecd3c58d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 18 15:30:06 UTC 2023 - Max Lin <mlin@suse.com>
- Use python3 as the script interpreter in wscript file
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 2 13:46:04 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon Jan 2 13:46:04 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -89,6 +89,10 @@ chmod a+rx %{buildroot}%{_datadir}/semantik/templates/waf
chmod a+rx %{buildroot}%{_datadir}/semantik/filters/*.py chmod a+rx %{buildroot}%{_datadir}/semantik/filters/*.py
chmod a+rx %{buildroot}%{_datadir}/semantik/sembind.py chmod a+rx %{buildroot}%{_datadir}/semantik/sembind.py
# fix the script interpreter
sed -i -e 's|#! /usr/bin/python|#!/usr/bin/python3|' %{buildroot}%{_datadir}/semantik/templates/pdflatex/wscript
sed -i -e 's|#! /usr/bin/python|#!/usr/bin/python3|' %{buildroot}%{_datadir}/semantik/templates/beamer/wscript
# install man page # install man page
install -D -m644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 install -D -m644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1