This commit is contained in:
parent
f00e25b928
commit
413a84a65b
@ -125,10 +125,10 @@
|
||||
<attribute name="Bundle-SymbolicName" value="${project.groupId}.${project.artifactId}"/>
|
||||
<attribute name="Bundle-Vendor" value="${project.organization.name}"/>
|
||||
<attribute name="Bundle-Version" value="${bundle.version}"/>
|
||||
<attribute name="Export-Package" value="javax.decorator;version="1.1";uses:="javax.enterprise.inject",javax.enterprise.event;version="1.1";uses:="javax.enterprise.util",javax.enterprise.inject;version="1.1";uses:="javax.enterprise.util,javax.inject",javax.enterprise.util;version="1.1""/>
|
||||
<attribute name="Export-Package" value="javax.decorator;version="1.1";uses:="javax.enterprise.inject",javax.enterprise.context;version="1.1";uses:="javax.inject",javax.enterprise.context.spi;version="1.1",javax.enterprise.event;version="1.1";uses:="javax.enterprise.util",javax.enterprise.inject;version="1.1";uses:="javax.enterprise.context,javax.enterprise.util,javax.inject",javax.enterprise.inject.spi;version="1.1";uses:="javax.el,javax.enterprise.context.spi,javax.enterprise.event,javax.enterprise.inject,javax.interceptor",javax.enterprise.util;version="1.1""/>
|
||||
<attribute name="Implementation-Title" value="${project.name}"/>
|
||||
<attribute name="Implementation-Version" value="${project.version}"/>
|
||||
<attribute name="Import-Package" value="javax.enterprise.inject;version="[1.1,2)",javax.enterprise.util;version="[1.1,2)",javax.inject;version="[1.0,2)""/>
|
||||
<attribute name="Import-Package" value="javax.enterprise.context;version="[1.1,2)",javax.enterprise.context.spi;version="[1.1,2)",javax.enterprise.event;version="[1.1,2)",javax.enterprise.inject;version="[1.1,2)",javax.enterprise.util;version="[1.1,2)",javax.inject;version="[1.0,2)",javax.interceptor;version="[${project.version},2)""/>
|
||||
<attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/>
|
||||
<attribute name="Specification-Title" value="${spec.title}"/>
|
||||
<attribute name="Specification-Version" value="${spec.version}"/>
|
||||
|
@ -31,7 +31,9 @@ BuildRequires: ant
|
||||
BuildRequires: atinject
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: jboss-interceptors-1.2-api
|
||||
Requires: mvn(javax.inject:javax.inject)
|
||||
Requires: mvn(org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -52,8 +54,9 @@ cp %{SOURCE1} build.xml
|
||||
cp %{SOURCE2} LICENSE
|
||||
|
||||
%pom_remove_dep :javax.el-api
|
||||
%pom_remove_dep :javax.interceptor-api
|
||||
rm -rf src/main/java/javax/enterprise/{context/,inject/spi/,inject/se/,inject/Model.java,inject/New.java}
|
||||
|
||||
# Use newer version of interceptors API
|
||||
%pom_change_dep "javax.interceptor:javax.interceptor-api" "org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec"
|
||||
|
||||
%pom_remove_parent
|
||||
popd
|
||||
@ -61,7 +64,7 @@ popd
|
||||
%build
|
||||
pushd api/
|
||||
mkdir -p lib
|
||||
build-jar-repository -s lib javax.inject
|
||||
build-jar-repository -s lib javax.inject jboss-interceptors-1.2-api
|
||||
%{ant} jar javadoc
|
||||
popd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user