From: Marcin Krol Date: Mon, 4 Apr 2022 17:21:42 +0000 (+0200) Subject: - no python 2.x in TLD X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=5768889b77a40dc5a1a763603c1c45f5b992597e;p=packages%2Fapr.git - no python 2.x in TLD --- diff --git a/apr.spec b/apr.spec index bb1806a..9dc83d3 100644 --- a/apr.spec +++ b/apr.spec @@ -144,7 +144,7 @@ sed -i -e 's@^\(APR_SOURCE_DIR=\).*@\1"%{_datadir}"@' \ $RPM_BUILD_ROOT%{_bindir}/apr-1-config sed -i -e 's@^\(apr_builddir\|apr_builders\)=.*@\1=%{_datadir}/build-1@' \ $RPM_BUILD_ROOT%{_datadir}/build/apr_rules.mk -sed -i -e '1s@#!.*python@#!%{__python}@' $RPM_BUILD_ROOT%{_datadir}/build/gen-build.py +sed -i -e '1s@#!.*python@#!%{__python3}@' $RPM_BUILD_ROOT%{_datadir}/build/gen-build.py %clean rm -rf $RPM_BUILD_ROOT