diff --git a/testng.spec b/testng.spec index 1d1dd24..03526ae 100644 --- a/testng.spec +++ b/testng.spec @@ -20,11 +20,10 @@ BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(com.beust:jcommander) -BuildRequires: mvn(com.google.inject:guice) BuildRequires: mvn(com.google.code.findbugs:jsr305) +BuildRequires: mvn(com.google.inject:guice) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.ant:ant) -BuildRequires: mvn(org.apache-extras.beanshell:bsh) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) @@ -61,6 +60,8 @@ find -name *.class -delete rm src/main/java/org/testng/internal/Yaml*.java rm src/main/java/org/testng/Converter.java +%pom_remove_dep :bsh + # missing test deps sed -i -e 's/DEV-SNAPSHOT/%{version}/' src/main/java/org/testng/internal/Version.java