From 946b6d23398a2af21042e7bb3a601fab0f3236f416da05e2513e7d44c4359340 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Thu, 14 Nov 2019 10:30:23 +0000 Subject: [PATCH] Accepting request 748464 from home:adkorte:branches:devel:languages:perl - change architecture to 'noarch' - cleanup spec OBS-URL: https://build.opensuse.org/request/show/748464 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Font-AFM?expand=0&rev=20 --- perl-Font-AFM.changes | 6 ++++++ perl-Font-AFM.spec | 42 +++++++++++++++--------------------------- 2 files changed, 21 insertions(+), 27 deletions(-) diff --git a/perl-Font-AFM.changes b/perl-Font-AFM.changes index c9e2651..afc0763 100644 --- a/perl-Font-AFM.changes +++ b/perl-Font-AFM.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 13 18:26:53 UTC 2019 - Arjen de Korte + +- change architecture to 'noarch' +- cleanup spec + ------------------------------------------------------------------- Wed Feb 27 06:45:02 UTC 2013 - coolo@suse.com diff --git a/perl-Font-AFM.spec b/perl-Font-AFM.spec index 95c1b17..73b9d34 100644 --- a/perl-Font-AFM.spec +++ b/perl-Font-AFM.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Font-AFM # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,55 +12,43 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-Font-AFM -Summary: Interface to Adobe Font Metrics Files -License: Artistic-1.0 or GPL-2.0+ -Group: Development/Libraries/Perl Version: 1.20 Release: 0 -Source: Font-AFM-%{version}.tar.gz -Url: http://cpan.org/authors/id/G/GA/GAAS -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: Interface to Adobe Font Metrics Files +License: Artistic-1.0 OR GPL-2.0-or-later +Group: Development/Libraries/Perl +URL: https://metacpan.org/pod/Font::AFM +Source: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Font-AFM-%{version}.tar.gz +BuildArch: noarch %{perl_requires} -BuildRequires: perl -BuildRequires: perl-macros %description This module implements the Font::AFM class. Objects of this class are initialized from an AFM file and allow you to obtain information about the font and the metrics of the various glyphs in the font. - - -Authors: --------- - Gisle Aas - %prep -%setup -n Font-AFM-%{version} +%setup -q -n Font-AFM-%{version} %build perl Makefile.PL make %{?_smp_mflags} -make test + +%check +make %{?_smp_mflags} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT - -%files +%files -f %{name}.files %defattr(-, root, root) -%dir %{perl_vendorlib}/Font -%{perl_vendorlib}/Font/* -%{perl_vendorarch}/auto/* -%doc %{_mandir}/man?/* %doc README Changes %changelog