!1 Package init

Merge pull request !1 from jeff200902/master
This commit is contained in:
openeuler-ci-bot 2020-09-01 19:28:21 +08:00 committed by Gitee
commit 363320ac31
4 changed files with 65 additions and 0 deletions

BIN
jettison-1.3.7.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,15 @@
--- a/pom.xml
+++ b/pom.xml
@@ -26,9 +26,9 @@
<version>1.0.1</version>
</dependency>
<dependency>
- <groupId>woodstox</groupId>
- <artifactId>wstx-asl</artifactId>
- <version>3.2.2</version>
+ <groupId>org.codehaus.woodstox</groupId>
+ <artifactId>woodstox-core-asl</artifactId>
+ <version>4.1.2</version>
<scope>test</scope>
</dependency>
</dependencies>

45
jettison.spec Normal file
View File

@ -0,0 +1,45 @@
Name: jettison
Version: 1.3.7
Release: 1
Summary: A JSON StAX implementation
License: ASL 2.0
URL: https://github.com/codehaus/jettison
BuildArch: noarch
Source0: https://github.com/codehaus/jettison/archive/%{name}-%{version}.tar.gz
Patch0: %{name}-update-woodstox-version.patch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus:codehaus-parent:pom:)
BuildRequires: mvn(org.codehaus.woodstox:woodstox-core-asl) mvn(stax:stax-api)
%description
Jettison is a collection of Java APIs (like STaX and DOM) which read
and write JSON. This allows nearly transparent enablement of JSON based
web services in services frameworks like CXF or XML serialization
frameworks like XStream.
%package javadoc
Summary: Javadocs for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%patch0 -p1
%pom_xpath_remove pom:build/pom:extensions
%pom_remove_plugin :maven-release-plugin
%pom_xpath_remove pom:Private-Package
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc src/main/resources/META-INF/LICENSE
%files javadoc -f .mfiles-javadoc
%doc src/main/resources/META-INF/LICENSE
%changelog
* Sat Aug 1 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.3.7-1
- Package init

5
jettison.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/codehaus/jettison
version_control: github
src_repo: codehaus/jettison
tag_prefix: "^jettison-"
seperator: "."