Accepting request 47902 from home:dimstar:branches:GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/47902
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp-igd?expand=0&rev=14
This commit is contained in:
Vincent Untz 2010-09-11 21:44:43 +00:00 committed by Git OBS Bridge
parent dc1024f59c
commit 256e48014b
3 changed files with 36 additions and 0 deletions

23
gupnp-igd-make382.patch Normal file
View File

@ -0,0 +1,23 @@
From 0ba5417df63c60dbc46c24380a8872f716a9cb95 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Sat, 11 Sep 2010 22:25:48 +0200
Subject: [PATCH] Fix build with make 3.82. Make is not bash.
---
python/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/python/Makefile.am b/python/Makefile.am
index ee31665..0931b82 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,5 +1,5 @@
PYDEFS=`pkg-config --variable=defsdir pygobject-2.0`
-[ -z "$PYDEFS" && PYDEFS=`pkg-config --variable=defsdir pygtk-2.0`]
+PYDEFS ?= `pkg-config --variable=defsdir pygtk-2.0`
AM_CPPFLAGS = \
-I. \
--
1.7.1

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Sep 11 20:27:55 UTC 2010 - dimstar@opensuse.org
- Add gupnp-igd-make382.patch: Fix build with make 3.82
- Add autoreconf call in build section.
- Add gtk-doc BuildRequires.
-------------------------------------------------------------------
Mon Jun 21 12:48:54 CEST 2010 - dimstar@opensuse.org

View File

@ -25,6 +25,9 @@ License: LGPLv2.1+
Group: Development/Libraries/C and C++
Url: http://www.gupnp.org/
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gupnp-igd-make382.patch dimstar@opensuse.org -- Fix build with make 3.82. Requires autoreconf and gtk-doc BuildRequires.
Patch0: gupnp-igd-make382.patch
BuildRequires: gtk-doc
BuildRequires: libgupnp-devel
BuildRequires: python-devel
BuildRequires: python-gobject2-devel
@ -66,8 +69,11 @@ to have a very simple API.
%prep
%setup -q
%patch0 -p1
%build
# Autoreconf is needed for patch0 -- Fix build with make 3.82
autoreconf
%configure --disable-static
%__make %{?jobs:-j%jobs}