From 4e17f117929182083a4f39b419079d490d626c5b Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Sat, 20 May 2023 11:04:45 +0800 Subject: [PATCH] update os-maven-plugin to support loongarch64 --- ...-maven-plugin-to-support-loongarch64.patch | 25 +++++++++++++++++++ flink.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0004-update-os-maven-plugin-to-support-loongarch64.patch diff --git a/0004-update-os-maven-plugin-to-support-loongarch64.patch b/0004-update-os-maven-plugin-to-support-loongarch64.patch new file mode 100644 index 0000000..f1bb0ab --- /dev/null +++ b/0004-update-os-maven-plugin-to-support-loongarch64.patch @@ -0,0 +1,25 @@ +From 2dd203742d090984f6212c1692a877087b73fa8d Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Sat, 20 May 2023 11:03:23 +0800 +Subject: [PATCH] update os-maven-plugin to support loongarch64 + +--- + flink-formats/flink-parquet/pom.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/flink-formats/flink-parquet/pom.xml b/flink-formats/flink-parquet/pom.xml +index c5f1a143..320c8783 100644 +--- a/flink-formats/flink-parquet/pom.xml ++++ b/flink-formats/flink-parquet/pom.xml +@@ -209,7 +209,7 @@ under the License. + + kr.motd.maven + os-maven-plugin +- 1.5.0.Final ++ 1.7.1 + + + +-- +2.27.0 + diff --git a/flink.spec b/flink.spec index b5b45d4..17bd35f 100644 --- a/flink.spec +++ b/flink.spec @@ -11,7 +11,7 @@ Name: flink Version: 1.12.7 -Release: 2 +Release: 3 Summary: Stateful Computations over Data Streams License: Apache License v2.0 URL: https://github.com/apache/%{name} @@ -25,6 +25,7 @@ Source5: https://maven.aliyun.com/repository/public/io/confluent/kafka-clients/5 Patch0: 0001-add-npm.hw-repo.patch Patch1: 0002-fix-compilation-failure.patch Patch2: 0003-Skip-flink-avro-confluent-registry-test.patch +Patch3: 0004-update-os-maven-plugin-to-support-loongarch64.patch BuildRequires: java-1.8.0-openjdk-devel maven Requires: java-1.8.0-openjdk @@ -69,6 +70,9 @@ find %{buildroot}/opt/apache-%{name}-%{version}/ -type f -name '*.py' | xargs -i %license LICENSE %changelog +* Mon May 8 2023 Wenlong Zhang - 1.12.7-3 +- add loongarch64 support + * Wed Jan 05 2022 weidong - 1.12.7-2 - Fix compilation failure. -- Gitee