[packages/libCSS] - dropped outdated build patch

qboosh qboosh at pld-linux.org
Sun Feb 28 09:02:56 CET 2016


commit 283629c9b86b65a3b0eaea5b725fbda3e6d3f081
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 28 09:06:18 2016 +0100

    - dropped outdated build patch

 libCSS-build.patch | 16 ----------------
 libCSS.spec        |  6 ++----
 2 files changed, 2 insertions(+), 20 deletions(-)
---
diff --git a/libCSS.spec b/libCSS.spec
index f502128..bd6b2d7 100644
--- a/libCSS.spec
+++ b/libCSS.spec
@@ -11,7 +11,6 @@ License:	MIT
 Group:		Libraries
 Source0:	http://download.netsurf-browser.org/libs/releases/libcss-%{version}-src.tar.gz
 # Source0-md5:	6f678c6119b89d4b0fab37b2c6e69825
-Patch0:		%{name}-build.patch
 URL:		http://www.netsurf-browser.org/projects/libcss/
 BuildRequires:	libparserutils-devel >= 0.2.3
 BuildRequires:	libwapcaplet-devel >= 0.3.0
@@ -76,7 +75,6 @@ Statyczna biblioteka libCSS.
 
 %prep
 %setup -q -n libcss-%{version}
-#%patch0 -p1
 
 # create "gen" target just to execute PRE_TARGETS
 printf '\ngen: $(PRE_TARGETS)\n' >> Makefile
@@ -108,13 +106,13 @@ for c in %{comps} ; do
 done
 
 %install
+rm -rf $RPM_BUILD_ROOT
+
 export CC="%{__cc}"
 export CFLAGS="%{rpmcflags} %{rpmcppflags}"
 export LDFLAGS="%{rpmldflags}"
 export AR="%{__ar}"
 
-rm -rf $RPM_BUILD_ROOT
-
 for c in %{comps} ; do
 %{__make} -j1 install \
 	Q= \
diff --git a/libCSS-build.patch b/libCSS-build.patch
deleted file mode 100644
index 226ece3..0000000
--- a/libCSS-build.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- libcss-0.5.0/Makefile.orig	2015-03-16 11:57:17.844943636 +0100
-+++ libcss-0.5.0/Makefile	2015-03-16 11:58:12.197982514 +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
--# BeOS/Haiku/AmigaOS4 standard library headers create warnings
--ifneq ($(HOST),i586-pc-haiku)
--  ifneq ($(findstring amigaos,$(HOST)),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/libCSS.git/commitdiff/283629c9b86b65a3b0eaea5b725fbda3e6d3f081



More information about the pld-cvs-commit mailing list