[python-pyside] Force Release build type to make sure NDEBUG is defined
Kalev Lember
kalev at fedoraproject.org
Thu Mar 3 13:21:05 UTC 2011
commit b1660049a726f731d806c80d6b9dbc85d93b8c12
Author: Kalev Lember <kalev at smartlink.ee>
Date: Thu Mar 3 15:20:27 2011 +0200
Force Release build type to make sure NDEBUG is defined
python-pyside.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/python-pyside.spec b/python-pyside.spec
index abd1d09..d84b06e 100644
--- a/python-pyside.spec
+++ b/python-pyside.spec
@@ -57,7 +57,7 @@ sed -i -e "s/lrelease /lrelease-qt4 /" tests/QtCore/translation_test.py
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
-%{cmake} -DCMAKE_SKIP_RPATH=true ..
+%{cmake} -DCMAKE_SKIP_RPATH=true -DCMAKE_BUILD_TYPE=Release ..
popd
make %{?_smp_mflags} -C %{_target_platform}
@@ -112,6 +112,7 @@ rm -rf $RPM_BUILD_ROOT
* Thu Mar 03 2011 Kalev Lember <kalev at smartlink.ee> - 1.0.0-1
- Update to 1.0.0
- Re-enabled Provides filtering
+- Force Release build type to make sure NDEBUG is defined
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-0.3.beta4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list