rpms/kdelibs/devel kdelibs-4.0.3-fedora-buildtype.patch, NONE, 1.1 kdelibs.spec, 1.299, 1.300
Kevin Kofler (kkofler)
fedora-extras-commits at redhat.com
Mon Mar 31 15:39:48 UTC 2008
- Previous message (by thread): rpms/control-center/F-8 control-center.spec,1.315,1.316
- Next message (by thread): rpms/mod_suphp/F-8 mod_suphp-0.6.3-userdir.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 mod_suphp.spec, 1.13, 1.14 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kkofler
Update of /cvs/pkgs/rpms/kdelibs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31319/devel
Modified Files:
kdelibs.spec
Added Files:
kdelibs-4.0.3-fedora-buildtype.patch
Log Message:
* Mon Mar 31 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.0.3-2
- add Fedora build type (uses -DNDEBUG)
kdelibs-4.0.3-fedora-buildtype.patch:
--- NEW FILE kdelibs-4.0.3-fedora-buildtype.patch ---
diff -ur kdelibs-4.0.3/cmake/modules/FindKDE4Internal.cmake kdelibs-4.0.3-fedora-buildtype/cmake/modules/FindKDE4Internal.cmake
--- kdelibs-4.0.3/cmake/modules/FindKDE4Internal.cmake 2008-03-27 21:33:23.000000000 +0100
+++ kdelibs-4.0.3-fedora-buildtype/cmake/modules/FindKDE4Internal.cmake 2008-03-31 17:34:40.000000000 +0200
@@ -882,11 +882,13 @@
set(CMAKE_CXX_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline")
set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
+ set(CMAKE_CXX_FLAGS_FEDORA "-DNDEBUG")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g")
set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG")
set(CMAKE_C_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline")
set(CMAKE_C_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
+ set(CMAKE_C_FLAGS_FEDORA "-DNDEBUG")
if (CMAKE_SYSTEM_NAME MATCHES Linux)
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
Index: kdelibs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/devel/kdelibs.spec,v
retrieving revision 1.299
retrieving revision 1.300
diff -u -r1.299 -r1.300
--- kdelibs.spec 28 Mar 2008 18:14:45 -0000 1.299
+++ kdelibs.spec 31 Mar 2008 15:38:48 -0000 1.300
@@ -1,7 +1,7 @@
Summary: K Desktop Environment 4 - Libraries
Version: 4.0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
%if 0%{?fedora} > 8
Name: kdelibs
@@ -75,6 +75,8 @@
# workaround for policykit
Patch11: kdelibs-4.0.2-policykit-workaround.patch
Patch12: kdelibs-4.x-xdg-menu.patch
+# Fedora build type - adds -DNDEBUG, removes -O2 -g (already in RPM_OPT_FLAGS)
+Patch13: kdelibs-4.0.3-fedora-buildtype.patch
BuildRequires: qt4-devel >= 4.3.0
Requires: qt4 >= %{_qt4_version}
@@ -192,6 +194,7 @@
%patch10 -p1 -b .no-cache-kdeglobals-paths
%patch11 -p1 -b .policykit
%patch12 -p1 -b .Administration-menu
+%patch13 -p1 -b .fedora-buildtype
%build
@@ -352,6 +355,9 @@
%changelog
+* Mon Mar 31 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.0.3-2
+- add Fedora build type (uses -DNDEBUG)
+
* Fri Mar 28 2008 Than Ngo <than at redhat.com> 4.0.3-1
- 4.0.3
- -apidocs: drop Requires: %%name
- Previous message (by thread): rpms/control-center/F-8 control-center.spec,1.315,1.316
- Next message (by thread): rpms/mod_suphp/F-8 mod_suphp-0.6.3-userdir.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 mod_suphp.spec, 1.13, 1.14 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list