[nodejs-chalk] Fix versioned dependencies
Jamie Nguyen
jamielinux at fedoraproject.org
Sun Apr 20 15:21:27 UTC 2014
commit 0afa7ff299c84fed0dd2802d0f58b59ea438ba50
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sun Apr 20 16:20:33 2014 +0100
Fix versioned dependencies
nodejs-chalk.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/nodejs-chalk.spec b/nodejs-chalk.spec
index 3a66c7d..c224411 100644
--- a/nodejs-chalk.spec
+++ b/nodejs-chalk.spec
@@ -5,7 +5,7 @@
Name: nodejs-chalk
Version: 0.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Terminal string styling done right
License: MIT
Group: System Environment/Libraries
@@ -40,6 +40,10 @@ BuildRequires: npm(strip-ansi)
cp -p %{SOURCE1} .
cp -p %{SOURCE2} .
+%nodejs_fixdep has-color '~0.1'
+%nodejs_fixdep ansi-styles '~1.0'
+%nodejs_fixdep strip-ansi '~0.1'
+
%build
#nothing to do
@@ -66,5 +70,8 @@ cp -pr package.json index.js \
%changelog
+* Sun Apr 20 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.0-2
+- fix versioned dependencies
+
* Thu Mar 13 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.0-1
- initial package
More information about the scm-commits
mailing list