From 33ad394cde83025ba04bb8759435b96e43104393 Mon Sep 17 00:00:00 2001 From: fwx913451 Date: Sun, 27 Sep 2020 18:09:57 +0800 Subject: [PATCH 1/2] fuanan add package --- nodejs-difflib.spec | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/nodejs-difflib.spec b/nodejs-difflib.spec index b061b98..ddfa845 100644 --- a/nodejs-difflib.spec +++ b/nodejs-difflib.spec @@ -1,23 +1,19 @@ %{?nodejs_find_provides_and_requires} %global packagename difflib %global enable_tests 1 -Name: nodejs-difflib -Version: 0.2.4 -Release: 1 -Summary: Text diff library ported from Python's difflib module -License: Python -URL: https://github.com/qiao/difflib.js.git -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz -Patch0: difflib-0.2.4-fix-test-keywords.patch -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif -BuildRequires: nodejs-packaging +Name: nodejs-difflib +Version: 0.2.4 +Release: 1 +Summary: Text diff library ported from Python's difflib module +License: Python +URL: https://github.com/qiao/difflib.js.git +Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz +Patch0: difflib-0.2.4-fix-test-keywords.patch +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging %if 0%{?enable_tests} -BuildRequires: coffee-script mocha npm(heap) npm(should) +BuildRequires: coffee-script mocha npm(heap) npm(should) %endif %description Text diff library ported from Python's difflib module -- Gitee From a7727cf44acd3c80e89443a8d96cc3b5db20b269 Mon Sep 17 00:00:00 2001 From: fwx913451 Date: Sun, 27 Sep 2020 18:19:17 +0800 Subject: [PATCH 2/2] fuanan add package --- nodejs-difflib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nodejs-difflib.spec b/nodejs-difflib.spec index ddfa845..4311af2 100644 --- a/nodejs-difflib.spec +++ b/nodejs-difflib.spec @@ -3,7 +3,7 @@ %global enable_tests 1 Name: nodejs-difflib Version: 0.2.4 -Release: 1 +Release: 2 Summary: Text diff library ported from Python's difflib module License: Python URL: https://github.com/qiao/difflib.js.git @@ -48,5 +48,8 @@ cp -pr package.json *.js lib/ \ %{nodejs_sitelib}/%{packagename} %changelog +* Sun Sep 27 2020 Anan Fu - 0.2.4-2 +- delete ExclusiveArch %{ix86} x86_64 %{arm} noarch + * Tue Aug 18 2020 Anan Fu - 0.2.4-1 - package init -- Gitee