Accepting request 637395 from home:pmonrealgonzalez:branches:devel:languages:perl

- updated to 1.64
   see /usr/share/doc/packages/perl-Archive-Zip/Changes
   1.64 Wed 12 Sep 2018
       - Fix for year 2030
- Cleaned with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/637395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Archive-Zip?expand=0&rev=52
This commit is contained in:
Pedro Monreal Gonzalez 2018-09-24 08:52:49 +00:00 committed by Git OBS Bridge
parent 5c84d103a9
commit 889dfd9bff
2 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Sep 24 08:40:02 UTC 2018 - pmonrealgonzalez@suse.com
- updated to 1.64
see /usr/share/doc/packages/perl-Archive-Zip/Changes
1.64 Wed 12 Sep 2018
- Fix for year 2030
- Cleaned with spec-cleaner
-------------------------------------------------------------------
Sun Sep 23 05:07:41 UTC 2018 - Stephan Kulow <coolo@suse.com>

View File

@ -16,24 +16,23 @@
#
%define cpan_name Archive-Zip
Name: perl-Archive-Zip
Version: 1.64
Release: 0
%define cpan_name Archive-Zip
Summary: Provide an interface to ZIP archive files
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Archive-Zip/
Url: https://metacpan.org/pod/Archive::Zip
Source0: https://cpan.metacpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Compress::Raw::Zlib) >= 2.017
BuildRequires: perl(Test::MockModule)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Compress::Raw::Zlib) >= 2.017
BuildArch: noarch
%{perl_requires}
%description
@ -62,11 +61,11 @@ as if they were files.
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make %{?_smp_mflags} test
%install
%perl_make_install