Use %license unconditionally

epel9 imports/e9/perl-DateTime-Calendar-Mayan-0.0601-34.el9
Paul Howarth 4 years ago
parent 74906a65f2
commit 1989a60771

@ -7,9 +7,9 @@ URL: https://metacpan.org/release/DateTime-Calendar-Mayan
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Calendar-Mayan-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: make
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
@ -48,11 +48,7 @@ find %{buildroot} -type f -name .packlist -delete
make test
%files
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README Todo
%{perl_vendorlib}/DateTime/
%{_mandir}/man3/DateTime::Calendar::Mayan.3*

Loading…
Cancel
Save