Use javadoc_package macro

This commit is contained in:
Mikolaj Izdebski 2019-06-29 13:32:31 +02:00
parent 1cc7f8ab12
commit 0aef973c52

View File

@ -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 <mizdebsk@redhat.com> - 1:3.6.1-4