Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
8bb3f00b5c
!21 [sync] PR-20: fix Out of Memory bug on RISCV
From: @openeuler-sync-bot 
Reviewed-by: @DingliZhang 
Signed-off-by: @DingliZhang
2025-04-29 13:59:14 +00:00
李子建
935fa9d8a7 fix Out of Memory bug on RISCV
(cherry picked from commit 1b7c16ad5f09c4f2410c097186b8c73445de69ae)
2025-04-29 18:27:31 +08:00
openeuler-ci-bot
2272b4da08
!17 [sync] PR-14: Update to 1.2.2
From: @openeuler-sync-bot 
Reviewed-by: @DingliZhang 
Signed-off-by: @DingliZhang
2025-04-27 15:16:48 +00:00
starlet-dx
a060a176df Update to 1.2.2
(cherry picked from commit b11563c28f635e944d3a920024cb9e264625b062)
2024-11-05 08:49:12 +08:00
openeuler-ci-bot
77a27678b1
!11 [sync] PR-10: Change mirros.huaweicloud.com to repo.huaweicloud.com
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-09-27 02:35:10 +00:00
caodongxia
7d961173ae Change mirros.huaweicloud.com to repo.huaweicloud.com
(cherry picked from commit ba1ed7aaec7f14a2ab40114439e18ee5711e7cce)
2022-09-26 20:45:34 +08:00
openeuler-ci-bot
50299019eb !5 Change maven repository to huawei cloud
From: @ultra_planet
Reviewed-by: @wangchong1995924
Signed-off-by: @wangchong1995924
2021-07-21 09:37:40 +00:00
lingsheng
02a9aa56d2 Change maven repository to huawei cloud 2021-07-21 17:04:38 +08:00
openeuler-ci-bot
133169678f !1 mxparser package init
From: @jackie_wu123
Reviewed-by: @ultra_planet
Signed-off-by:
2021-04-27 11:49:34 +08:00
jackie_wu
828ec99adf mxparser package init 2021-04-27 09:24:26 +08:00
3 changed files with 74 additions and 0 deletions

BIN
mxparser-1.2.2.tar.gz Normal file

Binary file not shown.

70
mxparser.spec Normal file
View File

@ -0,0 +1,70 @@
Name: mxparser
Version: 1.2.2
Release: 2
License: xpp
Summary: MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork.
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)
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
%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
%build
%if "%_arch" == "riscv64"
export JAVA_TOOL_OPTIONS="-Xmx4g"
%endif
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%doc changes.xml README.md
%files help -f .mfiles-javadoc
%changelog
* Mon Apr 28 2025 lizijian <zijian.oerv@isrc.iscas.ac.cn> - 1.2.2-2
- Enlarge heap size to pass test on RISCV architecture
* 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.
* Mon Sep 26 2022 caodongxia <caodongxia@h-partners.com> - 1.2.1-3
- Change mirros.huaweicloud.com to repo.huaweicloud.com
* Wed Jul 21 2021 lingsheng <lingsheng@huawei.com> - 1.2.1-2
- Change maven repository to huawei cloud
* Tue Apr 13 2021 wutao <wutao61@huawei.com> - 1.2.1-1
- package init

4
mxparser.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: x-stream/mxparser
tag_pattern: "^v-"
seperator: "."