From fc3d13d53538c2911e280c537d658d6d755eb0fab8454a4ae1b0d2e7877e3df9 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Tue, 18 May 2021 09:23:28 +0000 Subject: [PATCH] Accepting request 893994 from devel:languages:perl:autoupdate - updated to 0.28 see /usr/share/doc/packages/perl-FFI-CheckLib/Changes 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 Aliens are not installed then they will be ignored, previously this module would throw whatever exception was produced by require (gh#23, gh#34) - Move to PerlFFI org on GitHub (previously this dist lived in Perl5-FFI) (gh#24) OBS-URL: https://build.opensuse.org/request/show/893994 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FFI-CheckLib?expand=0&rev=18 --- FFI-CheckLib-0.27.tar.gz | 3 --- FFI-CheckLib-0.28.tar.gz | 3 +++ perl-FFI-CheckLib.changes | 14 ++++++++++++++ perl-FFI-CheckLib.spec | 17 ++++++++--------- 4 files changed, 25 insertions(+), 12 deletions(-) delete mode 100644 FFI-CheckLib-0.27.tar.gz create mode 100644 FFI-CheckLib-0.28.tar.gz diff --git a/FFI-CheckLib-0.27.tar.gz b/FFI-CheckLib-0.27.tar.gz deleted file mode 100644 index 42f6c14..0000000 --- a/FFI-CheckLib-0.27.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d442747c24fcd8560107ed9deb98265838f17bc850cb7237f8b6d4821992d74 -size 29371 diff --git a/FFI-CheckLib-0.28.tar.gz b/FFI-CheckLib-0.28.tar.gz new file mode 100644 index 0000000..993862f --- /dev/null +++ b/FFI-CheckLib-0.28.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf377ce735b332c41f600ca6c5e87af30db6c3787f9b67d50a245d1ebe6fc350 +size 32051 diff --git a/perl-FFI-CheckLib.changes b/perl-FFI-CheckLib.changes index dd9f624..db0f01a 100644 --- a/perl-FFI-CheckLib.changes +++ b/perl-FFI-CheckLib.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 17 03:06:58 UTC 2021 - Tina Müller + +- updated to 0.28 + see /usr/share/doc/packages/perl-FFI-CheckLib/Changes + + 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 + Aliens are not installed then they will be ignored, previously this + module would throw whatever exception was produced by require (gh#23, gh#34) + - Move to PerlFFI org on GitHub (previously this dist lived in Perl5-FFI) + (gh#24) + ------------------------------------------------------------------- Tue May 12 03:07:50 UTC 2020 - Tina Müller diff --git a/perl-FFI-CheckLib.spec b/perl-FFI-CheckLib.spec index 2a76efe..f171ed9 100644 --- a/perl-FFI-CheckLib.spec +++ b/perl-FFI-CheckLib.spec @@ -1,7 +1,7 @@ # # spec file for package perl-FFI-CheckLib # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,24 @@ # -Name: perl-FFI-CheckLib -Version: 0.27 -Release: 0 %define cpan_name FFI-CheckLib +Name: perl-FFI-CheckLib +Version: 0.28 +Release: 0 Summary: Check that a library is available for FFI License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl 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 BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl 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 +Requires: perl(List::Util) >= 1.33 %{perl_requires} %description @@ -45,12 +45,12 @@ dynamic library, which can be feed directly into FFI::Platypus or another FFI system. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -61,7 +61,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc author.yml Changes example README %license LICENSE