jettison/jettison.spec

48 lines
1.5 KiB
RPMSpec
Raw Normal View History

2020-08-19 13:58:52 +08:00
Name: jettison
2023-12-07 17:24:41 +08:00
Version: 1.5.4
2020-08-19 13:58:52 +08:00
Release: 1
Summary: A JSON StAX implementation
License: ASL 2.0
URL: https://github.com/codehaus/jettison
BuildArch: noarch
2023-12-07 17:24:41 +08:00
Source0: https://github.com/codehaus/jettison/archive/refs/tags/%{name}-%{version}.tar.gz
2020-08-19 13:58:52 +08:00
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
2023-12-07 17:24:41 +08:00
%autosetup -n %{name}-%{name}-%{version} -p1
2020-08-19 13:58:52 +08:00
%pom_remove_plugin :maven-release-plugin
2023-12-07 17:24:41 +08:00
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin :maven-enforcer-plugin
2020-08-19 13:58:52 +08:00
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
2023-12-07 17:24:41 +08:00
%license LICENSE
2020-08-19 13:58:52 +08:00
%files javadoc -f .mfiles-javadoc
2023-12-07 17:24:41 +08:00
%license LICENSE
2020-08-19 13:58:52 +08:00
%changelog
2023-12-07 17:24:41 +08:00
* Thu Dec 07 2023 yaoxin <yao_xin001@hoperun.com> - 1.5.4-1
- Upgrade to 1.5.4 for fix cves: CVE-2022-40149,CVE-2022-40150,
CVE-2022-45685,CVE-2022-45693 and CVE-2023-1436
2020-08-19 13:58:52 +08:00
* Sat Aug 1 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.3.7-1
- Package init