diff --git a/0001-Make-function-tests-more-robust.patch b/0001-Make-function-tests-more-robust.patch deleted file mode 100644 index 5380e4b..0000000 --- a/0001-Make-function-tests-more-robust.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 1747cdf9f98cfd3aada9bf6c09f9d46297e18a5e Mon Sep 17 00:00:00 2001 -From: Paul Howarth -Date: Sat, 22 Aug 2020 13:16:00 +0100 -Subject: [PATCH] Make function tests more robust - -Actually try calling the function rather than just referencing it. -This prevents some false-positive function detections, such as seen in -https://github.com/toddr/IO-Tty/issues/23 ---- - Makefile.PL | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 3ff081b..25824d1 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -160,7 +160,7 @@ main () - #if defined (__stub_$f) || defined (__stub___$f) - choke me - #else --f = $f; -+f = $f (); - #endif - - ; --- -2.26.2 - diff --git a/perl-IO-Tty.spec b/perl-IO-Tty.spec index de206d6..77c052b 100644 --- a/perl-IO-Tty.spec +++ b/perl-IO-Tty.spec @@ -1,11 +1,10 @@ Name: perl-IO-Tty -Version: 1.14 -Release: 5%{?dist} +Version: 1.15 +Release: 1%{?dist} Summary: Perl interface to pseudo tty's License: (GPL+ or Artistic) and BSD URL: https://metacpan.org/release/IO-Tty Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Tty-%{version}.tar.gz -Patch0: 0001-Make-function-tests-more-robust.patch # Module Build BuildRequires: coreutils BuildRequires: findutils @@ -41,10 +40,6 @@ IO::Tty and IO::Pty provide an interface to pseudo tty's. %prep %setup -q -n IO-Tty-%{version} -# Prevent false-positive detection of functions, e.g strlcpy() and _getpty() -# https://github.com/toddr/IO-Tty/pull/24 -%patch0 -p1 - %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} @@ -66,6 +61,13 @@ make test %{_mandir}/man3/IO::Tty::Constant.3* %changelog +* Wed Nov 4 2020 Paul Howarth - 1.15-1 +- Update to 1.15 + - Skip winsize test on Solaris and QNX NTO (GH#22) + - Make function tests more robust (GH#24) + - Work around a header name collision on util.h; this is breaking on recent + OSX (GH#26) + * Sat Aug 22 2020 Paul Howarth - 1.14-5 - Fix FTBFS due to false detection of strlcpy() and _getpty() https://github.com/toddr/IO-Tty/pull/24 diff --git a/sources b/sources index 524ff74..07e4d00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (IO-Tty-1.14.tar.gz) = 4d6a5299f87eab0281f5e26953bc1537d760d88c486de9c8512750af733d5e466e059400a310746eb8fe432b8c8dcb82055c4cfbb1d31e25c9ce874557618305 +SHA512 (IO-Tty-1.15.tar.gz) = 55329833d2e5ac426c0b69224e0af41d86c8dfd935c3698eb15800f0b7f48610651403ea54d9c7cad2f71b7c1080e957fa3706912680204f9b83c801095d2648