rdieter pushed to phonon (f21). "%build: -DCMAKE_BUILD_TYPE="Release" (sets -DNDEBUG -DQT_NO_DEBUG)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 7 16:46:21 UTC 2015


From da9a63c90a618398c9c718e1bd3b6e11e7d5f60a Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Thu, 7 May 2015 11:26:26 -0500
Subject: %build: -DCMAKE_BUILD_TYPE="Release" (sets -DNDEBUG -DQT_NO_DEBUG)


diff --git a/phonon.spec b/phonon.spec
index 9c5f053..23e7f37 100644
--- a/phonon.spec
+++ b/phonon.spec
@@ -11,7 +11,7 @@
 Summary: Multimedia framework api
 Name:    phonon
 Version: 4.8.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 URL:     http://phonon.kde.org/
 %if 0%{?snap}
@@ -95,21 +95,21 @@ Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
 
 
 %build
-mkdir -p %{_target_platform}
+mkdir %{_target_platform}
 pushd %{_target_platform}
-%{cmake} \
-  -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=ON \
-  ..
+%{cmake} .. \
+  -DCMAKE_BUILD_TYPE:STRING="Release" \
+  -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=ON
 popd
 
 make %{?_smp_mflags} -C %{_target_platform}
 
-mkdir -p %{_target_platform}-Qt5
+mkdir %{_target_platform}-Qt5
 pushd %{_target_platform}-Qt5
-%{cmake} \
+%{cmake} .. \
+  -DCMAKE_BUILD_TYPE:STRING="Release" \
   -DPHONON_BUILD_PHONON4QT5:BOOL=ON \
-  -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=ON \
-  ..
+  -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=ON
 popd
 
 make %{?_smp_mflags} -C %{_target_platform}-Qt5
@@ -198,6 +198,9 @@ test "$(pkg-config --modversion phonon4qt5)" = "%{version}"
 
 
 %changelog
+* Thu May 07 2015 Rex Dieter <rdieter at fedoraproject.org> 4.8.3-3
+- %%build: -DCMAKE_BUILD_TYPE="Release" (sets -DNDEBUG -DQT_NO_DEBUG)
+
 * Sat May 02 2015 Kalev Lember <kalevlember at gmail.com> - 4.8.3-2
 - Rebuilt for GCC 5 C++11 ABI change
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/phonon.git/commit/?h=f21&id=da9a63c90a618398c9c718e1bd3b6e11e7d5f60a


More information about the scm-commits mailing list