Fix optional deps in OSGi manifest
This commit is contained in:
parent
a9058f2621
commit
36dfd88734
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
||||
commons-jxpath-1.3-src.tar.gz
|
||||
/commons-jxpath-1.3-src.tar.gz
|
||||
/.build-*.log
|
||||
/noarch
|
||||
/*.src.rpm
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: apache-commons-jxpath
|
||||
Version: 1.3
|
||||
Release: 22%{?dist}
|
||||
Release: 23%{?dist}
|
||||
Summary: Simple XPath interpreter
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/jxpath/
|
||||
@ -39,6 +39,9 @@ This package contains the API documentation for %{name}.
|
||||
%mvn_file ":{*}" %{name} @1
|
||||
%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>'
|
||||
|
||||
%build
|
||||
# we are skipping tests because we don't have com.mockrunner in repos yet
|
||||
%mvn_build -f
|
||||
@ -53,6 +56,9 @@ This package contains the API documentation for %{name}.
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Fri Apr 24 2015 Mat Booth <mat.booth@redhat.com> - 1.3-23
|
||||
- Fix optional deps in OSGi manifest
|
||||
|
||||
* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-22
|
||||
- Cleanup spec file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user