diff --git a/google-guice.spec b/google-guice.spec index 50cfcae..16d7186 100644 --- a/google-guice.spec +++ b/google-guice.spec @@ -39,16 +39,12 @@ BuildRequires: cglib BuildRequires: fdupes BuildRequires: glassfish-servlet-api BuildRequires: guava -BuildRequires: jarjar BuildRequires: java-devel >= 1.7 BuildRequires: javapackages-local BuildRequires: objectweb-asm BuildRequires: slf4j -Requires: mvn(aopalliance:aopalliance) -Requires: mvn(cglib:cglib) Requires: mvn(com.google.guava:guava) Requires: mvn(javax.inject:javax.inject) -Requires: mvn(org.ow2.asm:asm) BuildArch: noarch %description @@ -235,9 +231,12 @@ done mkdir -p lib/build mkdir -p extensions/servlet/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 pushd build/no_aop +%pom_remove_dep :aopalliance core +%pom_remove_dep :asm core +%pom_remove_dep :cglib core %{ant} -Dversion=%{version} jar popd %{ant} -Dversion=%{version} dist javadoc