From ba4c2d9695cf0597fc1a620327b3e53bc9684ce22bf2e29116aeedee562ba58d Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 28 May 2009 21:55:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdl?expand=0&rev=11 --- gdl-missing-include.patch | 40 +++++++++++++++++++++++++++++++++++++++ gdl.changes | 6 ++++++ gdl.spec | 10 ++++++++-- 3 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 gdl-missing-include.patch diff --git a/gdl-missing-include.patch b/gdl-missing-include.patch new file mode 100644 index 0000000..d847b69 --- /dev/null +++ b/gdl-missing-include.patch @@ -0,0 +1,40 @@ +Index: gdl-2.27.2/gdl/Makefile.am +=================================================================== +--- gdl-2.27.2.orig/gdl/Makefile.am ++++ gdl-2.27.2/gdl/Makefile.am +@@ -29,6 +29,7 @@ libgdl_headers = \ + gdl-dock-item.h \ + gdl-dock-item-grip.h \ + gdl-dock-layout.h \ ++ gdl-dock-placeholder.h \ + gdl-dock-bar.h + + libgdl_1_la_SOURCES = \ +@@ -51,7 +52,6 @@ libgdl_1_la_SOURCES = \ + gdl-dock-tablabel.h \ + gdl-dock-layout.c \ + gdl-dock-placeholder.c \ +- gdl-dock-placeholder.h \ + gdl-dock-bar.c \ + gdl-switcher.c \ + gdl-switcher.h \ +Index: gdl-2.27.2/gdl/Makefile.in +=================================================================== +--- gdl-2.27.2.orig/gdl/Makefile.in ++++ gdl-2.27.2/gdl/Makefile.in +@@ -290,6 +290,7 @@ libgdl_headers = \ + gdl-dock-item.h \ + gdl-dock-item-grip.h \ + gdl-dock-layout.h \ ++ gdl-dock-placeholder.h \ + gdl-dock-bar.h + + libgdl_1_la_SOURCES = \ +@@ -312,7 +313,6 @@ libgdl_1_la_SOURCES = \ + gdl-dock-tablabel.h \ + gdl-dock-layout.c \ + gdl-dock-placeholder.c \ +- gdl-dock-placeholder.h \ + gdl-dock-bar.c \ + gdl-switcher.c \ + gdl-switcher.h \ diff --git a/gdl.changes b/gdl.changes index b4f2d05..4f09539 100644 --- a/gdl.changes +++ b/gdl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 28 13:14:26 CEST 2009 - vuntz@novell.com + +- Add gdl-missing-include.patch to install a header in includedir. + Else, everything depending on gdl fails to build. + ------------------------------------------------------------------- Wed May 27 12:20:49 CEST 2009 - vuntz@novell.com diff --git a/gdl.spec b/gdl.spec index a37002a..2821932 100644 --- a/gdl.spec +++ b/gdl.spec @@ -28,10 +28,12 @@ BuildRequires: translation-update-upstream License: GPL v2 only Group: System/Libraries Version: 2.27.2 -Release: 1 +Release: 2 Summary: Gnome Devtool Libraries contains components and libraries Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/2.24/%name-%version.tar.bz2 Source1: %{name}-rpmlintrc +# PATCH-FIX-UPSTREAM gdl-missing-include.patch vuntz@novell.com -- Taken from git +Patch0: gdl-missing-include.patch Url: http://ftp.gnome.org/pub/GNOME/sources/gdl/0.7/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -93,8 +95,9 @@ Authors: Gustavo Giráldez (GdlDock) %lang_package -%prep +%prep %setup -q +%patch0 -p1 translation-update-upstream %build @@ -133,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT %files lang -f %{name}-1.lang %changelog +* Thu May 28 2009 vuntz@novell.com +- Add gdl-missing-include.patch to install a header in includedir. + Else, everything depending on gdl fails to build. * Wed May 27 2009 vuntz@novell.com - Update to version 2.27.2: + Fix out of source tree builds