Generate javadoc package automatically

Signed-off-by: Mikolaj Izdebski <mizdebsk@redhat.com>
This commit is contained in:
Mikolaj Izdebski 2018-02-14 20:54:57 +01:00
parent 29bf3cda60
commit 6c017ce9c3

View File

@ -1,6 +1,6 @@
Name: plexus-languages
Version: 0.9.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Plexus Languages
License: ASL 2.0
URL: https://github.com/codehaus-plexus/plexus-languages
@ -27,11 +27,7 @@ BuildRequires: objectweb-asm
Plexus Languages is a set of Plexus components that maintain shared
language features.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
API documentation for %{name}.
%{?javadoc_package}
%prep
%setup -q -n plexus-languages-plexus-languages-%{version}
@ -52,10 +48,10 @@ ln -sf $(find-jar objectweb-asm/asm) plexus-java/src/test/resources/jar.descript
%files -f .mfiles
%license LICENSE-2.0.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE-2.0.txt
%changelog
* Wed Feb 14 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-4
- Generate javadoc package automatically
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild