!2 update to 1.2.0

Merge pull request !2 from duyyb/master
This commit is contained in:
openeuler-ci-bot 2020-01-21 16:34:58 +08:00 committed by Gitee
commit dcc3c57dff
3 changed files with 24 additions and 17 deletions

Binary file not shown.

BIN
jaxen-1.2.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,38 +1,41 @@
Name: jaxen
Version: 1.1.6
Release: 19
Summary: An XPath engine written in Java
License: BSD and W3C
URL: http://jaxen.codehaus.org/
BuildArch: noarch
Source0: http://dist.codehaus.org/jaxen/distributions/jaxen-%{version}-src.tar.gz
Version: 1.2.0
Release: 3
License: BSD
URL: https://github.com/jaxen-xpath/jaxen
Source0: %{url}/archive/v%{version}/jaxen-1.2.0.tar.gz
BuildRequires: maven-local mvn(jdom:jdom) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) mvn(org.sonatype.oss:oss-parent:pom:)
BuildRequires: mvn(xerces:xercesImpl) mvn(xml-apis:xml-apis) mvn(dom4j:dom4j)
BuildArch: noarch
BuildRequires: maven-local mvn(jdom:jdom) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) mvn(xerces:xercesImpl)
BuildRequires: mvn(xml-apis:xml-apis) mvn(dom4j:dom4j)
%description
Jaxen is an open source XPath library written in Java. It is adaptable
to many different object models and also possible to write adapters that treat non-XML trees
%package devel
Summary: Samples for jaxen
Requires: jaxen = %{version}-%{release}
Provides: jaxen-demo
Obsoletes: jaxen-demo
%package devel
Summary: Samples for jaxen
Requires: jaxen = %{version}-%{release}
Provides: jaxen-demo
Obsoletes: jaxen-demo
%description devel
%description devel
This package provides samples files for jaxen.
%package javadoc
Summary: Javadoc for jaxen
%description javadoc
This package provide javadoc file for jaxen.
%prep
%setup -q
%prep
%autosetup -n %{name}-%{version} -p1
%pom_remove_plugin :maven-source-plugin
rm -rf src/java/main/org/jaxen/xom
%pom_remove_dep xom:xom
@ -41,6 +44,7 @@ rm -rf src/java/main/org/jaxen/xom
%build
%mvn_build -f
%install
%mvn_install
@ -57,5 +61,8 @@ cp -pr src/java/samples/* %{buildroot}%{_datadir}/jaxen/samples
%doc LICENSE.txt
%changelog
* Tue Jan 21 2020 duyeyu <dueyu@huawei.com> - 1.2.0-3
- update to 1.2.0-3
* Sat Dec 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-19
- Package init