Use javadoc_package macro
This commit is contained in:
parent
82fea3a572
commit
372139ac20
14
cdi-api.spec
14
cdi-api.spec
@ -1,7 +1,3 @@
|
|||||||
|
|
||||||
%global namedreltag .NOTHING
|
|
||||||
%global namedversion %{version}%{?namedreltag}
|
|
||||||
|
|
||||||
Name: cdi-api
|
Name: cdi-api
|
||||||
Version: 1.2
|
Version: 1.2
|
||||||
Release: 9%{?dist}
|
Release: 9%{?dist}
|
||||||
@ -26,11 +22,7 @@ BuildRequires: mvn(org.testng:testng::jdk15:)
|
|||||||
%description
|
%description
|
||||||
APIs for JSR-299: Contexts and Dependency Injection for Java EE
|
APIs for JSR-299: Contexts and Dependency Injection for Java EE
|
||||||
|
|
||||||
%package javadoc
|
%{?javadoc_package}
|
||||||
Summary: Javadoc for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
This package contains the API documentation for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n cdi-%{version}
|
%setup -q -n cdi-%{version}
|
||||||
@ -60,10 +52,6 @@ cd api
|
|||||||
%license spec/src/main/doc/license-asl2.%{adoc}
|
%license spec/src/main/doc/license-asl2.%{adoc}
|
||||||
%license spec/src/main/doc/license-jcp.%{adoc}
|
%license spec/src/main/doc/license-jcp.%{adoc}
|
||||||
|
|
||||||
%files javadoc -f api/.mfiles-javadoc
|
|
||||||
%license spec/src/main/doc/license-asl2.%{adoc}
|
|
||||||
%license spec/src/main/doc/license-jcp.%{adoc}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-9
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-9
|
||||||
- Mass rebuild for javapackages-tools 201901
|
- Mass rebuild for javapackages-tools 201901
|
||||||
|
Loading…
Reference in New Issue
Block a user