diff --git a/maven.spec b/maven.spec index 156e8f3..b7dddba 100644 --- a/maven.spec +++ b/maven.spec @@ -134,11 +134,7 @@ Provides: bundled(slf4j) = %{bundled_slf4j_version} %description lib Core part of Apache Maven that can be used as a library. -%package javadoc -Summary: API documentation for %{name} - -%description javadoc -%{summary}. +%{?javadoc_package} %prep %setup -q -n apache-%{name}-%{version} @@ -253,9 +249,6 @@ update-alternatives --install %{_bindir}/mvn mvn %{homedir}/bin/mvn %{?maven_alt %ghost %{_mandir}/man1/mvn.1.gz %ghost %{_mandir}/man1/mvnDebug.1.gz -%files javadoc -f .mfiles-javadoc -%license LICENSE NOTICE - %changelog * Thu May 30 2019 Mikolaj Izdebski - 1:3.6.1-4