[qt5-qtbase] undefine QMAKE_STRIP (and friends), so we get useful -debuginfo pkgs (#1065636)
Rex Dieter
rdieter at fedoraproject.org
Tue Feb 18 18:41:20 UTC 2014
commit 32ae4738af40a6c57250205a0a0e481744b26c4d
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Tue Feb 18 12:42:04 2014 -0600
undefine QMAKE_STRIP (and friends), so we get useful -debuginfo pkgs (#1065636)
qt5-qtbase.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index d638797..014077b 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -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 at 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 at fedoraproject.org> 5.2.1-3
- bootstrap for libicu bump
More information about the scm-commits
mailing list