Use javadoc_package macro
This commit is contained in:
parent
e290714dbf
commit
c2fba0c2cf
12
jsr-305.spec
12
jsr-305.spec
@ -20,16 +20,12 @@ Source1: NOTICE-CC-BY.txt
|
||||
|
||||
BuildRequires: maven-local
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc documentation for %{name}
|
||||
|
||||
%description
|
||||
This package contains reference implementations, test cases, and other
|
||||
documents for Java Specification Request 305: Annotations for Software Defect
|
||||
Detection.
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
%{?javadoc_package}
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
@ -49,10 +45,8 @@ cp %{SOURCE1} NOTICE-CC-BY
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc ri/LICENSE NOTICE-CC-BY sampleUses
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%doc ri/LICENSE NOTICE-CC-BY
|
||||
%license ri/LICENSE NOTICE-CC-BY
|
||||
%doc sampleUses
|
||||
|
||||
%changelog
|
||||
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0-0.23.20130910svn
|
||||
|
Loading…
Reference in New Issue
Block a user