Modernize spec file

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

@ -12,15 +12,13 @@ Version: 0.80
Release: 8%{?dist} Release: 8%{?dist}
Summary: Generic archive extracting mechanism Summary: Generic archive extracting mechanism
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/Archive-Extract URL: https://metacpan.org/release/Archive-Extract
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Extract-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Extract-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
# Run-time: # Run-time:
# Prefer Archive::Tar to suppress warnings, bug #1217352, CPAN RT#104121 # 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} %setup -q -n Archive-Extract-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check

Loading…
Cancel
Save