diff --git a/flink.spec b/flink.spec index b5b45d46330e765bf9c4ce7853b2b5f354d32ff0..f415db43ca4d49c11d60951cedb1b24013e82075 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} @@ -21,8 +21,10 @@ Source2: https://packages.confluent.io/maven/io/confluent/kafka-schema-re Source3: https://packages.confluent.io/maven/io/confluent/kafka-avro-serializer/5.5.2/kafka-avro-serializer-5.5.2.jar Source4: https://packages.confluent.io/maven/io/confluent/kafka-schema-serializer/5.5.2/kafka-schema-serializer-5.5.2.jar Source5: https://maven.aliyun.com/repository/public/io/confluent/kafka-clients/5.5.2-ccs/kafka-clients-5.5.2-ccs.jar +Source6: node-v10.9.0-linux-arm64.tar.gz +Source7: node-v10.9.0-linux-x64.tar.gz + -Patch0: 0001-add-npm.hw-repo.patch Patch1: 0002-fix-compilation-failure.patch Patch2: 0003-Skip-flink-avro-confluent-registry-test.patch BuildRequires: java-1.8.0-openjdk-devel maven @@ -38,6 +40,10 @@ mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-schema-regist mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-avro-serializer -Dversion=5.5.2 -Dpackaging=jar -Dfile=%{SOURCE3} mvn install:install-file -DgroupId=io.confluent -DartifactId=kafka-schema-serializer -Dversion=5.5.2 -Dpackaging=jar -Dfile=%{SOURCE4} mvn install:install-file -DgroupId=org.apache.kafka -DartifactId=kafka-clients -Dversion=5.5.2-ccs -Dpackaging=jar -Dfile=%{SOURCE5} +mkdir -p ${HOME}/.m2/repository/com/github/eirslett/node/10.9.0/ +cp %{SOURCE6} ${HOME}/.m2/repository/com/github/eirslett/node/10.9.0/node-10.9.0-linux-arm64.tar.gz +cp %{SOURCE7} ${HOME}/.m2/repository/com/github/eirslett/node/10.9.0/node-10.9.0-linux-x64.tar.gz + %build maven_cmd="clean package " @@ -69,6 +75,10 @@ find %{buildroot}/opt/apache-%{name}-%{version}/ -type f -name '*.py' | xargs -i %license LICENSE %changelog +* Tue Nov 19 2024 xiaochn - 1.12.7-3 +- Remove npm repo in pom.xml file and use unified configuration of the build environment. +- Add nodejs installation file for offline build environments. + * Wed Jan 05 2022 weidong - 1.12.7-2 - Fix compilation failure. diff --git a/node-v10.9.0-linux-arm64.tar.gz b/node-v10.9.0-linux-arm64.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..25a4a214c04d150ce8f11a90c2d6b12e454e16f2 Binary files /dev/null and b/node-v10.9.0-linux-arm64.tar.gz differ diff --git a/node-v10.9.0-linux-x64.tar.gz b/node-v10.9.0-linux-x64.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..61790f9392eed84c1d7d3b459e987e274b8b86c0 Binary files /dev/null and b/node-v10.9.0-linux-x64.tar.gz differ