diff --git a/0020-add-loongarch64-support-for-pulsar.patch b/0020-add-loongarch64-support-for-pulsar.patch new file mode 100644 index 0000000000000000000000000000000000000000..699b910809e11ba6a7dcbdc23885afef703ed173 --- /dev/null +++ b/0020-add-loongarch64-support-for-pulsar.patch @@ -0,0 +1,48 @@ +From 791c24fc85904fb2e9e9bef287b03e6cc5a9f340 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Thu, 17 Apr 2025 10:52:11 +0800 +Subject: [PATCH] add loongarch64 support for pulsar + +--- + pom.xml | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +diff --git a/pom.xml b/pom.xml +index 3ee138c..c8f9413 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -132,7 +132,7 @@ flexible messaging model and an intuitive client API. + 0.5.0 + 3.19.6 + ${protobuf3.version} +- 1.55.3 ++ 1.54.2 + 1.41.0 + 0.26.0 + ${grpc.version} +@@ -256,7 +256,7 @@ flexible messaging model and an intuitive client API. + 3.1.2 + 4.0.2 + 3.4.3 +- 1.4.1.Final ++ 1.7.1 + 0.8.7 + 4.2.2 + 4.2.2 +@@ -2435,6 +2435,13 @@ flexible messaging model and an intuitive client API. + false + + ++ ++ loongarch ++ https://maven.loongnix.cn/loongarch/maven/ ++ ++ false ++ ++ + + confluent + https://packages.confluent.io/maven/ +-- +2.43.0 + diff --git a/pulsar.spec b/pulsar.spec index dd2e0c29feb6fac9f4de52b6ae9954d548d5d565..f619604f15e2b897ab62142bcf12680d5cd81386 100644 --- a/pulsar.spec +++ b/pulsar.spec @@ -1,6 +1,6 @@ %define debug_package %{nil} %define pulsar_ver 2.10.4 -%define pkg_ver 19 +%define pkg_ver 20 %define _prefix /opt/pulsar Summary: Cloud-Native, Distributed Messaging and Streaming Name: pulsar @@ -29,6 +29,7 @@ Patch0016: 0016-handle-exception.patch Patch0017: 0017-return-earliest-position.patch Patch0018: 0018-return-when-AbstractDispatcherSingleActiveConsumer-closed.patch Patch0019: 0019-clean-inactive-bundle.patch +Patch0020: 0020-add-loongarch64-support-for-pulsar.patch BuildRoot: /root/rpmbuild/BUILDROOT/ BuildRequires: java-1.8.0-openjdk-devel,maven,systemd Requires: java-1.8.0-openjdk,systemd @@ -60,6 +61,7 @@ Pulsar is a distributed pub-sub messaging platform with a very flexible messagin %patch0017 -p1 %patch0018 -p1 %patch0019 -p1 +%patch0020 -p1 %build mvn clean install -Pcore-modules,-main -DskipTests @@ -85,6 +87,9 @@ getent passwd pulsar >/dev/null || useradd -r -g pulsar -d / -s /sbin/nologin pu exit 0 %changelog +* Thu Apr 17 2025 Wenlong Zhang - 2.10.4-20 +- add loongarch64 support for pulsar + * Fri Dec 8 2023 Dapeng Sun - 2.10.4-19 - clean inactive bundle from bundleData in loadData and bundlesCache * Fri Dec 8 2023 Dapeng Sun - 2.10.4-18