diff --git a/plexus-classworlds.spec b/plexus-classworlds.spec index f8c6730..037d86c 100644 --- a/plexus-classworlds.spec +++ b/plexus-classworlds.spec @@ -30,11 +30,7 @@ loading of components or otherwise represent a 'container' can benefit from the classloading control provided by classworlds. -%package javadoc -Summary: Javadoc for %{name} - -%description javadoc -API documentation for %{name}. +%{?javadoc_package} %prep %setup -q -n %{name}-%{name}-%{version} @@ -48,10 +44,7 @@ API documentation for %{name}. %mvn_install %files -f .mfiles -%doc LICENSE.txt LICENSE-2.0.txt - -%files javadoc -f .mfiles-javadoc -%doc LICENSE.txt LICENSE-2.0.txt +%license LICENSE.txt LICENSE-2.0.txt %changelog * Fri May 24 2019 Mikolaj Izdebski - 2.6.0-2