diff --git a/jettison-1.3.7.tar.gz b/jettison-1.3.7.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..490149abd0edf1d4d2f11eb8e91f500111926926 Binary files /dev/null and b/jettison-1.3.7.tar.gz differ diff --git a/jettison-update-woodstox-version.patch b/jettison-update-woodstox-version.patch new file mode 100644 index 0000000000000000000000000000000000000000..a42d64c72ccc235b47eae652e0b76f4262d530c4 --- /dev/null +++ b/jettison-update-woodstox-version.patch @@ -0,0 +1,15 @@ +--- a/pom.xml ++++ b/pom.xml +@@ -26,9 +26,9 @@ + 1.0.1 + + +- woodstox +- wstx-asl +- 3.2.2 ++ org.codehaus.woodstox ++ woodstox-core-asl ++ 4.1.2 + test + + diff --git a/jettison.spec b/jettison.spec new file mode 100644 index 0000000000000000000000000000000000000000..ac0d065e98120112588c8b0b448c68a9956c4efb --- /dev/null +++ b/jettison.spec @@ -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 - 1.3.7-1 +- Package init diff --git a/jettison.yaml b/jettison.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e6c4762d5541348124e4e70b2ec6129ca8a09285 --- /dev/null +++ b/jettison.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/codehaus/jettison +version_control: github +src_repo: codehaus/jettison +tag_prefix: "^jettison-" +seperator: "."