[packages/libhubbub] - dropped outdated build patch

qboosh qboosh at pld-linux.org
Sun Feb 28 09:12:58 CET 2016


commit e4bd4314cf12484edef39040a794c67f5ccfb98b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 28 09:16:22 2016 +0100

    - dropped outdated build patch

 libhubbub-build.patch | 16 ----------------
 libhubbub.spec        |  4 ++--
 2 files changed, 2 insertions(+), 18 deletions(-)
---
diff --git a/libhubbub.spec b/libhubbub.spec
index 3252118..0888def 100644
--- a/libhubbub.spec
+++ b/libhubbub.spec
@@ -11,7 +11,6 @@ License:	MIT
 Group:		Libraries
 Source0:	http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
 # Source0-md5:	037e642d3e5e6086756f57b5316b2c4f
-Patch0:		%{name}-build.patch
 URL:		http://www.netsurf-browser.org/projects/libhubbub/
 BuildRequires:	libparserutils-devel >= 0.2.3
 BuildRequires:	netsurf-buildsystem >= 1.5
@@ -113,12 +112,13 @@ export LDFLAGS="%{rpmldflags}"
 %endif
 
 %install
+rm -rf $RPM_BUILD_ROOT
+
 export AR="%{__ar}"
 export CC="%{__cc}"
 export CFLAGS="%{rpmcflags} %{rpmcppflags}"
 export LDFLAGS="%{rpmldflags}"
 
-rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	Q= \
 	PREFIX=%{_prefix} \
diff --git a/libhubbub-build.patch b/libhubbub-build.patch
deleted file mode 100644
index 9c6a23c..0000000
--- a/libhubbub-build.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- 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 ($(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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libhubbub.git/commitdiff/e4bd4314cf12484edef39040a794c67f5ccfb98b



More information about the pld-cvs-commit mailing list