use python3

epel8
Rex Dieter 5 years ago
parent 7fb0ca98f7
commit 05ab612dc6

@ -2,7 +2,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.61.0 Version: 5.61.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon for localization Summary: KDE Frameworks 5 Tier 1 addon for localization
License: LGPLv2+ License: LGPLv2+
@ -26,8 +26,7 @@ BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: gettext BuildRequires: gettext
BuildRequires: kf5-rpm-macros >= %{majmin} BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
# FindPythonInterp.cmake , can find/use multiple versions, rely on the default for now BuildRequires: python3
BuildRequires: python2
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtscript-devel BuildRequires: qt5-qtscript-devel
@ -41,7 +40,7 @@ KDE Frameworks 5 Tier 1 addon for localization.
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gettext Requires: gettext
Requires: python2 Requires: python3
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -54,7 +53,8 @@ developing applications that use %{name}.
%build %build
mkdir %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
%{cmake_kf5} .. %{cmake_kf5} .. \
-DPYTHON_EXECUTABLE:PATH=%__python3
popd popd
%make_build -C %{_target_platform} %make_build -C %{_target_platform}
@ -97,6 +97,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Thu Sep 05 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.61.0-2
- use python3
* Wed Aug 07 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.61.0-1 * Wed Aug 07 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.61.0-1
- 5.61.0 - 5.61.0

Loading…
Cancel
Save