From bea4c94ae07ea3950ad528b342449c3e7310a966 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 28 Jun 2019 10:57:39 +0200 Subject: [PATCH] Use javadoc_package macro --- httpcomponents-core.spec | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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