diff --git a/perl-Tk.spec b/perl-Tk.spec index ee2e771..345ff45 100644 --- a/perl-Tk.spec +++ b/perl-Tk.spec @@ -136,12 +136,21 @@ chmod -x pod/Popup.pod Tixish/lib/Tk/balArrow.xbm %patch -P 2 -p1 -b .seg %patch -P 3 -p1 -b .c99 +# Temporary disable tests failing with Perl 5.38 BZ#2222638 +%ifarch s390 s390x +for F in t/balloon.t t/canvas2.t t/photo.t ; do + rm "$F" + perl -i -ne 'print $_ unless m{^\Q'"$F"'\E}' MANIFEST +done +%endif + %build %{__perl} Makefile.PL INSTALLDIRS=vendor X11LIB=%{_libdir} XFT=1 find . -name Makefile | xargs %{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' make %{?_smp_mflags} %check + %if %{use_x11_tests} xvfb-run -a make test %endif