From c2b902c2e3fb408ff458e631dd0d1e34ca6a0f8a Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sun, 17 May 2020 08:55:11 +0200 Subject: [PATCH] Use NO_AOP guice variant --- testng.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testng.spec b/testng.spec index 03526ae..c40bc4b 100644 --- a/testng.spec +++ b/testng.spec @@ -21,7 +21,7 @@ BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(com.beust:jcommander) BuildRequires: mvn(com.google.code.findbugs:jsr305) -BuildRequires: mvn(com.google.inject:guice) +BuildRequires: mvn(com.google.inject:guice::no_aop:) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.ant:ant) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) @@ -62,6 +62,8 @@ rm src/main/java/org/testng/Converter.java %pom_remove_dep :bsh +%pom_xpath_inject "pom:dependency[pom:artifactId='guice']" "no_aop" + # missing test deps sed -i -e 's/DEV-SNAPSHOT/%{version}/' src/main/java/org/testng/internal/Version.java