Moderinze spec file

This commit is contained in:
Petr Písař 2017-12-19 11:58:26 +01:00
parent dc0c5eb008
commit ec76d7463c

View File

@ -2,8 +2,6 @@ Name: perl-Archive-Zip
Version: 1.59
Release: 6%{?dist}
Summary: Perl library for accessing Zip archives
Group: Development/Libraries
# lib/Archive/Zip/Member.pm: (GPL+ or Artistic) and BSD
# (The _mapPermissionsToUnix() comments are
# copied from BSD-licensed unzip)
@ -12,15 +10,15 @@ License: (GPL+ or Artistic) and BSD
URL: http://search.cpan.org/dist/Archive-Zip/
Source0: http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(:VERSION) >= 5.4
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
# Run-time
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(Compress::Raw::Zlib)
@ -80,13 +78,12 @@ done
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
@ -104,6 +101,7 @@ make test
%changelog
* Tue Dec 19 2017 Petr Pisar <ppisar@redhat.com> - 1.59-6
- Fix shellbang in examples/selfex.pl documentation (CPAN RT#123913)
- Moderinze spec file
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild