Remove dependency on glassfish
This commit is contained in:
parent
56abb30a81
commit
f57e065afa
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user