Mercurial > public > mercurial-scm > hg
changeset 52947:ac2edac78243
packaging: use optimized python in RPMs
author | Mathias De Mare <mathias.de_mare@nokia.com> |
---|---|
date | Mon, 03 Feb 2025 15:33:00 +0100 |
parents | 32c655372dab |
children | ca778a2bb505 |
files | contrib/packaging/mercurial.spec |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/packaging/mercurial.spec Mon Feb 03 16:28:30 2025 +0100 +++ b/contrib/packaging/mercurial.spec Mon Feb 03 15:33:00 2025 +0100 @@ -66,7 +66,7 @@ PYPATH=$PWD/%{pythonname} PYTHON_FULLPATH=$PYPATH/python3 cd $PYPATH -./configure --prefix=%{hgpyprefix} --with-ensurepip=install +./configure --prefix=%{hgpyprefix} --with-ensurepip=install --enable-optimizations --with-lto make all %{?_smp_mflags} # add a symlink and only refer to python3 from here on ln -s python python3