2021-04-27 09:24:26 +08:00
|
|
|
Name: mxparser
|
2024-08-21 11:28:04 +08:00
|
|
|
Version: 1.2.2
|
2025-04-28 17:45:36 +08:00
|
|
|
Release: 2
|
2024-08-21 11:28:04 +08:00
|
|
|
License: xpp
|
2021-04-27 09:24:26 +08:00
|
|
|
Summary: MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork.
|
2024-08-21 11:28:04 +08:00
|
|
|
URL: https://github.com/x-stream/%{name}
|
|
|
|
|
Source0: %{url}/archive/v-%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(xmlpull:xmlpull)
|
2021-04-27 09:24:26 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Help documents for mxparser
|
|
|
|
|
%description help
|
|
|
|
|
Help documents for mxparser.
|
|
|
|
|
|
|
|
|
|
%prep
|
2024-08-21 11:28:04 +08:00
|
|
|
%autosetup -n %{name}-v-%{version} -p1
|
|
|
|
|
%pom_remove_plugin :maven-changes-plugin .
|
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin .
|
|
|
|
|
%pom_remove_plugin :maven-source-plugin .
|
|
|
|
|
|
|
|
|
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.source' 1.8
|
|
|
|
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.target' 1.8
|
|
|
|
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.source' 1.8
|
|
|
|
|
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.target' 1.8
|
2021-04-27 09:24:26 +08:00
|
|
|
|
|
|
|
|
%build
|
2025-04-28 17:45:36 +08:00
|
|
|
|
|
|
|
|
%if "%_arch" == "riscv64"
|
|
|
|
|
export JAVA_TOOL_OPTIONS="-Xmx4g"
|
|
|
|
|
%endif
|
|
|
|
|
|
2024-08-21 11:28:04 +08:00
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
2021-04-27 09:24:26 +08:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_install
|
|
|
|
|
|
2024-08-21 11:28:04 +08:00
|
|
|
%files -f .mfiles
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%doc changes.xml README.md
|
2021-04-27 09:24:26 +08:00
|
|
|
|
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
|
|
|
|
|
|
%changelog
|
2025-04-28 17:45:36 +08:00
|
|
|
* Mon Apr 28 2025 lizijian <zijian.oerv@isrc.iscas.ac.cn> - 1.2.2-2
|
|
|
|
|
- Enlarge heap size to pass test on RISCV architecture
|
|
|
|
|
|
2024-08-21 11:28:04 +08:00
|
|
|
* Wed Aug 21 2024 yaoxin <yao_xin001@hoperun.com> - 1.2.2-1
|
|
|
|
|
- Update to 1.2.2:
|
|
|
|
|
* XML declaration must produce a START_DOCUMENT event.
|
|
|
|
|
* Fix processing of PIs.
|
|
|
|
|
* Unit test with subsequent dashes in a PI.
|
|
|
|
|
* Replace project license Indiana 1.1.1 with explicit license 1.2 of MXParser.
|
|
|
|
|
|
2022-09-26 20:22:06 +08:00
|
|
|
* Mon Sep 26 2022 caodongxia <caodongxia@h-partners.com> - 1.2.1-3
|
|
|
|
|
- Change mirros.huaweicloud.com to repo.huaweicloud.com
|
|
|
|
|
|
2021-07-21 17:04:38 +08:00
|
|
|
* Wed Jul 21 2021 lingsheng <lingsheng@huawei.com> - 1.2.1-2
|
|
|
|
|
- Change maven repository to huawei cloud
|
|
|
|
|
|
2021-04-27 09:24:26 +08:00
|
|
|
* Tue Apr 13 2021 wutao <wutao61@huawei.com> - 1.2.1-1
|
|
|
|
|
- package init
|