diff --git a/asymptote.changes b/asymptote.changes index 08a4467..d680d7a 100644 --- a/asymptote.changes +++ b/asymptote.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 13 08:26:44 UTC 2024 - Markéta Machová + +- Drop the dependency on /usr/bin/python3 symlink + * boo#1212476 + ------------------------------------------------------------------- Thu Apr 11 16:18:35 UTC 2024 - Jan Engelhardt diff --git a/asymptote.spec b/asymptote.spec index 8126065..e5f4261 100644 --- a/asymptote.spec +++ b/asymptote.spec @@ -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