!2 解除git依赖,避免冗余依赖缺失导致的error。

From: @shine_
Reviewed-by: @zhengyuhanghans
Signed-off-by: @zhengyuhanghans
This commit is contained in:
openeuler-ci-bot 2021-06-16 07:54:39 +00:00 committed by Gitee
commit 70eb5879a8

View File

@ -2,7 +2,7 @@
%global enable_tests 0 %global enable_tests 0
Name: nodejs-jade Name: nodejs-jade
Version: 1.3.1 Version: 1.3.1
Release: 1 Release: 2
Summary: Jade template engine for Node.js Summary: Jade template engine for Node.js
License: MIT License: MIT
URL: https://github.com/visionmedia/jade URL: https://github.com/visionmedia/jade
@ -21,7 +21,7 @@ Jade is a high performance template engine heavily influenced by Haml and
implemented with JavaScript for Node.js. implemented with JavaScript for Node.js.
%prep %prep
%autosetup -n pug-%{version} -S git %autosetup -n pug-%{version} -p1
%nodejs_fixdep character-parser '~1.2' %nodejs_fixdep character-parser '~1.2'
%nodejs_fixdep commander '>=2.1.0' %nodejs_fixdep commander '>=2.1.0'
%nodejs_fixdep constantinople '~2.0' %nodejs_fixdep constantinople '~2.0'
@ -55,5 +55,8 @@ ln -sf %{nodejs_sitelib}/jade/bin/jade.js \
%{_bindir}/jade-nodejs %{_bindir}/jade-nodejs
%changelog %changelog
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.3.1-2
- %prep no longer patched with git
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.3.1-1 * Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.3.1-1
- Package init - Package init