From 71d7c26871776a9386ec7cf2aa9eb21d4134957f Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 7 May 2018 14:37:17 +0200 Subject: [PATCH] Disable gdb_hooks for riscv64 We do not build debug* packages due to not available GDB in upstream. With gdb_hooks we would have installed, but unpackaged files. Signed-off-by: David Abdurachmanov --- python2.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python2.spec b/python2.spec index d15b497..b600d59 100644 --- a/python2.spec +++ b/python2.spec @@ -38,7 +38,9 @@ # Disabled for now: %global with_huntrleaks 0 +%ifnarch riscv64 %global with_gdb_hooks 1 +%endif %global with_systemtap 1 @@ -104,7 +106,7 @@ Summary: An interpreted, interactive, object-oriented programming language Name: %{python} # Remember to also rebase python2-docs when changing this: Version: 2.7.15 -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} License: Python Group: Development/Languages Requires: %{python}-libs%{?_isa} = %{version}-%{release} @@ -1940,6 +1942,9 @@ CheckPython \ # ====================================================== %changelog +* Mon May 07 2018 David Abdurachmanov - 2.7.15-1.0.riscv64 +- Disable gdb_hooks as we do not build debug* packages at this point (no GDB available) + * Tue May 01 2018 Miro HronĨok - 2.7.15-1 - Update to version 2.7.15