Projects
home:binsz
pulsar
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 11
View file
_service:tar_scm:pulsar.spec
Changed
@@ -16,9 +16,15 @@ Patch0004: 0004-CVE-2023-2976.patch Patch0005: 0005-CVE-2023-32732.patch Patch0006: 0006-Bump-maven-plugin-os-maven-plugin.patch +Patch0007: 0007-Bump-protobuf-version-for-RISCV-64-build.patch BuildRoot: /root/rpmbuild/BUILDROOT/ BuildRequires: java-1.8.0-openjdk-devel,maven,systemd Requires: java-1.8.0-openjdk,systemd + +%ifarch riscv64 +Requires: protobuf, protobuf-devel +%else + Provides: apache-pulsar Provides: mvn(org.apche.pulsar:pulsar) @@ -34,9 +40,17 @@ %patch0004 -p1 %patch0005 -p1 %patch0006 -p1 +%ifarch riscv64 +%patch0007 -p1 +%else %build -mvn clean install -Pcore-modules,-main -DskipTests -Dspotbugs.timeout=3600000 + +%ifarch riscv64 +mvn clean install -Pcore-modules,-main -DskipTests \ + -Dspotbugs.timeout=3600000 -Dprotoc.path=$(which protoc) +%else +mvn clean install -Pcore-modules,-main -DskipTests %install mkdir -p $RPM_BUILD_ROOT%{_prefix}/{lib,bin,conf,examples,instances,licenses}
View file
_service:tar_scm:0007-Bump-protobuf-version-for-RISCV-64-build.patch
Added
@@ -0,0 +1,25 @@ +From 9430abf8d183518e932d7e9bfe0990889d49dae1 Mon Sep 17 00:00:00 2001 +From: IZUMI-Zu <274620705z@gmail.com> +Date: Tue, 15 Oct 2024 20:52:48 +0800 +Subject: PATCH Bump protobuf version for RISCV 64 build + +--- + pom.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pom.xml b/pom.xml +index 1a12ff8..fa9dd55 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -131,7 +131,7 @@ flexible messaging model and an intuitive client API.</description> + <typetools.version>0.5.0</typetools.version> + <byte-buddy.version>1.14.12</byte-buddy.version> + <zt-zip.version>1.17</zt-zip.version> +- <protobuf3.version>3.19.6</protobuf3.version> ++ <protobuf3.version>3.25.1</protobuf3.version> + <protoc3.version>${protobuf3.version}</protoc3.version> + <grpc.version>1.45.1</grpc.version> + <google-http-client.version>1.41.0</google-http-client.version> +-- +2.47.0 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2