Use javadoc_package macro

This commit is contained in:
Mikolaj Izdebski 2019-06-28 11:40:57 +02:00
parent d156c60f6a
commit aa39600215

View File

@ -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