Package init
This commit is contained in:
parent
b5653f5d51
commit
4c8cf91fc5
47
apache-commons-jxpath.spec
Normal file
47
apache-commons-jxpath.spec
Normal file
@ -0,0 +1,47 @@
|
||||
Name: apache-commons-jxpath
|
||||
Version: 1.3
|
||||
Release: 1
|
||||
Summary: Simple XPath interpreter
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/jxpath/
|
||||
BuildArch: noarch
|
||||
Source0: http://www.apache.org/dist/commons/jxpath/source/commons-jxpath-%{version}-src.tar.gz
|
||||
Patch0: commons-jxpath-mockrunner.patch
|
||||
BuildRequires: maven-local mvn(commons-beanutils:commons-beanutils) mvn(javax.servlet:jsp-api)
|
||||
BuildRequires: mvn(javax.servlet:servlet-api) mvn(jdom:jdom) mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) mvn(xerces:xercesImpl)
|
||||
BuildRequires: mvn(xml-apis:xml-apis)
|
||||
%description
|
||||
Defines a simple interpreter of an expression language called XPath.
|
||||
JXPath applies XPath expressions to graphs of objects of all kinds:
|
||||
JavaBeans, Maps, Servlet contexts, DOM etc, including mixtures thereof.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n commons-jxpath-%{version}-src
|
||||
%patch0 -p1
|
||||
%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",javax.servlet*;resolution:="optional",*</commons.osgi.import>'
|
||||
|
||||
%build
|
||||
%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.jxpath
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Tue Aug 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.3-1
|
||||
- Package init
|
||||
4
apache-commons-jxpath.yaml
Normal file
4
apache-commons-jxpath.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: NA
|
||||
src_repo: NA
|
||||
tag_prefix: NA
|
||||
seperator: NA
|
||||
BIN
commons-jxpath-1.3-src.tar.gz
Normal file
BIN
commons-jxpath-1.3-src.tar.gz
Normal file
Binary file not shown.
47
commons-jxpath-mockrunner.patch
Normal file
47
commons-jxpath-mockrunner.patch
Normal file
@ -0,0 +1,47 @@
|
||||
diff --git a/pom.xml b/pom.xml
|
||||
index 1a4f2c4..f5fa596 100644
|
||||
--- a/pom.xml
|
||||
+++ b/pom.xml
|
||||
@@ -160,42 +160,6 @@ under the License.
|
||||
<version>1.7.0</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
- <dependency>
|
||||
- <groupId>com.mockrunner</groupId>
|
||||
- <artifactId>mockrunner-jdk1.3-j2ee1.3</artifactId>
|
||||
- <version>0.4</version>
|
||||
- <scope>test</scope>
|
||||
- <exclusions>
|
||||
- <exclusion>
|
||||
- <groupId>cglib-nodep</groupId>
|
||||
- <artifactId>cglib-nodep</artifactId>
|
||||
- </exclusion>
|
||||
- <exclusion>
|
||||
- <groupId>jboss</groupId>
|
||||
- <artifactId>jboss-jee</artifactId>
|
||||
- </exclusion>
|
||||
- <exclusion>
|
||||
- <groupId>nekohtml</groupId>
|
||||
- <artifactId>nekohtml</artifactId>
|
||||
- </exclusion>
|
||||
- <exclusion>
|
||||
- <groupId>struts</groupId>
|
||||
- <artifactId>struts</artifactId>
|
||||
- </exclusion>
|
||||
- <exclusion>
|
||||
- <groupId>oro</groupId>
|
||||
- <artifactId>oro</artifactId>
|
||||
- </exclusion>
|
||||
- <exclusion>
|
||||
- <groupId>commons-validator</groupId>
|
||||
- <artifactId>commons-validator</artifactId>
|
||||
- </exclusion>
|
||||
- <exclusion>
|
||||
- <groupId>commons-digester</groupId>
|
||||
- <artifactId>commons-digester</artifactId>
|
||||
- </exclusion>
|
||||
- </exclusions>
|
||||
- </dependency>
|
||||
</dependencies>
|
||||
<reporting>
|
||||
<plugins>
|
||||
Loading…
x
Reference in New Issue
Block a user