[qtcurve-gtk2] - qtcurve-gtk2 not built with $RPM_OPT_FLAGS (#625504)
Rex Dieter
rdieter at fedoraproject.org
Tue Sep 28 20:22:53 UTC 2010
commit 48a199b2516b18d903a427a1137ef480dcfbc36f
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Tue Sep 28 15:28:31 2010 -0500
- qtcurve-gtk2 not built with $RPM_OPT_FLAGS (#625504)
QtCurve-Gtk2-1.6.3-C_FLAGS.patch | 10 ++++++++++
qtcurve-gtk2.spec | 11 ++++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/QtCurve-Gtk2-1.6.3-C_FLAGS.patch b/QtCurve-Gtk2-1.6.3-C_FLAGS.patch
new file mode 100644
index 0000000..3441538
--- /dev/null
+++ b/QtCurve-Gtk2-1.6.3-C_FLAGS.patch
@@ -0,0 +1,10 @@
+diff -up QtCurve-Gtk2-1.6.3/style/CMakeLists.txt.C_FLAGS QtCurve-Gtk2-1.6.3/style/CMakeLists.txt
+--- QtCurve-Gtk2-1.6.3/style/CMakeLists.txt.C_FLAGS 2010-09-26 03:46:26.000000000 -0500
++++ QtCurve-Gtk2-1.6.3/style/CMakeLists.txt 2010-09-28 15:23:12.619387888 -0500
+@@ -1,5 +1,5 @@
+ include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/common ${CMAKE_BINARY_DIR} )
+-set(CMAKE_C_FLAGS "${GTK_CFLAGS}")
++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GTK_CFLAGS}")
+ set(qtcurve_SRCS qtcurve.c)
+ add_library(qtcurve MODULE ${qtcurve_SRCS})
+ add_definitions(-DQTC_MOZILLA_DIR=\\\"${GTK_THEME_DIR}/mozilla\\\")
diff --git a/qtcurve-gtk2.spec b/qtcurve-gtk2.spec
index 6136f96..5095971 100644
--- a/qtcurve-gtk2.spec
+++ b/qtcurve-gtk2.spec
@@ -1,6 +1,6 @@
Name: qtcurve-gtk2
Version: 1.6.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: This is a set of widget styles for Gtk2 based apps
Group: User Interface/Desktops
@@ -9,6 +9,10 @@ URL: http://www.kde-look.org/content/show.php?content=40492
Source0: http://craigd.wikispaces.com/file/view/QtCurve-Gtk2-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+## upstsreamable patches
+# http://bugzilla.redhat.com/625504 , qtcurve-gtk2 not built with $RPM_OPT_FLAGS
+Patch100: QtCurve-Gtk2-1.6.3-C_FLAGS.patch
+
BuildRequires: gtk2-devel
BuildRequires: kdebase-workspace-devel
@@ -19,6 +23,8 @@ allowing users to achieve a uniform look between these widget toolkits.
%prep
%setup -q -n QtCurve-Gtk2-%{version}
+%patch100 -p1 -b .C_FLAGS
+
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
@@ -42,6 +48,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Sep 28 2010 Rex Dieter <rdieter at fedoraproject.org> 1.6.3-2
+- qtcurve-gtk2 not built with $RPM_OPT_FLAGS (#625504)
+
* Sun Sep 26 2010 Thomas Janssen <thomasj at fedoraproject.org> 1.6.3-1
- bugfix update 1.6.3
More information about the scm-commits
mailing list