commit 4ef996f8131cb49bacfbf77f7cbb4df861d245e0
Author: Jakub Bogusz <[email protected]>
Date:   Sun Feb 28 09:52:50 2016 +0100

    - unified install, dropped outdated patch

 libsvgtiny.spec |  3 ++-
 no-Werror.patch | 15 ---------------
 2 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/libsvgtiny.spec b/libsvgtiny.spec
index bde547d..cf3d30f 100644
--- a/libsvgtiny.spec
+++ b/libsvgtiny.spec
@@ -90,12 +90,13 @@ export LDFLAGS="%{rpmldflags}"
 %endif
 
 %install
+rm -rf $RPM_BUILD_ROOT
+
 export AR="%{__ar}"
 export CC="%{__cc}"
 export CFLAGS="%{rpmcflags}"
 export LDFLAGS="%{rpmldflags}"
 
-rm -rf $RPM_BUILD_ROOT
 %{__make} -j1 install \
        Q= \
        PREFIX=%{_prefix} \
diff --git a/no-Werror.patch b/no-Werror.patch
deleted file mode 100644
index 249104a..0000000
--- a/no-Werror.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- libsvgtiny-0.1.3/Makefile.orig     2015-03-16 12:36:00.650745157 +0100
-+++ libsvgtiny-0.1.3/Makefile  2015-03-16 12:36:30.867248123 +0100
-@@ -15,12 +15,6 @@ TESTRUNNER := $(ECHO)
- WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-       -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-       -Wmissing-declarations -Wnested-externs -pedantic
--# BeOS/Haiku/AmigaOS standard library headers create 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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libsvgtiny.git/commitdiff/4ef996f8131cb49bacfbf77f7cbb4df861d245e0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to