From: Jan Palus Date: Thu, 7 Apr 2022 18:25:35 +0000 (+0200) Subject: disable test which requires network access X-Git-Tag: auto/th/fontconfig-2.14.0-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=e129e349738e8182df59b056b85f28749c2f1223;p=packages%2Ffontconfig.git disable test which requires network access --- diff --git a/disable-tests.patch b/disable-tests.patch new file mode 100644 index 0000000..aadf36a --- /dev/null +++ b/disable-tests.patch @@ -0,0 +1,13 @@ +--- fontconfig-2.14.0/test/Makefile.am.orig 2022-01-28 10:34:44.000000000 +0100 ++++ fontconfig-2.14.0/test/Makefile.am 2022-04-07 20:24:29.827809835 +0200 +@@ -69,8 +69,8 @@ + # to meaningfully test anything, and we are not installed yet. + #TESTS += test-pthread + +-check_PROGRAMS += test-crbug1004254 +-test_crbug1004254_LDADD = $(top_builddir)/src/libfontconfig.la ++#check_PROGRAMS += test-crbug1004254 ++#test_crbug1004254_LDADD = $(top_builddir)/src/libfontconfig.la + # Disabling this for the same reason as above but trying to run in run-test.sh. + #TESTS += test-crbug1004254 + endif diff --git a/fontconfig.spec b/fontconfig.spec index fe08b1d..3387179 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -17,6 +17,7 @@ Source0: https://www.freedesktop.org/software/fontconfig/release/%{name}-%{versi # Source0-md5: e12700a9d522bdfec06b6b7e72646987 Source1: %{name}-lcd-filter.conf Patch0: %{name}-bitstream-cyberbit.patch +Patch1: disable-tests.patch URL: http://fontconfig.org/ BuildRequires: autoconf >= 2.61 BuildRequires: automake >= 1:1.11 @@ -136,6 +137,7 @@ Este pacote contém a biblioteca estática do fontconfig %prep %setup -q %patch0 -p1 +%patch1 -p1 # bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces... sed -i -e 's#BWRAP=.*#BWRAP=#g' test/run-test.sh