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