diff --git a/classloader-leak-test-framework.spec b/classloader-leak-test-framework.spec index 6dfc59a..60c7a37 100644 --- a/classloader-leak-test-framework.spec +++ b/classloader-leak-test-framework.spec @@ -15,8 +15,6 @@ BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.bcel:bcel) %if %{with tests} BuildRequires: mvn(javax.el:el-api) -BuildRequires: mvn(com.sun.faces:jsf-api) -BuildRequires: mvn(com.sun.faces:jsf-impl) %endif %description @@ -33,9 +31,13 @@ This package contains the API documentation for %{name}. %prep %setup -q -n classloader-leak-prevention-%{name}-%{version} + rm -r classloader-leak-prevention cp -r %{name}/* . +%pom_remove_dep com.sun.faces:jsf-api +%pom_remove_dep com.sun.faces:jsf-impl + %build %if %{with tests} %mvn_build