Use %license unconditionally

This commit is contained in:
Paul Howarth 2023-04-05 17:34:17 +01:00
parent 9d835698d9
commit 0b39b5e873

View File

@ -83,11 +83,7 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%endif %endif
%files %files
%if 0%{?_licensedir:1}
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README %doc Changes README
%{perl_vendorlib}/Dist/ %{perl_vendorlib}/Dist/
%{_mandir}/man3/Dist::CheckConflicts.3* %{_mandir}/man3/Dist::CheckConflicts.3*