From 05c129a0d62ccc15c1dd5f3a8fd1573f71a39e94 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 16 Mar 2015 12:07:08 +0100 Subject: [PATCH] - updated to 0.3.1 --- libhubbub-build.patch | 11 ++++++----- libhubbub.spec | 12 ++++++------ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/libhubbub-build.patch b/libhubbub-build.patch index 3f69a88..9c6a23c 100644 --- a/libhubbub-build.patch +++ b/libhubbub-build.patch @@ -1,15 +1,16 @@ ---- libhubbub-0.3.0/Makefile~ 2014-04-18 11:49:06.000000000 +0200 -+++ libhubbub-0.3.0/Makefile 2014-10-09 08:56:59.008078863 +0200 -@@ -15,12 +15,6 @@ +--- libhubbub-0.3.1/Makefile.orig 2015-03-16 12:04:59.380838569 +0100 ++++ libhubbub-0.3.1/Makefile 2015-03-16 12:05:36.949410158 +0100 +@@ -15,12 +15,7 @@ TESTRUNNER := $(PERL) $(NSTESTTOOLS)/tes WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -pedantic -# BeOS/Haiku/AmigaOS have standard library errors that issue warnings. --ifneq ($(TARGET),beos) -- ifneq ($(TARGET),amiga) +-ifneq ($(BUILD),i586-pc-haiku) +- ifneq ($(findstring amigaos,$(BUILD)),amigaos) - WARNFLAGS := $(WARNFLAGS) -Werror - endif -endif ++ CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) diff --git a/libhubbub.spec b/libhubbub.spec index 5270de0..c8dc072 100644 --- a/libhubbub.spec +++ b/libhubbub.spec @@ -5,17 +5,17 @@ Summary: HTML5 compliant parsing library Summary(pl.UTF-8): Biblioteka analizująca HTML5 Name: libhubbub -Version: 0.3.0 -Release: 2 +Version: 0.3.1 +Release: 1 License: MIT Group: Libraries Source0: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz -# Source0-md5: 9baf3f765e25336ab1b64da8968270f7 +# Source0-md5: bb32083b2c036dab25278968014be746 Patch0: %{name}-build.patch URL: http://www.netsurf-browser.org/projects/libhubbub/ -BuildRequires: libparserutils-devel >= 0.2.0 -BuildRequires: netsurf-buildsystem >= 1.1 -Requires: libparserutils >= 0.2.0 +BuildRequires: libparserutils-devel >= 0.2.1 +BuildRequires: netsurf-buildsystem >= 1.3 +Requires: libparserutils >= 0.2.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -- 2.44.0