diff --git a/apache-commons-jxpath.spec b/apache-commons-jxpath.spec
index 978c0ea..375990b 100644
--- a/apache-commons-jxpath.spec
+++ b/apache-commons-jxpath.spec
@@ -1,6 +1,6 @@
Name: apache-commons-jxpath
Version: 1.3
-Release: 27%{?dist}
+Release: 28%{?dist}
Summary: Simple XPath interpreter
License: ASL 2.0
URL: http://commons.apache.org/jxpath/
@@ -40,7 +40,7 @@ This package contains the API documentation for %{name}.
%mvn_alias : org.apache.commons:
%pom_xpath_inject 'pom:properties' \
- 'org.apache.commons.beanutils;resolution:="optional",org.jdom*;resolution:="optional",org.w3c.dom;resolution:="optional",*'
+ 'org.apache.commons.beanutils;resolution:="optional",org.jdom*;resolution:="optional",org.w3c.dom;resolution:="optional",javax.servlet*;resolution:="optional",*'
%build
# we are skipping tests because we don't have com.mockrunner in repos yet
@@ -56,6 +56,9 @@ This package contains the API documentation for %{name}.
%license LICENSE.txt NOTICE.txt
%changelog
+* Thu Aug 31 2017 Mat Booth - 1.3-28
+- Make the OSGi dep on servlet APIs optional
+
* Wed Jul 26 2017 Fedora Release Engineering - 1.3-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild