diff --git a/Devel-CheckLib-1.13.tar.gz b/Devel-CheckLib-1.13.tar.gz deleted file mode 100644 index 0f9031f..0000000 --- a/Devel-CheckLib-1.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:24adfd908705dfac4bb320711763f37126b75cf54b3566c2c27c7cdef9c429a8 -size 15450 diff --git a/Devel-CheckLib-1.14.tar.gz b/Devel-CheckLib-1.14.tar.gz new file mode 100644 index 0000000..9db7ff4 --- /dev/null +++ b/Devel-CheckLib-1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f21c5e299ad3ce0fdc0cb0f41378dca85a70e8d6c9a7599f0e56a957200ec294 +size 15562 diff --git a/perl-Devel-CheckLib.changes b/perl-Devel-CheckLib.changes index 78e6ff9..43feb93 100644 --- a/perl-Devel-CheckLib.changes +++ b/perl-Devel-CheckLib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Nov 14 09:24:33 UTC 2019 - + +- updated to 1.14 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.14 2019-11-12 Use Capture::Tiny instead of Capture::Output + ------------------------------------------------------------------- Mon Jun 4 05:18:12 UTC 2018 - coolo@suse.com diff --git a/perl-Devel-CheckLib.spec b/perl-Devel-CheckLib.spec index 4283437..7984206 100644 --- a/perl-Devel-CheckLib.spec +++ b/perl-Devel-CheckLib.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Devel-CheckLib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Devel-CheckLib -Version: 1.13 +Version: 1.14 Release: 0 %define cpan_name Devel-CheckLib -Summary: Check That a Library Is Available +Summary: Check that a library is available License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Devel-CheckLib/ +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MA/MATTN/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(IO::CaptureOutput) >= 1.0801 +BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Mock::Config) >= 0.02 +BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description @@ -39,14 +40,14 @@ and its headers are available. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install