Remove dependency on glassfish

This commit is contained in:
Marian Koncek 2019-09-12 17:24:15 +02:00
parent cbf8d38402
commit f7b3386217

View File

@ -12,8 +12,6 @@ Patch0: commons-jxpath-mockrunner.patch
BuildRequires: maven-local
BuildRequires: mvn(commons-beanutils:commons-beanutils)
BuildRequires: mvn(javax.servlet:jsp-api)
BuildRequires: mvn(javax.servlet:servlet-api)
BuildRequires: mvn(jdom:jdom)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
@ -36,6 +34,13 @@ This package contains the API documentation for %{name}.
%setup -q -n commons-jxpath-%{version}-src
%patch0 -p1
# Remove dependency on glassfish
%pom_remove_dep :servlet-api
%pom_remove_dep :jsp-api
rm src/java/org/apache/commons/jxpath/servlet/*Context*.java
rm src/java/org/apache/commons/jxpath/servlet/*Handler.java
rm src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java
%mvn_file ":{*}" %{name} @1
%mvn_alias : org.apache.commons: