[packages/libgdiplus] - disable building of unused tests; release 2

qboosh qboosh at pld-linux.org
Mon Apr 18 19:26:58 CEST 2022


commit 6061dc10154da16d054faa53349274bccbca4fbd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 18 19:27:07 2022 +0200

    - disable building of unused tests; release 2

 libgdiplus.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/libgdiplus.spec b/libgdiplus.spec
index b0b22c3..f1d2729 100644
--- a/libgdiplus.spec
+++ b/libgdiplus.spec
@@ -8,7 +8,7 @@ Summary:	An Open Source implementation of the GDI+ API
 Summary(pl.UTF-8):	Otwarta implementacja API GDI+
 Name:		libgdiplus
 Version:	6.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries
 Source0:	https://download.mono-project.com/sources/libgdiplus/%{name}-%{version}.tar.gz
@@ -89,6 +89,9 @@ Statyczna biblioteka libgdiplus.
 %setup -q
 %patch0 -p1
 
+# disable gtest tests (not run, require cmake and -Werror fixes)
+%{__sed} -i -e '/^if HAVE_CMAKE/,/^endif/ d' tests/Makefile.am
+
 %build
 %{__libtoolize}
 %{__aclocal}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgdiplus.git/commitdiff/6061dc10154da16d054faa53349274bccbca4fbd



More information about the pld-cvs-commit mailing list