From 1a3c171dc425c9de26e835261a5f74a0cc1693a2 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 28 Jun 2019 11:19:00 +0200 Subject: [PATCH] Use javadoc_package macro --- plexus-classworlds.spec | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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