Modernize spec
This commit is contained in:
parent
b548c68ae7
commit
5256ca2e5b
@ -1,14 +1,16 @@
|
||||
Name: perl-File-ReadBackwards
|
||||
Version: 1.05
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
Summary: Read a file backwards by lines
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/File-ReadBackwards
|
||||
Source0: https://cpan.metacpan.org/authors/id/U/UR/URI/File-ReadBackwards-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Fcntl)
|
||||
@ -31,13 +33,11 @@ interface.
|
||||
%setup -q -n File-ReadBackwards-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
@ -49,6 +49,9 @@ make test
|
||||
%{_mandir}/man3/File::ReadBackwards.3pm*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 19 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-18
|
||||
- Modernize spec
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.05-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user