Let qt5_install_tests macro handle mangling python shebangs
Resolves: bz#1968459
This commit is contained in:
parent
3f4ec0da60
commit
d6077887d6
@ -57,7 +57,7 @@ BuildRequires: pkgconfig(libsystemd)
|
|||||||
Name: qt5-qtbase
|
Name: qt5-qtbase
|
||||||
Summary: Qt5 - QtBase components
|
Summary: Qt5 - QtBase components
|
||||||
Version: 5.15.2
|
Version: 5.15.2
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
|
|
||||||
|
|
||||||
# See LGPL_EXCEPTIONS.txt, for exception details
|
# See LGPL_EXCEPTIONS.txt, for exception details
|
||||||
@ -541,10 +541,6 @@ make install INSTALL_ROOT=%{buildroot}
|
|||||||
# Install tests for gating
|
# Install tests for gating
|
||||||
%qt5_install_tests
|
%qt5_install_tests
|
||||||
|
|
||||||
# Fix mangling shebangs
|
|
||||||
sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/manual/xembed-widgets/gtk-embedder.py
|
|
||||||
sed -i s@\/usr\/bin\/python@\/usr\/bin\/python3@ %{buildroot}%{_qt5_libdir}/qt5/tests/manual/xembed-raster/gtk-embedder.py
|
|
||||||
|
|
||||||
# Remove tests which will produce error when checking rpath
|
# Remove tests which will produce error when checking rpath
|
||||||
rm -rf %{buildroot}%{_qt5_libdir}/qt5/tests/auto/corelib/plugin/qpluginloader/elftest
|
rm -rf %{buildroot}%{_qt5_libdir}/qt5/tests/auto/corelib/plugin/qpluginloader/elftest
|
||||||
# Remove android stuff which will just add us dependencies on Perl modules
|
# Remove android stuff which will just add us dependencies on Perl modules
|
||||||
@ -1096,6 +1092,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 10 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-19
|
||||||
|
- Let qt5_install_tests macro handle mangling python shebangs
|
||||||
|
Resolves: bz#1968459
|
||||||
|
|
||||||
* Wed Jun 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-18
|
* Wed Jun 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-18
|
||||||
- Add gating tests
|
- Add gating tests
|
||||||
Resolves: bz#1968459
|
Resolves: bz#1968459
|
||||||
|
Loading…
Reference in New Issue
Block a user