diff --git a/0004-update-npm.hw-repo.patch b/0004-update-npm.hw-repo.patch
new file mode 100644
index 0000000000000000000000000000000000000000..359a34fda85dc6b2c8c906c9fa0fd913a25355e7
--- /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 0cffb3414d40582f46566da06ff199cade1df6bc..5588b61e0c136d773f885aa41ba8fa69dc9faabb 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