Modernize spec file
This commit is contained in:
parent
c099afc6b1
commit
8828f736ca
@ -1,20 +1,19 @@
|
||||
Name: perl-MIME-Base64
|
||||
Version: 3.15
|
||||
Release: 396%{?dist}
|
||||
Release: 397%{?dist}
|
||||
Summary: Encoding and decoding of Base64 and quoted-printable strings
|
||||
# Base.xs: (GPL+ or Artistic) and MIT (Bellcore's part)
|
||||
# Other files: GPL+ or Artistic
|
||||
License: (GPL+ or Artistic) and MIT
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/MIME-Base64/
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-%{version}.tar.gz
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# Run-time:
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(strict)
|
||||
@ -37,13 +36,12 @@ encoder/decoder. These encoding methods are specified in RFC 2045 - MIME
|
||||
%setup -q -n MIME-Base64-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
@ -56,6 +54,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 07 2018 Petr Pisar <ppisar@redhat.com> - 3.15-397
|
||||
- Modernize spec file
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-396
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user