Use javadoc_package macro

This commit is contained in:
Mikolaj Izdebski 2019-06-28 13:46:44 +02:00
parent fbefb4ccac
commit 213d7b9ea7

View File

@ -118,14 +118,10 @@ Summary: Bill of Materials for Guice
Guice is a lightweight dependency injection framework for Java 5 Guice is a lightweight dependency injection framework for Java 5
and above. This package provides Bill of Materials module for Guice. and above. This package provides Bill of Materials module for Guice.
%package javadoc %{?javadoc_package}
Summary: API documentation for Guice
%description javadoc
This package provides %{summary}.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
# We don't have struts2 in Fedora yet. # We don't have struts2 in Fedora yet.
%pom_disable_module struts2 extensions %pom_disable_module struts2 extensions
@ -184,10 +180,9 @@ This package provides %{summary}.
%mvn_install %mvn_install
%files -f .mfiles-guice %files -f .mfiles-guice
%dir %{_javadir}/guice
%files -n guice-parent -f .mfiles-guice-parent %files -n guice-parent -f .mfiles-guice-parent
%doc COPYING %license COPYING
%files -n guice-assistedinject -f .mfiles-guice-assistedinject %files -n guice-assistedinject -f .mfiles-guice-assistedinject
%files -n guice-extensions -f .mfiles-extensions-parent %files -n guice-extensions -f .mfiles-extensions-parent
@ -200,10 +195,6 @@ This package provides %{summary}.
%files -n guice-bom -f .mfiles-guice-bom %files -n guice-bom -f .mfiles-guice-bom
%files javadoc -f .mfiles-javadoc
%doc COPYING
%changelog %changelog
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.2-2 * Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.2-2
- Mass rebuild for javapackages-tools 201901 - Mass rebuild for javapackages-tools 201901