Make the OSGi dep on servlet APIs optional

This commit is contained in:
Mat Booth 2017-08-31 21:14:04 +01:00
parent 4bfee4629d
commit 31c85052c8

View File

@ -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' \
'<commons.osgi.import>org.apache.commons.beanutils;resolution:="optional",org.jdom*;resolution:="optional",org.w3c.dom;resolution:="optional",*</commons.osgi.import>'
'<commons.osgi.import>org.apache.commons.beanutils;resolution:="optional",org.jdom*;resolution:="optional",org.w3c.dom;resolution:="optional",javax.servlet*;resolution:="optional",*</commons.osgi.import>'
%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 <mat.booth@redhat.com> - 1.3-28
- Make the OSGi dep on servlet APIs optional
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild