Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-FFI-CheckLib for openSUSE:Factory checked in at 2022-09-15 22:57:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-FFI-CheckLib (Old) and /work/SRC/openSUSE:Factory/.perl-FFI-CheckLib.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-FFI-CheckLib" Thu Sep 15 22:57:40 2022 rev:5 rq:1003442 version:0.29 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-FFI-CheckLib/perl-FFI-CheckLib.changes 2021-05-20 19:24:54.341980551 +0200 +++ /work/SRC/openSUSE:Factory/.perl-FFI-CheckLib.new.2083/perl-FFI-CheckLib.changes 2022-09-15 22:57:44.084968804 +0200 @@ -1,0 +2,10 @@ +Sun Sep 11 03:06:13 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 0.29 + see /usr/share/doc/packages/perl-FFI-CheckLib/Changes + + 0.29 2022-09-10 01:46:05 -0600 + - Handle Windows DLLs using underscores instead of dashes in version + numbers (gh#44, gh#45, shawnlaffan++) + +------------------------------------------------------------------- Old: ---- FFI-CheckLib-0.28.tar.gz New: ---- FFI-CheckLib-0.29.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-FFI-CheckLib.spec ++++++ --- /var/tmp/diff_new_pack.YALkfi/_old 2022-09-15 22:57:44.664970441 +0200 +++ /var/tmp/diff_new_pack.YALkfi/_new 2022-09-15 22:57:44.668970453 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-FFI-CheckLib # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,10 +18,10 @@ %define cpan_name FFI-CheckLib Name: perl-FFI-CheckLib -Version: 0.28 +Version: 0.29 Release: 0 -Summary: Check that a library is available for FFI License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Check that a library is available for FFI URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml @@ -30,9 +30,9 @@ BuildRequires: perl-macros BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(Test2::API) >= 1.302015 -BuildRequires: perl(Test2::Require::EnvVar) >= 0.000060 -BuildRequires: perl(Test2::Require::Module) >= 0.000060 -BuildRequires: perl(Test2::V0) >= 0.000060 +BuildRequires: perl(Test2::Require::EnvVar) >= 0.000121 +BuildRequires: perl(Test2::Require::Module) >= 0.000121 +BuildRequires: perl(Test2::V0) >= 0.000121 Requires: perl(List::Util) >= 1.33 %{perl_requires} ++++++ FFI-CheckLib-0.28.tar.gz -> FFI-CheckLib-0.29.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/Changes new/FFI-CheckLib-0.29/Changes --- old/FFI-CheckLib-0.28/Changes 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/Changes 2022-09-10 09:46:09.000000000 +0200 @@ -1,5 +1,9 @@ Revision history for FFI-CheckLib +0.29 2022-09-10 01:46:05 -0600 + - Handle Windows DLLs using underscores instead of dashes in version + numbers (gh#44, gh#45, shawnlaffan++) + 0.28 2021-05-16 15:10:34 -0600 - Avoid undef warning from File::Spec->catpath (gh#30, gh#33) - The alien option now works in fallback mode; if one or more of the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/INSTALL new/FFI-CheckLib-0.29/INSTALL --- old/FFI-CheckLib-0.28/INSTALL 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/INSTALL 2022-09-10 09:46:09.000000000 +0200 @@ -21,8 +21,11 @@ ## Manual installation -As a last resort, you can manually install it. Download the tarball, untar it, -install configure prerequisites (see below), then build it: +As a last resort, you can manually install it. If you have not already +downloaded the release tarball, you can find the download link on the module's +MetaCPAN page: https://metacpan.org/pod/FFI::CheckLib + +Untar the tarball, install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/LICENSE new/FFI-CheckLib-0.29/LICENSE --- old/FFI-CheckLib-0.28/LICENSE 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/LICENSE 2022-09-10 09:46:09.000000000 +0200 @@ -292,21 +292,21 @@ - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through - textual modification. + textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright - Holder. + Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for - the package. + the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the - computing community at large as a market that must bear the fee.) + computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they - received it. + received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you @@ -373,7 +373,7 @@ 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/MANIFEST new/FFI-CheckLib-0.29/MANIFEST --- old/FFI-CheckLib-0.28/MANIFEST 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/MANIFEST 2022-09-10 09:46:09.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.025. Changes INSTALL LICENSE @@ -56,6 +56,8 @@ corpus/windows/bin/dinosaur.dll corpus/windows/bin/dromornis_planei-3.0-7-0.dll corpus/windows/bin/libapatosaurus-0.dll +corpus/windows/bin/libapatosaurus_ajax.dll +corpus/windows/bin/libbrevipalatus_mcculloughi_9_1__.dll corpus/windows/bin/libmaiasaura-3-7-0.dll corpus/windows/bin/libthylacaleo_carnifex-3-7___.dll corpus/windows/bincase/LIBbar.DLL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/META.json new/FFI-CheckLib-0.29/META.json --- old/FFI-CheckLib-0.28/META.json 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/META.json 2022-09-10 09:46:09.000000000 +0200 @@ -4,7 +4,7 @@ "Graham Ollis <plice...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -26,12 +26,69 @@ } }, "develop" : { + "recommends" : { + "Dist::Zilla::Plugin::Author::Plicease::Thanks" : "0", + "Dist::Zilla::Plugin::Author::Plicease::Upload" : "0", + "Dist::Zilla::Plugin::MetaNoIndex" : "0", + "Dist::Zilla::Plugin::RemovePrereqs" : "0", + "Dist::Zilla::PluginBundle::Author::Plicease" : "2.47", + "Perl::Critic::Policy::BuiltinFunctions::ProhibitBooleanGrep" : "0", + "Perl::Critic::Policy::BuiltinFunctions::ProhibitStringySplit" : "0", + "Perl::Critic::Policy::BuiltinFunctions::ProhibitVoidGrep" : "0", + "Perl::Critic::Policy::BuiltinFunctions::ProhibitVoidMap" : "0", + "Perl::Critic::Policy::ClassHierarchies::ProhibitExplicitISA" : "0", + "Perl::Critic::Policy::ClassHierarchies::ProhibitOneArgBless" : "0", + "Perl::Critic::Policy::CodeLayout::ProhibitHardTabs" : "0", + "Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespace" : "0", + "Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines" : "0", + "Perl::Critic::Policy::ControlStructures::ProhibitLabelsWithSpecialBlockNames" : "0", + "Perl::Critic::Policy::ControlStructures::ProhibitMutatingListFunctions" : "0", + "Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode" : "0", + "Perl::Critic::Policy::Freenode::ArrayAssignAref" : "0", + "Perl::Critic::Policy::Freenode::BarewordFilehandles" : "0", + "Perl::Critic::Policy::Freenode::ConditionalDeclarations" : "0", + "Perl::Critic::Policy::Freenode::ConditionalImplicitReturn" : "0", + "Perl::Critic::Policy::Freenode::DeprecatedFeatures" : "0", + "Perl::Critic::Policy::Freenode::DiscouragedModules" : "0", + "Perl::Critic::Policy::Freenode::DollarAB" : "0", + "Perl::Critic::Policy::Freenode::Each" : "0", + "Perl::Critic::Policy::Freenode::IndirectObjectNotation" : "0", + "Perl::Critic::Policy::Freenode::LexicalForeachIterator" : "0", + "Perl::Critic::Policy::Freenode::LoopOnHash" : "0", + "Perl::Critic::Policy::Freenode::ModPerl" : "0", + "Perl::Critic::Policy::Freenode::OpenArgs" : "0", + "Perl::Critic::Policy::Freenode::OverloadOptions" : "0", + "Perl::Critic::Policy::Freenode::POSIXImports" : "0", + "Perl::Critic::Policy::Freenode::PackageMatchesFilename" : "0", + "Perl::Critic::Policy::Freenode::PreferredAlternatives" : "0", + "Perl::Critic::Policy::Freenode::StrictWarnings" : "0", + "Perl::Critic::Policy::Freenode::Threads" : "0", + "Perl::Critic::Policy::Freenode::WarningsSwitch" : "0", + "Perl::Critic::Policy::Freenode::WhileDiamondDefaultAssignment" : "0", + "Perl::Critic::Policy::InputOutput::ProhibitBarewordFileHandles" : "0", + "Perl::Critic::Policy::InputOutput::ProhibitJoinedReadline" : "0", + "Perl::Critic::Policy::InputOutput::ProhibitTwoArgOpen" : "0", + "Perl::Critic::Policy::Miscellanea::ProhibitFormats" : "0", + "Perl::Critic::Policy::Miscellanea::ProhibitUselessNoCritic" : "0", + "Perl::Critic::Policy::Modules::ProhibitConditionalUseStatements" : "0", + "Perl::Critic::Policy::Modules::RequireNoMatchVarsWithUseEnglish" : "0", + "Perl::Critic::Policy::Objects::ProhibitIndirectSyntax" : "0", + "Perl::Critic::Policy::RegularExpressions::ProhibitUselessTopic" : "0", + "Perl::Critic::Policy::Subroutines::ProhibitNestedSubs" : "0", + "Perl::Critic::Policy::ValuesAndExpressions::ProhibitLeadingZeros" : "0", + "Perl::Critic::Policy::ValuesAndExpressions::ProhibitMixedBooleanOperators" : "0", + "Perl::Critic::Policy::ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator" : "0", + "Perl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator" : "0", + "Perl::Critic::Policy::Variables::ProhibitPerl4PackageNames" : "0", + "Perl::Critic::Policy::Variables::ProhibitUnusedVariables" : "0", + "Software::License::Perl_5" : "0" + }, "requires" : { "FindBin" : "0", "Perl::Critic" : "0", - "Test2::Require::Module" : "0.000060", + "Test2::Require::Module" : "0.000121", "Test2::Tools::PerlCritic" : "0", - "Test2::V0" : "0.000060", + "Test2::V0" : "0.000121", "Test::CPAN::Changes" : "0", "Test::EOL" : "0", "Test::Fixme" : "0.07", @@ -54,9 +111,9 @@ "test" : { "requires" : { "Test2::API" : "1.302015", - "Test2::Require::EnvVar" : "0.000060", - "Test2::Require::Module" : "0.000060", - "Test2::V0" : "0.000060", + "Test2::Require::EnvVar" : "0.000121", + "Test2::Require::Module" : "0.000121", + "Test2::V0" : "0.000121", "perl" : "5.006" } } @@ -74,17 +131,19 @@ }, "x_IRC" : "irc://irc.perl.org/#native" }, - "version" : "0.28", + "version" : "0.29", "x_contributors" : [ "Graham Ollis <plice...@cpan.org>", "Bakkiaraj Murugesan (bakkiaraj)", "Dan Book (grinnz, DBOOK)", "Ilya Pavlov (Ilya, ILUX)", "Shawn Laffan (SLAFFAN)", - "Petr Pisar (ppisar)" + "Petr P\u00edsa\u0159 (ppisar)", + "Michael R. Davis (MRDVT)", + "Shawn Laffan (SLAFFAN)" ], - "x_generated_by_perl" : "v5.33.9", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.26", + "x_generated_by_perl" : "v5.37.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.30", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later", "x_use_unsafe_inc" : 0 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/META.yml new/FFI-CheckLib-0.29/META.yml --- old/FFI-CheckLib-0.28/META.yml 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/META.yml 2022-09-10 09:46:09.000000000 +0200 @@ -4,15 +4,15 @@ - 'Graham Ollis <plice...@cpan.org>' build_requires: Test2::API: '1.302015' - Test2::Require::EnvVar: '0.000060' - Test2::Require::Module: '0.000060' - Test2::V0: '0.000060' + Test2::Require::EnvVar: '0.000121' + Test2::Require::Module: '0.000121' + Test2::V0: '0.000121' perl: '5.006' configure_requires: ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -29,15 +29,17 @@ bugtracker: https://github.com/PerlFFI/FFI-CheckLib/issues homepage: https://metacpan.org/pod/FFI::CheckLib repository: git://github.com/PerlFFI/FFI-CheckLib.git -version: '0.28' +version: '0.29' x_contributors: - 'Graham Ollis <plice...@cpan.org>' - 'Bakkiaraj Murugesan (bakkiaraj)' - 'Dan Book (grinnz, DBOOK)' - 'Ilya Pavlov (Ilya, ILUX)' - 'Shawn Laffan (SLAFFAN)' - - 'Petr Pisar (ppisar)' -x_generated_by_perl: v5.33.9 + - 'Petr P??sa?? (ppisar)' + - 'Michael R. Davis (MRDVT)' + - 'Shawn Laffan (SLAFFAN)' +x_generated_by_perl: v5.37.2 x_serialization_backend: 'YAML::Tiny version 1.73' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' x_use_unsafe_inc: 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/Makefile.PL new/FFI-CheckLib-0.29/Makefile.PL --- old/FFI-CheckLib-0.28/Makefile.PL 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/Makefile.PL 2022-09-10 09:46:09.000000000 +0200 @@ -5,7 +5,7 @@ exit; } } -# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.63. +# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.71. use strict; use warnings; use 5.006; @@ -29,11 +29,11 @@ }, "TEST_REQUIRES" => { "Test2::API" => "1.302015", - "Test2::Require::EnvVar" => "0.000060", - "Test2::Require::Module" => "0.000060", - "Test2::V0" => "0.000060" + "Test2::Require::EnvVar" => "0.000121", + "Test2::Require::Module" => "0.000121", + "Test2::V0" => "0.000121" }, - "VERSION" => "0.28", + "VERSION" => "0.29", "test" => { "TESTS" => "t/*.t" } @@ -42,9 +42,9 @@ my %FallbackPrereqs = ( "List::Util" => "1.33", "Test2::API" => "1.302015", - "Test2::Require::EnvVar" => "0.000060", - "Test2::Require::Module" => "0.000060", - "Test2::V0" => "0.000060" + "Test2::Require::EnvVar" => "0.000121", + "Test2::Require::Module" => "0.000121", + "Test2::V0" => "0.000121" ); unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/README new/FFI-CheckLib-0.29/README --- old/FFI-CheckLib-0.28/README 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/README 2022-09-10 09:46:09.000000000 +0200 @@ -4,7 +4,7 @@ VERSION - version 0.28 + version 0.29 SYNOPSIS @@ -186,7 +186,7 @@ [version 0.17] - my $path = where($name); + my $path = which($name); Return the path to the first library that matches the given name. @@ -306,7 +306,11 @@ Shawn Laffan (SLAFFAN) - Petr Pisar (ppisar) + Petr P??sa?? (ppisar) + + Michael R. Davis (MRDVT) + + Shawn Laffan (SLAFFAN) COPYRIGHT AND LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/author.yml new/FFI-CheckLib-0.29/author.yml --- old/FFI-CheckLib-0.28/author.yml 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/author.yml 2022-09-10 09:46:09.000000000 +0200 @@ -17,9 +17,10 @@ - SLAFFAN - libyaml - Petr - - Pisar + - P??sa?? - ppisar - UX + - MRDVT pod_coverage: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/corpus/windows/bin/libapatosaurus_ajax.dll new/FFI-CheckLib-0.29/corpus/windows/bin/libapatosaurus_ajax.dll --- old/FFI-CheckLib-0.28/corpus/windows/bin/libapatosaurus_ajax.dll 1970-01-01 01:00:00.000000000 +0100 +++ new/FFI-CheckLib-0.29/corpus/windows/bin/libapatosaurus_ajax.dll 2022-09-10 09:46:09.000000000 +0200 @@ -0,0 +1,5 @@ +apatosaurus +1.2.3 +apatosaurus_init +apatosaurus_new +apatosaurus_delete diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/corpus/windows/bin/libbrevipalatus_mcculloughi_9_1__.dll new/FFI-CheckLib-0.29/corpus/windows/bin/libbrevipalatus_mcculloughi_9_1__.dll --- old/FFI-CheckLib-0.28/corpus/windows/bin/libbrevipalatus_mcculloughi_9_1__.dll 1970-01-01 01:00:00.000000000 +0100 +++ new/FFI-CheckLib-0.29/corpus/windows/bin/libbrevipalatus_mcculloughi_9_1__.dll 2022-09-10 09:46:09.000000000 +0200 @@ -0,0 +1,5 @@ +dinosaur +1.2.3 +dinosaur_init +dinosaur_new +dinosaur_delete diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/dist.ini new/FFI-CheckLib-0.29/dist.ini --- old/FFI-CheckLib-0.28/dist.ini 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/dist.ini 2022-09-10 09:46:09.000000000 +0200 @@ -3,7 +3,7 @@ license = Perl_5 copyright_holder = Graham Ollis copyright_year = 2014-2018 -version = 0.28 +version = 0.29 [@Author::Plicease] :version = 2.47 @@ -45,7 +45,9 @@ contributor = Dan Book (grinnz, DBOOK) contributor = Ilya Pavlov (Ilya, ILUX) contributor = Shawn Laffan (SLAFFAN) -contributor = Petr Pisar (ppisar) +contributor = Petr P??sa?? (ppisar) +contributor = Michael R. Davis (MRDVT) +contributor = Shawn Laffan (SLAFFAN) [MetaNoIndex] directory = corpus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/lib/FFI/CheckLib.pm new/FFI-CheckLib-0.29/lib/FFI/CheckLib.pm --- old/FFI-CheckLib-0.28/lib/FFI/CheckLib.pm 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/lib/FFI/CheckLib.pm 2022-09-10 09:46:09.000000000 +0200 @@ -23,7 +23,7 @@ ); # ABSTRACT: Check that a library is available for FFI -our $VERSION = '0.28'; # VERSION +our $VERSION = '0.29'; # VERSION our $system_path = []; @@ -65,9 +65,9 @@ } elsif($os eq 'MSWin32') { - # handle cases like libgeos-3-7-0___.dll and libgtk-2.0-0.dll - $pattern = [ qr{^(?:lib)?(\w+?)(?:-([0-9-\.]+))?_*\.dll$}i ]; - $version_split = qr/\-/; + # handle cases like libgeos-3-7-0___.dll, libproj_9_1.dll and libgtk-2.0-0.dll + $pattern = [ qr{^(?:lib)?(\w+?)(?:[_-]([0-9\-\._]+))?_*\.dll$}i ]; + $version_split = qr/[_\-]/; } elsif($os eq 'darwin') { @@ -406,7 +406,7 @@ =head1 VERSION -version 0.28 +version 0.29 =head1 SYNOPSIS @@ -595,7 +595,7 @@ [version 0.17] - my $path = where($name); + my $path = which($name); Return the path to the first library that matches the given name. @@ -721,7 +721,11 @@ Shawn Laffan (SLAFFAN) -Petr Pisar (ppisar) +Petr P??sa?? (ppisar) + +Michael R. Davis (MRDVT) + +Shawn Laffan (SLAFFAN) =head1 COPYRIGHT AND LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/FFI-CheckLib-0.28/t/ffi_checklib__os_mswin32.t new/FFI-CheckLib-0.29/t/ffi_checklib__os_mswin32.t --- old/FFI-CheckLib-0.28/t/ffi_checklib__os_mswin32.t 2021-05-16 23:10:36.000000000 +0200 +++ new/FFI-CheckLib-0.29/t/ffi_checklib__os_mswin32.t 2022-09-10 09:46:09.000000000 +0200 @@ -69,6 +69,23 @@ }; +subtest 'lib with name like libname_1_2.dll' => sub { + my($path) = find_lib( lib => 'brevipalatus_mcculloughi' ); + ok -r $path, "path = $path is readable"; + + my $path2 = find_lib( lib => 'brevipalatus_mcculloughi' ); + is $path, $path2, 'scalar context'; + +}; + +subtest 'lib with name like libname_ext.dll' => sub { + my($path) = find_lib( lib => 'apatosaurus_ajax' ); + ok -r $path, "path = $path is readable"; + + my $path2 = find_lib( lib => 'apatosaurus_ajax' ); + is $path, $path2, 'scalar context'; + +}; sub p {