Use javadoc_package macro
This commit is contained in:
parent
da140b1c89
commit
7413613fa6
@ -33,11 +33,7 @@ reusable components for hibernate, form processing, jndi, i18n,
|
|||||||
velocity, etc. Plexus also includes an application server which
|
velocity, etc. Plexus also includes an application server which
|
||||||
is like a J2EE application server, without all the baggage.
|
is like a J2EE application server, without all the baggage.
|
||||||
|
|
||||||
%package javadoc
|
%{?javadoc_package}
|
||||||
Summary: Javadoc for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
Javadoc for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
@ -71,10 +67,7 @@ cp %{SOURCE1} .
|
|||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc NOTICE.txt LICENSE-2.0.txt
|
%license NOTICE.txt LICENSE-2.0.txt
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
|
||||||
%doc NOTICE.txt LICENSE-2.0.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.0-2
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.0-2
|
||||||
|
Loading…
Reference in New Issue
Block a user