Summary: Implementation of W3C DOM
Summary(pl.UTF-8): Implementacja W3C DOM
Name: libdom
-Version: 0.1.1
+Version: 0.1.2
Release: 1
License: MIT
Group: Libraries
Source0: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
-# Source0-md5: 48b46a8220e1a83a419846039e006af8
+# Source0-md5: bbe55bf26733e3067170d61427ee6176
Patch0: no-Werror.patch
URL: http://www.netsurf-browser.org/projects/libdom/
BuildRequires: expat-devel >= 1.95
-BuildRequires: libhubbub-devel >= 0.3.0
-BuildRequires: libparserutils-devel >= 0.2.0
-BuildRequires: libwapcaplet-devel >= 0.2.1
+BuildRequires: libhubbub-devel >= 0.3.1
+BuildRequires: libparserutils-devel >= 0.2.1
+BuildRequires: libwapcaplet-devel >= 0.2.2
BuildRequires: libxml2-devel >= 2.0
-BuildRequires: netsurf-buildsystem >= 1.2
+BuildRequires: netsurf-buildsystem >= 1.3
BuildRequires: pkgconfig
-Requires: libparserutils >= 0.2.0
-Requires: libwapcaplet >= 0.2.1
+Requires: libparserutils >= 0.2.1
+Requires: libwapcaplet >= 0.2.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
---- libdom-0.1.0/Makefile~ 2014-04-18 11:54:12.000000000 +0200
-+++ libdom-0.1.0/Makefile 2014-11-25 19:27:52.875672019 +0100
-@@ -15,10 +15,6 @@
+--- libdom-0.1.2/Makefile.orig 2015-03-16 12:08:30.565235136 +0100
++++ libdom-0.1.2/Makefile 2015-03-16 12:09:13.082919929 +0100
+@@ -15,10 +15,7 @@ TESTRUNNER := $(PERL) $(NSTESTTOOLS)/tes
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-# BeOS/Haiku standard library headers generate warnings
--ifneq ($(TARGET),beos)
+-ifneq ($(HOST),i586-pc-haiku)
- WARNFLAGS := $(WARNFLAGS) -Werror
-endif
++
# AmigaOS needs this to avoid warnings
- ifeq ($(TARGET),amiga)
+ ifeq ($(findstring amigaos,$(HOST)),amigaos)
CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)