diff --git a/jsr-305.spec b/jsr-305.spec index 26055bd..f115098 100644 --- a/jsr-305.spec +++ b/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 - 0-0.23.20130910svn