diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 1590381..94329c6 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -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 - 4.4.11-2