diff --git a/flink.spec b/flink.spec index ca5148c1d693a0e785b5ddd3f135abc8a7e0722e..e7e6b850a83412fca2e703a9f41fcf29b4922315 100644 --- a/flink.spec +++ b/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 - 1.17.1-5 +- include all patches in the source package. + * Tue Jun 25 2024 Dingli Zhang - 1.17.1-4 - Remove riscv64 prebuilded files - Build protoc, protoc-jar and protoc-jar-maven-plugin in prep state for riscv64