Use %license unconditionally

This commit is contained in:
Paul Howarth 2023-05-09 11:08:38 +01:00
parent 79910e0b5c
commit 8cdea65948

View File

@ -58,11 +58,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make test make test
%files %files
%if 0%{?_licensedir:1}
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README %doc Changes README
%{perl_vendorlib}/Path/ %{perl_vendorlib}/Path/
%{_mandir}/man3/Path::Class.3* %{_mandir}/man3/Path::Class.3*