Modernize a spec file
This commit is contained in:
parent
a47ecbe38c
commit
6bbd11bfe6
@ -1,12 +1,13 @@
|
|||||||
Name: perl-MIME-Base64
|
Name: perl-MIME-Base64
|
||||||
Version: 3.15
|
Version: 3.15
|
||||||
Release: 456%{?dist}
|
Release: 457%{?dist}
|
||||||
Summary: Encoding and decoding of Base64 and quoted-printable strings
|
Summary: Encoding and decoding of Base64 and quoted-printable strings
|
||||||
# Base.xs: (GPL+ or Artistic) and MIT (Bellcore's part)
|
# Base.xs: (GPL+ or Artistic) and MIT (Bellcore's part)
|
||||||
# Other files: GPL+ or Artistic
|
# Other files: GPL+ or Artistic
|
||||||
License: (GPL+ or Artistic) and MIT
|
License: (GPL+ or Artistic) and MIT
|
||||||
URL: https://metacpan.org/release/MIME-Base64
|
URL: https://metacpan.org/release/MIME-Base64
|
||||||
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/MIME-Base64-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/MIME-Base64-%{version}.tar.gz
|
||||||
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -36,11 +37,11 @@ encoder/decoder. These encoding methods are specified in RFC 2045 - MIME
|
|||||||
%setup -q -n MIME-Base64-%{version}
|
%setup -q -n MIME-Base64-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
%{make_install}
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
@ -54,6 +55,9 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 21 2020 Petr Pisar <ppisar@redhat.com> - 3.15-457
|
||||||
|
- Modernize a spec file
|
||||||
|
|
||||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.15-456
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 3.15-456
|
||||||
- Increase release to favour standalone package
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user