Package init
This commit is contained in:
parent
61f57332d1
commit
f7da827646
BIN
jettison-1.3.7.tar.gz
Normal file
BIN
jettison-1.3.7.tar.gz
Normal file
Binary file not shown.
15
jettison-update-woodstox-version.patch
Normal file
15
jettison-update-woodstox-version.patch
Normal 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
45
jettison.spec
Normal 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
5
jettison.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/codehaus/jettison
|
||||||
|
version_control: github
|
||||||
|
src_repo: codehaus/jettison
|
||||||
|
tag_prefix: "jettison-"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user