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