Accepting request 959807 from home:Andreas_Schwab:Factory
- Don't install anything in testsuite build - Run testsuite also in qemu build - posix-sigaction.patch: remove, this has been fixed properly in commit 19c9c2ee4a OBS-URL: https://build.opensuse.org/request/show/959807 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=210
This commit is contained in:
parent
d6aa66965b
commit
85398c788d
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 3 13:33:03 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Don't install anything in testsuite build
|
||||
- Run testsuite also in qemu build
|
||||
- posix-sigaction.patch: remove, this has been fixed properly in commit
|
||||
19c9c2ee4a
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 4 08:08:30 UTC 2021 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
|
12
perl.spec
12
perl.spec
@ -50,7 +50,6 @@ Patch11: perl-5.18.2-overflow.diff
|
||||
Patch12: perl-reproducible.patch
|
||||
# PATCH-FIX-OPENSUSE skip flaky tests powerpc as bypass https://bugzilla.suse.com/show_bug.cgi?id=1063176
|
||||
Patch13: perl_skip_flaky_tests_powerpc.patch
|
||||
Patch14: posix-sigaction.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/Perl/perl5/pull/18919 - Fix build with gdbm 1.20
|
||||
Patch15: https://github.com/Perl/perl5/commit/c029d660f2fe60699cf64bbb3fa9f671a1a370d5.patch
|
||||
# PATCH-FIX-UPSTREAM unmerged https://www.nntp.perl.org/group/perl.perl5.porters/2018/12/msg253240.html
|
||||
@ -187,7 +186,6 @@ cp -p %{SOURCE3} .
|
||||
%patch9 -p1
|
||||
%patch11
|
||||
%patch12 -p1
|
||||
%patch14
|
||||
%patch15 -p1
|
||||
%patch18
|
||||
|
||||
@ -230,12 +228,17 @@ mv savelib lib
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%if "%{name}" == "perl-testsuite" && !0%{?qemu_user_space_build}
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
%if 0%{?qemu_user_space_build}
|
||||
# Disable tests that are difficult to emulate
|
||||
echo 'print "1..0\n";' > t/op/fork.t
|
||||
echo 'print "1..0\n";' > t/op/magic.t
|
||||
%endif
|
||||
%if "%{name}" == "perl-testsuite"
|
||||
TEST_JOBS="%{jobs}" make %{?_smp_mflags} test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if "%{name}" != "perl-testsuite"
|
||||
%make_install
|
||||
cp -a %{buildroot}/usr/lib/perl5/site_perl %{buildroot}/usr/lib/perl5/vendor_perl
|
||||
cpa=`echo %{buildroot}/usr/lib/perl5/*/*/CORE | sed -e 's@/CORE$@@'`
|
||||
@ -352,6 +355,7 @@ EOF
|
||||
esac
|
||||
done)
|
||||
} > perl-base-excludes
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "perl"
|
||||
%files base -f perl-base-filelist
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- ./ext/POSIX/POSIX.xs.orig 2020-06-14 23:01:25.000000000 +0000
|
||||
+++ ./ext/POSIX/POSIX.xs 2020-10-27 10:53:50.744531872 +0000
|
||||
@@ -3110,6 +3110,10 @@ sigaction(sig, optaction, oldaction = 0)
|
||||
/* Set up any desired flags. */
|
||||
svp = hv_fetchs(action, "FLAGS", FALSE);
|
||||
act.sa_flags = svp ? SvIV(*svp) : 0;
|
||||
+#ifdef SA_SIGINFO
|
||||
+ /* Perl_sighandler depends on the extra arguments. */
|
||||
+ act.sa_flags |= SA_SIGINFO;
|
||||
+#endif
|
||||
|
||||
/* Safe signals use "csighandler", which vectors through the
|
||||
PL_sighandlerp pointer when it's safe to do so.
|
Loading…
Reference in New Issue
Block a user