Commit 2c965d4d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack geogebra-classic: skip using ALT only macro when eepm-rpm-rebuild is used

parent d1e45eda
......@@ -11,10 +11,13 @@ PREINSTALL_PACKAGES="python3 rpm-build-python3"
. $(dirname $0)/common-chromium-browser.sh
move_to_opt
subst '1iBuildRequires:rpm-build-python3' $SPEC
subst "1i%add_python3_path $PRODUCTDIR" $SPEC
if [ -z "$EPM_RPMBUILD" ] ; then
subst "1i%add_python3_path $PRODUCTDIR" $SPEC
fi
move_to_opt
subst "s|/usr/share/$PRODUCT|$PRODUCTDIR|" $BUILDROOT/usr/bin/$PRODUCT
cleanup
......
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