!63 [sync] PR-57: 源码包同源异构问题修复
Merge pull request !63 from openeuler-sync-bot/sync-pr57-master-to-openEuler-24.03-LTS
This commit is contained in:
commit
e9b5ca7cbf
12
flink.spec
12
flink.spec
@ -11,7 +11,7 @@
|
||||
|
||||
Name: flink
|
||||
Version: 1.17.1
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Stateful Computations over Data Streams
|
||||
License: Apache License v2.0
|
||||
URL: https://github.com/apache/%{name}
|
||||
@ -30,12 +30,12 @@ Patch1: 0002-fix-compilation-failure.patch
|
||||
Patch2: 0003-Skip-flink-avro-confluent-registry-test.patch
|
||||
Patch3: 0004-update-npm.hw-repo.patch
|
||||
Patch4: 0005-upgrade-os-maven-plugin-to-1.7.1.patch
|
||||
Patch1000: 1000-Add-protoc-java-support-for-riscv64.patch
|
||||
Patch1001: 1001-Added-support-for-building-the-riscv64-protoc-binari.patch
|
||||
BuildRequires: java-1.8.0-openjdk-devel maven npm
|
||||
Requires: java-1.8.0-openjdk
|
||||
%ifarch riscv64
|
||||
BuildRequires: autoconf automake libtool pkgconfig zlib-devel libstdc++-static gcc-c++
|
||||
Patch1000: 1000-Add-protoc-java-support-for-riscv64.patch
|
||||
Patch1001: 1001-Added-support-for-building-the-riscv64-protoc-binari.patch
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -70,7 +70,8 @@ pushd ${HOME}/%{name}-prep_dir/protoc-jar-maven-plugin-3.11.4
|
||||
mvn clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
|
||||
popd
|
||||
%else
|
||||
%autosetup -p1 -n %{name}-release-%{version}
|
||||
%setup -n %{name}-release-%{version}
|
||||
%autopatch -M999 -p1
|
||||
%endif
|
||||
mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-schema-registry-client -Dversion=7.2.2 -Dpackaging=jar -Dfile=%{SOURCE2}
|
||||
mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-avro-serializer -Dversion=7.2.2 -Dpackaging=jar -Dfile=%{SOURCE3}
|
||||
@ -101,6 +102,9 @@ find %{buildroot}/opt/apache-%{name}-%{version}/ -type f -name '*.py' | xargs -i
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Tue Dec 10 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 1.17.1-5
|
||||
- include all patches in the source package.
|
||||
|
||||
* Tue Jun 25 2024 Dingli Zhang <dingli@iscas.ac.cn> - 1.17.1-4
|
||||
- Remove riscv64 prebuilded files
|
||||
- Build protoc, protoc-jar and protoc-jar-maven-plugin in prep state for riscv64
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user