From 8bb7766578b4262786ce38c61e8adac626db88b0 Mon Sep 17 00:00:00 2001 From: shaojiansong Date: Wed, 24 Apr 2024 14:08:11 +0800 Subject: [PATCH] update npm download url for maven plugin --- 0004-update-npm.hw-repo.patch | 13 +++++++++++++ flink.spec | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 0004-update-npm.hw-repo.patch diff --git a/0004-update-npm.hw-repo.patch b/0004-update-npm.hw-repo.patch new file mode 100644 index 0000000..359a34f --- /dev/null +++ b/0004-update-npm.hw-repo.patch @@ -0,0 +1,13 @@ +--- flink-release-1.17.1/flink-runtime-web/pom.xml 2024-04-24 10:45:59.360106215 +0800 ++++ flink-release-1.17.1-change/flink-runtime-web/pom.xml 2024-04-24 10:49:13.216106215 +0800 +@@ -259,8 +259,9 @@ + + + v16.13.2 +- https://repo.huaweicloud.com/nodejs/ ++ https://repo.huaweicloud.com/nodejs/ + 8.1.2 ++ https://mirrors.huaweicloud.com/repository/npm/npm/-/ + + + diff --git a/flink.spec b/flink.spec index 0cffb34..5588b61 100644 --- a/flink.spec +++ b/flink.spec @@ -11,7 +11,7 @@ Name: flink Version: 1.17.1 -Release: 1 +Release: 2 Summary: Stateful Computations over Data Streams License: Apache License v2.0 URL: https://github.com/apache/%{name} @@ -25,6 +25,7 @@ Source6: npm-8.1.2.tar.gz Patch0: 0001-add-npm.hw-repo.patch Patch1: 0002-fix-compilation-failure.patch Patch2: 0003-Skip-flink-avro-confluent-registry-test.patch +Patch3: 0004-update-npm.hw-repo.patch BuildRequires: java-1.8.0-openjdk-devel maven npm Requires: java-1.8.0-openjdk @@ -56,6 +57,9 @@ find %{buildroot}/opt/apache-%{name}-%{version}/ -type f -name '*.py' | xargs -i %license LICENSE %changelog +* Wed Apr 24 2024 shaojiansong - 1.17.1-2 +- update npm download url for maven plugin + * Wed Sep 27 2023 xiexing - 1.17.1-1 - update version to 1.17.1 -- Gitee