From e200610c45ba68d8c598ffa7f92849501c5e93bb Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sat, 8 Apr 2023 14:37:34 +0100 Subject: [PATCH] Use SPDX-format license tag, use %license unconditionally --- perl-ExtUtils-Config.rpmlintrc | 2 -- perl-ExtUtils-Config.spec | 9 +++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/perl-ExtUtils-Config.rpmlintrc b/perl-ExtUtils-Config.rpmlintrc index 2acfad4..26d8515 100644 --- a/perl-ExtUtils-Config.rpmlintrc +++ b/perl-ExtUtils-Config.rpmlintrc @@ -1,4 +1,2 @@ -from Config import * - # False positive addFilter("unexpanded-macro %description -l C %Config") diff --git a/perl-ExtUtils-Config.spec b/perl-ExtUtils-Config.spec index 5aacf5b..47cad80 100644 --- a/perl-ExtUtils-Config.spec +++ b/perl-ExtUtils-Config.spec @@ -2,7 +2,7 @@ Name: perl-ExtUtils-Config Version: 0.008 Release: 28%{?dist} Summary: A wrapper for perl's configuration -License: GPL+ or Artistic +License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/ExtUtils-Config Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Config-%{version}.tar.gz BuildArch: noarch @@ -25,7 +25,8 @@ BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::More) >= 0.88 -# Runtime +# Dependencies +# (none) %description ExtUtils::Config is an abstraction around the %%Config hash. @@ -46,11 +47,7 @@ find %{buildroot} -type f -name .packlist -delete make test %files -%if 0%{?_licensedir:1} %license LICENSE -%else -%doc LICENSE -%endif %doc Changes README %{perl_vendorlib}/ExtUtils/ %{_mandir}/man3/ExtUtils::Config.3*