diff --git a/apache-commons-cli.spec b/apache-commons-cli.spec index c3363b7..155b077 100644 --- a/apache-commons-cli.spec +++ b/apache-commons-cli.spec @@ -28,7 +28,11 @@ BuildRequires: mvn(org.mockito:mockito-core) The CLI library provides a simple and easy to use API for working with the command line arguments and options. -%{?javadoc_package} +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +API documentation for %{name}. %prep %autosetup -p1 -C @@ -47,5 +51,7 @@ command line arguments and options. %license LICENSE.txt NOTICE.txt %doc README.md RELEASE-NOTES.txt +%files javadoc -f .mfiles-javadoc + %changelog %autochangelog