Treat CREDITS and NOTICE as additional license files

This commit is contained in:
Benjamin A. Beasley 2024-04-05 10:38:47 -04:00
parent 21057a2f3f
commit 0b91f9cbc1

View File

@ -97,7 +97,7 @@ rm -vf samples/configure samples/configure.in
rm -rf %{buildroot}%{_prefix}/share/doc/xalan-c/api
install -t '%{buildroot}%{_docdir}/%{name}-doc' -D -p -m 0644 \
CREDITS KEYS NOTICE README.md docs/*.md
KEYS README.md docs/*.md
cp -rvp docs/images/ samples/ '%{buildroot}%{_docdir}/%{name}-doc'
hardlink -c -v '%{buildroot}%{_docdir}/%{name}-doc'
@ -107,10 +107,8 @@ hardlink -c -v '%{buildroot}%{_docdir}/%{name}-doc'
%files
%license LICENSE
%doc CREDITS
%license CREDITS LICENSE NOTICE
%doc KEYS
%doc NOTICE
%doc README.md
%{_bindir}/Xalan
@ -133,7 +131,7 @@ hardlink -c -v '%{buildroot}%{_docdir}/%{name}-doc'
%files doc
%license LICENSE
%license CREDITS LICENSE NOTICE
%{_docdir}/%{name}-doc/