From 50dcc7bdda86e17c237af1802b33d4a425351e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 21 Jul 2020 13:24:54 +0200 Subject: [PATCH] Modernize a spec file --- perl-Unicode-Normalize.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/perl-Unicode-Normalize.spec b/perl-Unicode-Normalize.spec index 7cf56c4..5e644e3 100644 --- a/perl-Unicode-Normalize.spec +++ b/perl-Unicode-Normalize.spec @@ -1,7 +1,7 @@ %global base_version 1.25 Name: perl-Unicode-Normalize Version: 1.27 -Release: 456%{?dist} +Release: 457%{?dist} Summary: Unicode Normalization Forms License: GPL+ or Artistic URL: https://metacpan.org/release/Unicode-Normalize @@ -10,6 +10,7 @@ Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/Unicode-Normalize- Patch0: Unicode-Normalize-1.25-Upgrade-to-1.26.patch # Unbundled from perl 5.32.0 Patch1: Unicode-Normalize-1.25-Upgrade-to-1.27.patch +BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make @@ -41,11 +42,11 @@ Unicode normalization forms as defined in Unicode Standard Annex #15. %patch0 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* @@ -60,6 +61,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Jul 21 2020 Petr Pisar - 1.27-457 +- Modernize a spec file + * Mon Jun 22 2020 Jitka Plesnikova - 1.27-456 - Upgrade to 1.27 as provided in perl-5.32.0