From f318a20bea250eef3f24cb0b02bb3728e585176a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Mon, 28 Nov 2022 16:47:57 +0100 Subject: [PATCH] Modernize spec. Convert license to SPDX. Update sources to sha512. --- perl-Font-AFM.spec | 19 ++++++++++++------- sources | 2 +- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/perl-Font-AFM.spec b/perl-Font-AFM.spec index b9ff127..8d5ab92 100644 --- a/perl-Font-AFM.spec +++ b/perl-Font-AFM.spec @@ -1,9 +1,9 @@ Name: perl-Font-AFM Version: 1.20 -Release: 41%{?dist} +Release: 42%{?dist} Summary: Perl interface to Adobe Font Metrics files -License: (GPL+ or Artistic) and Copyright only +License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Font-AFM Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Font-AFM-%{version}.tar.gz @@ -11,7 +11,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch -BuildRequires: make +BuildRequires: %{__make} BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) @@ -31,17 +31,17 @@ sed -i -e 's,Helvetica,NimbusSans-Bold,g' t/afm.t sed -i -e 's,4279,4558,g' t/afm.t %build -%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%{make_install} chmod -R u+w $RPM_BUILD_ROOT/* %check -make test METRICS=%{_fontbasedir}/urw-base35 +%{__make} test METRICS=%{_fontbasedir}/urw-base35 %files @@ -50,6 +50,11 @@ make test METRICS=%{_fontbasedir}/urw-base35 %{_mandir}/man3/Font* %changelog +* Mon Nov 28 2022 Ralf Corsépius - 1.20-42 +- Modernize spec. +- Convert license to SPDX. +- Update sources to sha512. + * Fri Jul 22 2022 Fedora Release Engineering - 1.20-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 10acb5c..3133d9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b14ecf4dc4edbd63940aa354eb13c499 Font-AFM-1.20.tar.gz +SHA512 (Font-AFM-1.20.tar.gz) = 1fc74f0dbbed52937d512465a021148e93b2e0698189a6fc17eb1aa8951c934b0060a0256883118dc2a3a9086025468e0a851706306876568466bf4638fdb618