Accepting request 748727 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/748727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Devel-CheckLib?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2019-11-17 18:21:12 +00:00 committed by Git OBS Bridge
commit 7333e10019
4 changed files with 22 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Nov 14 09:24:33 UTC 2019 - <timueller+perl@suse.de>
- 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

View File

@ -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