[soprano] unconditionally set -DQT_NO_DEBUG_OUTPUT

Rex Dieter rdieter at fedoraproject.org
Fri Oct 21 12:42:25 UTC 2011


commit 8f0fc67d2310d36269ea3f023f7f13b1497a530b
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Fri Oct 21 07:49:49 2011 -0500

    unconditionally set -DQT_NO_DEBUG_OUTPUT

 soprano.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/soprano.spec b/soprano.spec
index 194eb33..272ffb6 100644
--- a/soprano.spec
+++ b/soprano.spec
@@ -8,7 +8,7 @@
 Summary: Qt wrapper API to different RDF storage solutions
 Name:    soprano
 Version: 2.7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 Group:   System Environment/Libraries
 License: LGPLv2+
@@ -120,9 +120,8 @@ format for easy browsing.
 
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
-%if 0%{?fedora} && 0%{?fedora} < 17
+# disable copious debug output
 export CXXFLAGS="%optflags -DQT_NO_DEBUG_OUTPUT"
-%endif
 %{cmake} \
   -DDATA_INSTALL_DIR:PATH=%{_kde4_appsdir} \
   -DQT_DOC_DIR=%{?_qt4_docdir}%{!?_qt4_docdir:%(pkg-config --variable=docdir Qt)} \
@@ -226,6 +225,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 21 2011 Rex Dieter <rdieter at fedoraproject.org> 2.7.2-2
+- unconditionally set -DQT_NO_DEBUG_OUTPUT
+
 * Fri Oct 21 2011 Rex Dieter <rdieter at fedoraproject.org> 2.7.2-1
 - soprano-2.7.2 (#747906)
 - disable DEBUG for pre-rawhide builds (#746499) 


More information about the scm-commits mailing list