Accepting request 1180338 from science
- Drop the dependency on /usr/bin/python3 symlink [boo#1212476] OBS-URL: https://build.opensuse.org/request/show/1180338 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/asymptote?expand=0&rev=5
This commit is contained in:
commit
cdc9248fe4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 08:26:44 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Drop the dependency on /usr/bin/python3 symlink
|
||||
* boo#1212476
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 11 16:18:35 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -41,6 +41,7 @@ BuildRequires: libboost_thread-devel
|
||||
%endif
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: texlive-dvips-bin
|
||||
@ -83,7 +84,7 @@ if [ ! -e configure ]; then autoreconf -fiv; fi
|
||||
mv "%buildroot/usr/local/share"/* "%buildroot/%_datadir/"
|
||||
chmod a-x "%buildroot/%_datadir/asymptote/shaders"/*.glsl
|
||||
find "%buildroot/%_datadir/asymptote/GUI" -type f -name "*.py" \
|
||||
-exec perl -i -lpe 's{^#!/usr/bin/env }{#!/usr/bin/}g' {} +
|
||||
-exec perl -i -lpe "s{^#!/usr/bin/env python3}{#!/usr/bin/python%python3_bin_suffix}g" {} +
|
||||
|
||||
%files
|
||||
%_bindir/asy
|
||||
|
Loading…
x
Reference in New Issue
Block a user