Modernize spec file

f38
Petr Písař 6 years ago
parent 903814c3aa
commit 69bf39a0ee

@ -12,15 +12,13 @@ Version: 0.80
Release: 8%{?dist}
Summary: Generic archive extracting mechanism
License: GPL+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/Archive-Extract
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Extract-%{version}.tar.gz
BuildArch: noarch
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
# Run-time:
# Prefer Archive::Tar to suppress warnings, bug #1217352, CPAN RT#104121
@ -281,12 +279,11 @@ Requires: perl(IO::Uncompress::UnXz)
%setup -q -n Archive-Extract-%{version}
%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/*
%check

Loading…
Cancel
Save