Learn more about these different git repos.
Other Git URLs
82e8b6b
@@ -409,6 +409,11 @@
%else
%if 0%{py2_support}
make DESTDIR=$RPM_BUILD_ROOT PYTHON=%{__python2} install
+ # alter python interpreter in koji bins
+ scripts='%{_bindir}/koji %{_sbindir}/kojivmd'
+ for fn in $scripts ; do
+ sed -i 's|#!/usr/bin/python3|#!/usr/bin/python2|' $RPM_BUILD_ROOT$fn
+ done
%endif
fixes: #3045
Code is already py3 and will not work under py2.
Pull-Request has been closed by julian8628
fixes: #3045