From 07f80febf3b54def8645bc923103c1c689062ed3 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sep 05 2019 17:39:37 +0000 Subject: use python3 (instead of python2) --- diff --git a/kcachegrind.spec b/kcachegrind.spec index 914451b..e7f93a1 100644 --- a/kcachegrind.spec +++ b/kcachegrind.spec @@ -1,7 +1,7 @@ Name: kcachegrind Summary: GUI to profilers such as Valgrind Version: 19.04.3 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 and GFDL URL: https://cgit.kde.org/%{name}.git @@ -18,7 +18,7 @@ Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-% BuildRequires: desktop-file-utils BuildRequires: perl-generators -BuildRequires: python2-rpm-macros +BuildRequires: python3 BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros @@ -65,7 +65,7 @@ QT-based browser for data produced by profiling tools (e.g. cachegrind). %autosetup -p1 # Avoid use of #!/usr/bin/env as interpeter -sed -i.env -e "s|^#!/usr/bin/env python$|#!%{__python2}|g" converters/hotshot2calltree.cmake +sed -i.env -e "s|^#!/usr/bin/env python$|#!%{__python3}|g" converters/hotshot2calltree.cmake sed -i.env -e "s|^#!/usr/bin/env php$|#!%{_bindir}/php|g" converters/pprof2calltree @@ -127,6 +127,9 @@ cat kcachegrind_qt.lang >> kcachegrind.lang %changelog +* Thu Sep 05 2019 Rex Dieter - 19.04.3-3 +- use python3 (instead of python2) + * Thu Jul 25 2019 Fedora Release Engineering - 19.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild