diff --git a/0002-config-node-download-proxy.patch b/0002-config-node-download-proxy.patch new file mode 100644 index 0000000000000000000000000000000000000000..0a7e3c565730ca4ca7c61da6072fb1e8e252937f --- /dev/null +++ b/0002-config-node-download-proxy.patch @@ -0,0 +1,33 @@ +From 02936f2a317e33ea0cf35472d0b1e9df98f1676a Mon Sep 17 00:00:00 2001 +From: zhangshaoning +Date: Thu, 29 Jul 2021 13:51:23 +0800 +Subject: [PATCH] patch + +--- + flink-runtime-web/pom.xml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/flink-runtime-web/pom.xml b/flink-runtime-web/pom.xml +index d94fca17..50b0d3b7 100644 +--- a/flink-runtime-web/pom.xml ++++ b/flink-runtime-web/pom.xml +@@ -262,6 +262,7 @@ under the License. + + + v10.9.0 ++ https://cdn.npm.taobao.org/dist/node/ + + + +@@ -270,7 +271,7 @@ under the License. + npm + + +- ci --cache-max=0 --no-save ++ ci --cache-max=0 --no-save --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ + https://mirrors.huaweicloud.com/repository/npm + + true +-- +2.20.1 + diff --git a/flink.spec b/flink.spec index 7c24cec8c13bff0d15a2ccfce450eef896bcdc9e..e0ae5e91ceffa444ff474482c976016b7361a580 100644 --- a/flink.spec +++ b/flink.spec @@ -11,13 +11,14 @@ Name: flink Version: 1.12.0 -Release: 3 +Release: 4 Summary: Stateful Computations over Data Streams License: Apache License v2.0 URL: https://github.com/apache/%{name} Source0: https://github.com/apache/%{name}/archive/release-%{version}.tar.gz Source1: settings.xml Patch0: 0001-add-npm.hw-repo.patch +Patch1: 0002-config-node-download-proxy.patch BuildRequires: java-1.8.0-openjdk-devel maven Requires: java-1.8.0-openjdk @@ -60,6 +61,9 @@ find %{buildroot}/opt/apache-%{name}-%{version}/ -type f -name '*.py' | xargs -i %license LICENSE %changelog +* Thu Jul 29 2021 zhangshaoning - 1.12.0-4 +- Config node download proxy. + * Wed Dec 23 2020 weidong - 1.12.0-3 - Add npm.huawei repo.