]> TLD Linux GIT Repositories - packages/apr.git/commitdiff
- no python 2.x in TLD
authorMarcin Krol <hawk@tld-linux.org>
Mon, 4 Apr 2022 17:21:42 +0000 (19:21 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 4 Apr 2022 17:21:42 +0000 (19:21 +0200)
apr.spec

index bb1806a1cc6134cee15151ab01db145864a9672c..9dc83d3fdbf4a147717b280dc2b24e46ad3ccf40 100644 (file)
--- 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