Hello community, here is the log from the commit of package perl-IO-Tty for openSUSE:Factory checked in at 2020-11-07 21:01:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-IO-Tty (Old) and /work/SRC/openSUSE:Factory/.perl-IO-Tty.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-IO-Tty" Sat Nov 7 21:01:44 2020 rev:24 rq:845942 version:1.15 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-IO-Tty/perl-IO-Tty.changes 2020-01-21 21:03:49.132945544 +0100 +++ /work/SRC/openSUSE:Factory/.perl-IO-Tty.new.11331/perl-IO-Tty.changes 2020-11-07 21:03:25.377832193 +0100 @@ -1,0 +2,11 @@ +Wed Nov 4 03:08:31 UTC 2020 - Tina Müller <timueller+p...@suse.de> + +- updated to 1.15 + see /usr/share/doc/packages/perl-IO-Tty/ChangeLog + + 2020-10-03 Todd Rinaldo <to...@cpan.org> 1.15 + * Skip winsize test on Solaris and QNX NTO + * Make function tests more robust + * Work around a header name collission on util.h. This is breaking on recent OSX + +------------------------------------------------------------------- Old: ---- IO-Tty-1.14.tar.gz New: ---- IO-Tty-1.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-IO-Tty.spec ++++++ --- /var/tmp/diff_new_pack.aEXZhT/_old 2020-11-07 21:03:25.833831467 +0100 +++ /var/tmp/diff_new_pack.aEXZhT/_new 2020-11-07 21:03:25.833831467 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-IO-Tty # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: perl-IO-Tty -Version: 1.14 +Version: 1.15 Release: 0 %define cpan_name IO-Tty Summary: Low-level allocate a pseudo-Tty, import constants License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ IO-Tty-1.14.tar.gz -> IO-Tty-1.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/ChangeLog new/IO-Tty-1.15/ChangeLog --- old/IO-Tty-1.14/ChangeLog 2020-01-19 06:22:23.000000000 +0100 +++ new/IO-Tty-1.15/ChangeLog 2020-11-03 23:10:00.000000000 +0100 @@ -1,3 +1,8 @@ +2020-10-03 Todd Rinaldo <to...@cpan.org> 1.15 + * Skip winsize test on Solaris and QNX NTO + * Make function tests more robust + * Work around a header name collission on util.h. This is breaking on recent OSX + 2020-01-18 Todd Rinaldo <to...@cpan.org> 1.14 * Add strict/warnings to Tty.pm * Fix pod errors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/MANIFEST.SKIP new/IO-Tty-1.15/MANIFEST.SKIP --- old/IO-Tty-1.14/MANIFEST.SKIP 2020-01-19 06:02:41.000000000 +0100 +++ new/IO-Tty-1.15/MANIFEST.SKIP 2020-11-03 23:09:03.000000000 +0100 @@ -7,3 +7,4 @@ ^xssubs.c ^Tty/Constant.pm ^Makefile$ +^IO-Tty-\d diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/META.json new/IO-Tty-1.15/META.json --- old/IO-Tty-1.14/META.json 2020-01-19 06:26:16.000000000 +0100 +++ new/IO-Tty-1.15/META.json 2020-11-03 23:10:16.000000000 +0100 @@ -4,7 +4,7 @@ "Roland Giersig <rgier...@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", + "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -37,6 +37,6 @@ "url" : "https://github.com/toddr/IO-Tty" } }, - "version" : "1.14", - "x_serialization_backend" : "JSON::PP version 4.02" + "version" : "1.15", + "x_serialization_backend" : "JSON::PP version 4.04" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/META.yml new/IO-Tty-1.15/META.yml --- old/IO-Tty-1.14/META.yml 2020-01-19 06:26:16.000000000 +0100 +++ new/IO-Tty-1.15/META.yml 2020-11-03 23:10:16.000000000 +0100 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' +generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -19,5 +19,5 @@ - inc resources: repository: https://github.com/toddr/IO-Tty -version: '1.14' +version: '1.15' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/Makefile.PL new/IO-Tty-1.15/Makefile.PL --- old/IO-Tty-1.14/Makefile.PL 2020-01-19 06:25:11.000000000 +0100 +++ new/IO-Tty-1.15/Makefile.PL 2020-11-03 23:10:00.000000000 +0100 @@ -8,6 +8,7 @@ use strict; use IO::File; +use File::Spec; use Config qw(%Config); my %cfg; @@ -34,7 +35,7 @@ my %define; my @libs; -my $Package_Version = '1.14'; # keep this consistent with Tty.pm +my $Package_Version = '1.15'; # keep this consistent with Tty.pm my $Is_Beta = ($Package_Version =~ m/_/); open(SUB, ">xssubs.c") or die "open: $!"; @@ -160,7 +161,7 @@ #if defined (__stub_$f) || defined (__stub___$f) choke me #else -f = $f; +f = $f (); #endif ; @@ -203,6 +204,33 @@ else { $headers{$h} = undef; $define{"-DHAVE_\U$def"} = $h; + if ( $h eq 'util.h' ) { + # Jump through hoops due to a header clash collision with perl + # The following is highly unportable. + + # First, we need to figure out where the C compiler is looking + # for includes. + my $raw_cc_output = qx($cfg{'cc'} $flags -E -Wp,-v -xc /dev/null 2>&1); + my @cc_output = split /\n+/, $raw_cc_output; + my @inc_paths; + foreach my $maybe_inc_path ( @cc_output ) { + next unless $maybe_inc_path =~ /\A\s+/; + my (undef, $inc_path) = split /\s+/, $maybe_inc_path, 3; + push @inc_paths, $inc_path; + } + + # With the list of include directories, try to find util.h + foreach my $inc_path ( @inc_paths ) { + my $abs_header_path = File::Spec->catfile($inc_path, 'util.h'); + next unless -e $abs_header_path; + # Bingo! Now we need to let the C compiler know, so that our XS + # file will include it. + # Again massively non-portable -- we ideally should be using something + # smart to quote the value. + $define{qq<-DUTIL_H_ABS_PATH=\\"$abs_header_path\\">} = $h if $abs_header_path; + last; + } + } print "FOUND.\n"; unlink "headtest_$def.c", "headtest_$def.log"; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/Pty.pm new/IO-Tty-1.15/Pty.pm --- old/IO-Tty-1.14/Pty.pm 2020-01-19 06:25:11.000000000 +0100 +++ new/IO-Tty-1.15/Pty.pm 2020-11-03 23:10:00.000000000 +0100 @@ -10,7 +10,7 @@ use vars qw(@ISA $VERSION); -$VERSION = '1.14'; # keep same as in Tty.pm +$VERSION = '1.15'; # keep same as in Tty.pm @ISA = qw(IO::Handle); eval { local $^W = 0; undef local $SIG{__DIE__}; require IO::Stty }; @@ -155,7 +155,7 @@ =head1 VERSION -1.14 +1.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/Tty.pm new/IO-Tty-1.15/Tty.pm --- old/IO-Tty-1.14/Tty.pm 2020-01-19 06:25:11.000000000 +0100 +++ new/IO-Tty-1.15/Tty.pm 2020-11-03 23:10:00.000000000 +0100 @@ -14,8 +14,8 @@ use vars qw(@ISA $VERSION $XS_VERSION $CONFIG $DEBUG); -$VERSION = '1.14'; -$XS_VERSION = "1.14"; +$VERSION = '1.15'; +$XS_VERSION = "1.15"; @ISA = qw(IO::Handle); eval { local $^W = 0; undef local $SIG{__DIE__}; require IO::Stty }; @@ -119,7 +119,7 @@ =head1 VERSION -1.14 +1.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/Tty.xs new/IO-Tty-1.15/Tty.xs --- old/IO-Tty-1.14/Tty.xs 2020-01-19 05:49:56.000000000 +0100 +++ new/IO-Tty-1.15/Tty.xs 2020-11-03 23:10:00.000000000 +0100 @@ -58,7 +58,9 @@ #endif /* HAVE_UTIL_H */ #ifdef HAVE_UTIL_H -# if ((PATCHLEVEL < 19) && (SUBVERSION < 4)) +# ifdef UTIL_H_ABS_PATH +# include UTIL_H_ABS_PATH +# elif ((PATCHLEVEL < 19) && (SUBVERSION < 4)) # include <util.h> # endif #endif /* HAVE_UTIL_H */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/IO-Tty-1.14/t/pty_get_winsize.t new/IO-Tty-1.15/t/pty_get_winsize.t --- old/IO-Tty-1.14/t/pty_get_winsize.t 2020-01-19 06:13:06.000000000 +0100 +++ new/IO-Tty-1.15/t/pty_get_winsize.t 2020-11-03 23:10:00.000000000 +0100 @@ -4,7 +4,13 @@ use warnings; use Test::More; -plan tests => 1; + +if ( $^O =~ m!^(solaris|nto)$! ) { + plan skip_all => 'Problems on Solaris and QNX with this test'; +} +else { + plan tests => 1; +} use IO::Pty ();