Fridrich Strba 2022-04-27 11:52:15 +00:00 committed by Git OBS Bridge
parent 59162fb888
commit a19e203712

View File

@ -39,16 +39,12 @@ BuildRequires: cglib
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: glassfish-servlet-api BuildRequires: glassfish-servlet-api
BuildRequires: guava BuildRequires: guava
BuildRequires: jarjar
BuildRequires: java-devel >= 1.7 BuildRequires: java-devel >= 1.7
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: objectweb-asm BuildRequires: objectweb-asm
BuildRequires: slf4j BuildRequires: slf4j
Requires: mvn(aopalliance:aopalliance)
Requires: mvn(cglib:cglib)
Requires: mvn(com.google.guava:guava) Requires: mvn(com.google.guava:guava)
Requires: mvn(javax.inject:javax.inject) Requires: mvn(javax.inject:javax.inject)
Requires: mvn(org.ow2.asm:asm)
BuildArch: noarch BuildArch: noarch
%description %description
@ -235,9 +231,12 @@ done
mkdir -p lib/build mkdir -p lib/build
mkdir -p extensions/servlet/lib/build mkdir -p extensions/servlet/lib/build
build-jar-repository -s -p lib/build \ build-jar-repository -s -p lib/build \
guava javax.inject glassfish-servlet-api aopalliance cglib objectweb-asm aqute-bnd jarjar guava javax.inject glassfish-servlet-api aopalliance cglib objectweb-asm aqute-bnd
%{ant} clean.all no_aop %{ant} clean.all no_aop
pushd build/no_aop pushd build/no_aop
%pom_remove_dep :aopalliance core
%pom_remove_dep :asm core
%pom_remove_dep :cglib core
%{ant} -Dversion=%{version} jar %{ant} -Dversion=%{version} jar
popd popd
%{ant} -Dversion=%{version} dist javadoc %{ant} -Dversion=%{version} dist javadoc