Accepting request 893995 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/893995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-FFI-CheckLib?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-05-20 17:24:38 +00:00 committed by Git OBS Bridge
commit 746ac25a43
4 changed files with 25 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d442747c24fcd8560107ed9deb98265838f17bc850cb7237f8b6d4821992d74
size 29371

3
FFI-CheckLib-0.28.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf377ce735b332c41f600ca6c5e87af30db6c3787f9b67d50a245d1ebe6fc350
size 32051

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon May 17 03:06:58 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- 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 <timueller+perl@suse.de> Tue May 12 03:07:50 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-FFI-CheckLib # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 %define cpan_name FFI-CheckLib
Name: perl-FFI-CheckLib
Version: 0.28
Release: 0
Summary: Check that a library is available for FFI Summary: Check that a library is available for FFI
License: Artistic-1.0 OR GPL-1.0-or-later 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/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Test2::API) >= 1.302015 BuildRequires: perl(Test2::API) >= 1.302015
BuildRequires: perl(Test2::Require::EnvVar) >= 0.000060 BuildRequires: perl(Test2::Require::EnvVar) >= 0.000060
BuildRequires: perl(Test2::Require::Module) >= 0.000060 BuildRequires: perl(Test2::Require::Module) >= 0.000060
BuildRequires: perl(Test2::V0) >= 0.000060 BuildRequires: perl(Test2::V0) >= 0.000060
Requires: perl(List::Util) >= 1.33
%{perl_requires} %{perl_requires}
%description %description
@ -45,12 +45,12 @@ dynamic library, which can be feed directly into FFI::Platypus or another
FFI system. FFI system.
%prep %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 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@ -61,7 +61,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc author.yml Changes example README %doc author.yml Changes example README
%license LICENSE %license LICENSE