Use javadoc_package macro

This commit is contained in:
Mikolaj Izdebski 2019-06-28 10:57:39 +02:00
parent 34985f5711
commit bea4c94ae0

View File

@ -32,12 +32,7 @@ appropriate for high latency scenarios where raw data throughput is
less important than the ability to handle thousands of simultaneous less important than the ability to handle thousands of simultaneous
HTTP connections in a resource efficient manner. HTTP connections in a resource efficient manner.
%package javadoc %{?javadoc_package}
Summary: API documentation for %{name}
%description javadoc
%{summary}.
%prep %prep
%setup -q %setup -q
@ -88,10 +83,8 @@ done
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles
%doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt %license LICENSE.txt NOTICE.txt
%doc README.txt RELEASE_NOTES.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%changelog %changelog
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.11-2 * Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.11-2