Use javadoc_package macro

This commit is contained in:
Mikolaj Izdebski 2019-06-28 13:42:24 +02:00
parent 083b7f554f
commit d6c6666a27

View File

@ -26,15 +26,10 @@ BuildRequires: mvn(org.sonatype.spice:spice-parent:pom:)
%description
Plexus Security Dispatcher Component
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
API documentation for %{name}.
%{?javadoc_package}
%prep
%setup -q
%patch0 -p1
cp %{SOURCE1} .
@ -50,9 +45,6 @@ cp %{SOURCE1} .
%files -f .mfiles
%license LICENSE-2.0.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE-2.0.txt
%changelog
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-27
- Mass rebuild for javapackages-tools 201901