From aa396002159195926915c9b49ea8e2ff807cd78a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Jun 28 2019 09:40:57 +0000 Subject: Use javadoc_package macro --- diff --git a/guava.spec b/guava.spec index 56ca407..4c48c64 100644 --- a/guava.spec +++ b/guava.spec @@ -24,11 +24,7 @@ This project is a complete packaging of all the Guava libraries into a single jar. Individual portions of Guava can be used by downloading the appropriate module and its dependencies. -%package javadoc -Summary: Javadoc for %{name} - -%description javadoc -API documentation for %{name}. +%{?javadoc_package} %package testlib Summary: The guava-testlib artifact @@ -90,9 +86,6 @@ find -name '*.java' | xargs sed -ri \ %doc CONTRIBUTORS README* %license COPYING -%files javadoc -f .mfiles-javadoc -%license COPYING - %files testlib -f .mfiles-guava-testlib %changelog