From 8828f736cac03cace536c77ba78077d3e7489c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 7 Mar 2018 10:44:36 +0100 Subject: [PATCH] Modernize spec file --- perl-MIME-Base64.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/perl-MIME-Base64.spec b/perl-MIME-Base64.spec index a16177f..7e0e1de 100644 --- a/perl-MIME-Base64.spec +++ b/perl-MIME-Base64.spec @@ -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 - 3.15-397 +- Modernize spec file + * Thu Feb 08 2018 Fedora Release Engineering - 3.15-396 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild