Let qt5_install_tests macro handle mangling python shebangs

Resolves: bz#1968467
This commit is contained in:
Jan Grulich 2021-06-10 13:52:48 +02:00
parent ae7c4f2a90
commit 9fb174490a

View File

@ -12,7 +12,7 @@
Summary: Qt5 - Multimedia support
Name: qt5-%{qt_module}
Version: 5.15.2
Release: 5%{?dist}
Release: 6%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -104,8 +104,6 @@ make install INSTALL_ROOT=%{buildroot}
%if 0%{?build_tests}
%qt5_install_tests
sed -i s@\/usr\/bin\/env\ python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/auto/runautotests.py
%endif
## .prl/.la file love
@ -173,6 +171,10 @@ popd
%endif
%changelog
* Thu Jun 10 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-6
- Let qt5_install_tests macro handle mangling python shebangs
Resolves: bz#1968467
* Wed Jun 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-5
- Add gating tests
Resolves: bz#1968467