Accepting request 1088282 from home:mlin7442:rebuild_fails_155
use python3 as the script interpreter in wscript file OBS-URL: https://build.opensuse.org/request/show/1088282 OBS-URL: https://build.opensuse.org/package/show/Education/semantik?expand=0&rev=49
This commit is contained in:
parent
f27fa40604
commit
fbde6a0e83
@ -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>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user