From cbb757d795651bfa12ff2f9925b0f2aa069605ee Mon Sep 17 00:00:00 2001 From: wang--ge Date: Wed, 27 Dec 2023 11:33:33 +0800 Subject: [PATCH] Adapt build requires due to require-uncached updated --- nodejs-ansi-styles.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nodejs-ansi-styles.spec b/nodejs-ansi-styles.spec index be19482..d23cef8 100644 --- a/nodejs-ansi-styles.spec +++ b/nodejs-ansi-styles.spec @@ -2,7 +2,7 @@ %global enable_tests 1 Name: nodejs-ansi-styles Version: 2.1.0 -Release: 1 +Release: 2 Summary: ANSI escape codes for colorizing strings in the terminal License: MIT URL: https://github.com/sindresorhus/ansi-styles @@ -12,7 +12,7 @@ BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} -BuildRequires: npm(mocha) npm(chalk) npm(require-uncached) +BuildRequires: npm(mocha) npm(chalk) npm(import-fresh) %endif %description %{summary}. @@ -46,5 +46,8 @@ ln -s %{nodejs_sitelib}/chalk node_modules/chalk %{nodejs_sitelib}/ansi-styles %changelog +* Wed Dec 27 2023 Ge Wang - 2.1.0-2 +- Adapt build require due to require-uncached updated + * Mon Aug 17 2020 Shaoqiang Kang - 2.1.0-1 - Package init