Use javadoc_package macro
This commit is contained in:
parent
2a3af29787
commit
1a3c171dc4
@ -30,11 +30,7 @@ loading of components or otherwise represent a 'container'
|
|||||||
can benefit from the classloading control provided by
|
can benefit from the classloading control provided by
|
||||||
classworlds.
|
classworlds.
|
||||||
|
|
||||||
%package javadoc
|
%{?javadoc_package}
|
||||||
Summary: Javadoc for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
API documentation for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
@ -48,10 +44,7 @@ API documentation for %{name}.
|
|||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc LICENSE.txt LICENSE-2.0.txt
|
%license LICENSE.txt LICENSE-2.0.txt
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
|
||||||
%doc LICENSE.txt LICENSE-2.0.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-2
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-2
|
||||||
|
Loading…
Reference in New Issue
Block a user