diff --git a/python3.spec b/python3.spec index 0bd1a1d..f25f377 100644 --- a/python3.spec +++ b/python3.spec @@ -125,7 +125,7 @@ Name: python3 # WARNING When rebasing to a new Python version, # remember to update the python3-docs package as well Version: %{pybasever}.2 -Release: 6%{?dist} +Release: 7%{?dist} License: Python Group: Development/Languages @@ -732,7 +732,7 @@ export CPPFLAGS="`pkg-config --cflags-only-I libffi`" export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv" export LINKCC="gcc" export CFLAGS="$CFLAGS `pkg-config --cflags openssl`" -export LDFLAGS="$RPM_LD_FLAGS `pkg-config --libs-only-L openssl`" +export LDFLAGS="$RPM_LD_FLAGS -g `pkg-config --libs-only-L openssl`" # Define a function, for how to perform a "build" of python for a given @@ -1667,6 +1667,10 @@ fi # ====================================================== %changelog +* Wed Sep 06 2017 Iryna Shcherbina - 3.6.2-7 +- Include `-g` in the flags sent to the linker (LDFLAGS) +Resolves: rhbz#1483222 + * Mon Aug 28 2017 Michal Cyprian - 3.6.2-6 - Use python3 style of calling super() without arguments in rpath patch to prevent recursion in UnixCCompiler subclasses