forked from pool/cdi-api
This commit is contained in:
parent
df80913d61
commit
4bf1b8f09d
@ -15,9 +15,10 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
%global namedreltag .NOTHING
|
||||
%global namedversion %{version}%{?namedreltag}
|
||||
%bcond_with tests
|
||||
%bcond_without asciidoc
|
||||
Name: cdi-api
|
||||
Version: 1.2
|
||||
@ -34,6 +35,9 @@ BuildRequires: fdupes
|
||||
BuildRequires: glassfish-el-api
|
||||
BuildRequires: javapackages-local
|
||||
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
|
||||
%if %{with asciidoc}
|
||||
BuildRequires: asciidoc
|
||||
@ -63,7 +67,7 @@ cp %{SOURCE1} api/build.xml
|
||||
mkdir -p lib
|
||||
build-jar-repository -s lib glassfish-el-api jboss-interceptors-1.2-api javax.inject
|
||||
pushd api
|
||||
%ant \
|
||||
%{ant} \
|
||||
%if %{without tests}
|
||||
-Dtest.skip=true \
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user