From c7d9a35fb82c6e667df593cc711eaf6bdb468123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Wed, 9 Nov 2016 15:46:17 +0100 Subject: Tie perl-Errno release to interpreter build because of kernel version check
If user updates the his system only partially so that perl-Errno does not match perl-libs and the two were built on different kernel, using Errno will fail: Errno architecture (x86_64-linux-thread-multi-4.7.9-200.fc24.x86_64) does not match executable architecture (x86_64-linux-thread-multi-4.6.4-301.fc24.x86_64) at /usr/lib64/perl5/Errno.pm line 11. --- perl.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl.spec b/perl.spec index eda7db5..6ee6391 100644 --- a/perl.spec +++ b/perl.spec @@ -29,7 +29,7 @@ Name: perl Version: %{perl_version} # release number must be even higher, because dual-lived modules will be broken otherwise -Release: 363%{?dist} +Release: 364%{?dist} Epoch: %{perl_epoch} Summary: Practical Extraction and Report Language Group: Development/Languages @@ -942,6 +942,9 @@ License: GPL+ or Artistic Epoch: 0 Version: 1.23 Requires: %perl_compat +# Errno.pm bakes in kernel version at build time and compares it against +# $Config{osvers} at run time. Match exact interpreter build. Bug #1393421. +Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} Requires: perl(Carp) Conflicts: perl < 4:5.22.0-351 @@ -4724,6 +4727,10 @@ popd # Old changelog entries are preserved in CVS. %changelog +* Wed Nov 09 2016 Petr Pisar <ppi...@redhat.com> - 4:5.22.2-364 +- Tie perl-Errno release to interpreter build because of kernel version check + (bug #1393421) + * Fri Nov 04 2016 Petr Pisar <ppi...@redhat.com> - 4:5.22.2-363 - Fix a crash in lexical scope warnings (RT#128597) - Do not mangle errno from failed socket calls (RT#128316) -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl.git/commit/?h=f24&id=c7d9a35fb82c6e667df593cc711eaf6bdb468123 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org