Commit dc705563 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/generic.sh: improve python3 support

parent 2268e10d
......@@ -33,6 +33,9 @@ find $BUILDROOT -name "*.py" -exec subst '1{/python3/n};1i#!/usr/bin/python3' {}
if [ -n "$flag_python3" ] ; then
if [ "$(epm print info -s)" = "alt" ] ; then
epm install --skip-installed rpm-build-python3
subst "1i%add_python3_lib_path /usr" $SPEC
# by some unknown reason there are no packages provide that (https://github.com/Etersoft/eepm/issues/22)
subst "1i%add_python3_req_skip gi.repository.GLib" $SPEC
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment