build with python3
This commit is contained in:
parent
91e5dd6f32
commit
41f80f3c36
@ -8,7 +8,7 @@
|
|||||||
Summary: Qt5 - QtDeclarative component
|
Summary: Qt5 - QtDeclarative component
|
||||||
Name: qt5-%{qt_module}
|
Name: qt5-%{qt_module}
|
||||||
Version: 5.12.4
|
Version: 5.12.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
||||||
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
||||||
@ -35,10 +35,7 @@ BuildRequires: qt5-rpm-macros >= %{version}
|
|||||||
BuildRequires: qt5-qtbase-devel >= %{version}
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
||||||
BuildRequires: qt5-qtbase-private-devel
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
# recommended workaround from:
|
BuildRequires: python%{python3_pkgversion}
|
||||||
# https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
|
|
||||||
# TODO: fixme to explicitly use python2 instead -- rex
|
|
||||||
BuildRequires: /usr/bin/python
|
|
||||||
|
|
||||||
%if 0%{?bootstrap}
|
%if 0%{?bootstrap}
|
||||||
Obsoletes: %{name}-examples < %{version}-%{release}
|
Obsoletes: %{name}-examples < %{version}-%{release}
|
||||||
@ -83,7 +80,11 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# no shadow builds until fixed: https://bugreports.qt.io/browse/QTBUG-37417
|
|
||||||
|
# HACK so calls to "python" get what we want
|
||||||
|
ln -s %{__python3} python
|
||||||
|
export PATH=`pwd`:$PATH
|
||||||
|
|
||||||
%qmake_qt5
|
%qmake_qt5
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
@ -190,6 +191,9 @@ make check -k -C tests ||:
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 16 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.12.4-2
|
||||||
|
- build with python3
|
||||||
|
|
||||||
* Fri Jun 14 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
|
* Fri Jun 14 2019 Jan Grulich <jgrulich@redhat.com> - 5.12.4-1
|
||||||
- 5.12.4
|
- 5.12.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user