This commit is contained in:
parent
c4d6f4a10e
commit
d599c790e9
@ -15,9 +15,10 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%bcond_with tests
|
|
||||||
%global namedreltag .NOTHING
|
%global namedreltag .NOTHING
|
||||||
%global namedversion %{version}%{?namedreltag}
|
%global namedversion %{version}%{?namedreltag}
|
||||||
|
%bcond_with tests
|
||||||
%bcond_without asciidoc
|
%bcond_without asciidoc
|
||||||
Name: cdi-api
|
Name: cdi-api
|
||||||
Version: 1.2
|
Version: 1.2
|
||||||
@ -34,6 +35,9 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: glassfish-el-api
|
BuildRequires: glassfish-el-api
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: jboss-interceptors-1.2-api
|
BuildRequires: jboss-interceptors-1.2-api
|
||||||
|
Requires: mvn(javax.el:javax.el-api)
|
||||||
|
Requires: mvn(javax.inject:javax.inject)
|
||||||
|
Requires: mvn(org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with asciidoc}
|
%if %{with asciidoc}
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
@ -63,7 +67,7 @@ cp %{SOURCE1} api/build.xml
|
|||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib glassfish-el-api jboss-interceptors-1.2-api javax.inject
|
build-jar-repository -s lib glassfish-el-api jboss-interceptors-1.2-api javax.inject
|
||||||
pushd api
|
pushd api
|
||||||
%ant \
|
%{ant} \
|
||||||
%if %{without tests}
|
%if %{without tests}
|
||||||
-Dtest.skip=true \
|
-Dtest.skip=true \
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user