Use javadoc_package macro
This commit is contained in:
parent
d156c60f6a
commit
aa39600215
@ -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
|
into a single jar. Individual portions of Guava can be used
|
||||||
by downloading the appropriate module and its dependencies.
|
by downloading the appropriate module and its dependencies.
|
||||||
|
|
||||||
%package javadoc
|
%{?javadoc_package}
|
||||||
Summary: Javadoc for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
API documentation for %{name}.
|
|
||||||
|
|
||||||
%package testlib
|
%package testlib
|
||||||
Summary: The guava-testlib artifact
|
Summary: The guava-testlib artifact
|
||||||
@ -90,9 +86,6 @@ find -name '*.java' | xargs sed -ri \
|
|||||||
%doc CONTRIBUTORS README*
|
%doc CONTRIBUTORS README*
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
|
||||||
%license COPYING
|
|
||||||
|
|
||||||
%files testlib -f .mfiles-guava-testlib
|
%files testlib -f .mfiles-guava-testlib
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user