undefine QMAKE_STRIP (and friends), so we get useful -debuginfo pkgs (#1065636)

This commit is contained in:
Rex Dieter 2014-02-18 12:42:04 -06:00
parent 03e7d3ee96
commit 32ae4738af

View File

@ -22,7 +22,7 @@
Summary: Qt5 - QtBase components
Name: qt5-qtbase
Version: 5.2.1
Release: 3%{?dist}
Release: 4%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -286,6 +286,12 @@ sed -i -e "s|-O2|$RPM_OPT_FLAGS|g" \
sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 $RPM_LD_FLAGS|" \
mkspecs/common/g++-unix.conf
# undefine QMAKE_STRIP (and friends), so we get useful -debuginfo pkgs (#1065636)
sed -i \
-e 's|^QMAKE_STRIP =.*|QMAKE_STRIP =|' \
-e 's|^QMAKE_STRIPFLAGS_LIB +=.*|QMAKE_STRIPFLAGS_LIB +=|' \
mkspecs/common/linux.conf
# move some bundled libs to ensure they're not accidentally used
pushd src/3rdparty
mkdir UNUSED
@ -685,6 +691,9 @@ popd
%changelog
* Tue Feb 18 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-4
- undefine QMAKE_STRIP (and friends), so we get useful -debuginfo pkgs (#1065636)
* Wed Feb 12 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-3
- bootstrap for libicu bump