Use javadoc_package macro
This commit is contained in:
parent
2f49f6c8d7
commit
90e111900f
@ -23,11 +23,7 @@ BuildRequires: mvn(org.sonatype.spice:spice-parent:pom:)
|
|||||||
%description
|
%description
|
||||||
Plexus Cipher: encryption/decryption Component
|
Plexus Cipher: encryption/decryption Component
|
||||||
|
|
||||||
%package javadoc
|
%{?javadoc_package}
|
||||||
Summary: Javadoc for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
API documentation for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -51,10 +47,7 @@ API documentation for %{name}.
|
|||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc LICENSE.txt NOTICE.txt
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
|
||||||
%doc LICENSE.txt NOTICE.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-15
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-15
|
||||||
|
Loading…
Reference in New Issue
Block a user