Add npm.huaweicloud repo
This commit is contained in:
parent
dfabb421fb
commit
bc73fa45fd
32
0001-add-npm.hw-repo.patch
Normal file
32
0001-add-npm.hw-repo.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From a35c34c6591366ddaccc873b800b078fbd9cc9d7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: weidong <weidong@uniontech.com>
|
||||||
|
Date: Thu, 17 Dec 2020 11:44:05 +0800
|
||||||
|
Subject: [PATCH] add npm.hw repo
|
||||||
|
|
||||||
|
---
|
||||||
|
flink-runtime-web/pom.xml | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/flink-runtime-web/pom.xml b/flink-runtime-web/pom.xml
|
||||||
|
index 0d98526b..fb29809b 100644
|
||||||
|
--- a/flink-runtime-web/pom.xml
|
||||||
|
+++ b/flink-runtime-web/pom.xml
|
||||||
|
@@ -271,6 +271,7 @@ under the License.
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<arguments>ci --cache-max=0 --no-save</arguments>
|
||||||
|
+ <npmRegistryURL>https://mirrors.huaweicloud.com/repository/npm</npmRegistryURL>
|
||||||
|
<environmentVariables>
|
||||||
|
<HUSKY_SKIP_INSTALL>true</HUSKY_SKIP_INSTALL>
|
||||||
|
</environmentVariables>
|
||||||
|
@@ -283,6 +284,7 @@ under the License.
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<arguments>run build</arguments>
|
||||||
|
+ <npmRegistryURL>https://mirrors.huaweicloud.com/repository/npm</npmRegistryURL>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -11,12 +11,13 @@
|
|||||||
|
|
||||||
Name: flink
|
Name: flink
|
||||||
Version: 1.12.0
|
Version: 1.12.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Stateful Computations over Data Streams
|
Summary: Stateful Computations over Data Streams
|
||||||
License: Apache License v2.0
|
License: Apache License v2.0
|
||||||
URL: https://github.com/apache/%{name}
|
URL: https://github.com/apache/%{name}
|
||||||
Source0: https://github.com/apache/%{name}/archive/release-%{version}.tar.gz
|
Source0: https://github.com/apache/%{name}/archive/release-%{version}.tar.gz
|
||||||
Source1: settings.xml
|
Source1: settings.xml
|
||||||
|
Patch0: 0001-add-npm.hw-repo.patch
|
||||||
|
|
||||||
BuildRequires: java-1.8.0-openjdk-devel maven
|
BuildRequires: java-1.8.0-openjdk-devel maven
|
||||||
Requires: java-1.8.0-openjdk
|
Requires: java-1.8.0-openjdk
|
||||||
@ -30,7 +31,7 @@ Apache Flink is a framework and distributed processing engine for stateful compu
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
maven_cmd="clean package -Dskip.npm "
|
maven_cmd="clean package "
|
||||||
|
|
||||||
%if 0%{?compile_for_local}
|
%if 0%{?compile_for_local}
|
||||||
cp %{SOURCE1} ./
|
cp %{SOURCE1} ./
|
||||||
@ -59,6 +60,9 @@ find %{buildroot}/opt/apache-%{name}-%{version}/ -type f -name '*.py' | xargs -i
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 23 2020 weidong <weidong@uniontech.com> - 1.12.0-3
|
||||||
|
- Add npm.huawei repo.
|
||||||
|
|
||||||
* Thu Dec 17 2020 weidong <weidong@uniontech.com> - 1.12.0-2
|
* Thu Dec 17 2020 weidong <weidong@uniontech.com> - 1.12.0-2
|
||||||
- Fix compilation issues.
|
- Fix compilation issues.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user