From bf5fe6fca0cd583656f4da3dc7d0a6f4ba38516c Mon Sep 17 00:00:00 2001 From: fwx913451 Date: Fri, 21 Aug 2020 16:19:19 +0800 Subject: [PATCH] fuanan add package --- nodejs-gauge.spec | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/nodejs-gauge.spec b/nodejs-gauge.spec index eb86feb..7f57d35 100644 --- a/nodejs-gauge.spec +++ b/nodejs-gauge.spec @@ -1,20 +1,17 @@ %{?nodejs_find_provides_and_requires} %global packagename gauge %global enable_tests 1 -Name: nodejs-gauge -Version: 1.2.5 -Release: 1 -Summary: A terminal based horizontal gauge -License: ISC -URL: https://github.com/iarna/gauge.git -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif -BuildRequires: nodejs-packaging npm(ansi) npm(has-unicode) npm(lodash.pad) +Name: nodejs-gauge +Version: 1.2.5 +Release: 1 +Summary: A terminal based horizontal gauge +License: ISC +URL: https://github.com/iarna/gauge.git +Source0: https://registry.npmjs.org/gauge/-/gauge-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +BuildRequires: nodejs-packaging npm(ansi) npm(has-unicode) npm(lodash.pad) BuildRequires: npm(lodash.padleft) npm(lodash.padright) %if 0%{?enable_tests} BuildRequires: npm(tap)