- accept all versions of dependency 'minimist' (optimist-deps.diff)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-optimist?expand=0&rev=4
This commit is contained in:
2014-10-24 15:13:47 +00:00
committed by Git OBS Bridge
parent 66055571c9
commit 4a5631b1ad
3 changed files with 21 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 24 15:13:02 UTC 2014 - jgleissner@suse.com
- accept all versions of dependency 'minimist' (optimist-deps.diff)
-------------------------------------------------------------------
Thu Oct 9 15:08:27 UTC 2014 - jgleissner@suse.com

View File

@@ -26,6 +26,7 @@ License: MIT
Group: Development/Libraries/Other
Url: https://github.com/substack/node-optimist
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
Patch: optimist-deps.diff
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -42,6 +43,7 @@ With optimist, option parsing doesn't have to suck (as much).
%prep
%setup -q -n package
%patch -p1
%build

13
optimist-deps.diff Normal file
View File

@@ -0,0 +1,13 @@
Index: package/package.json
===================================================================
--- package.orig/package.json
+++ package/package.json
@@ -5,7 +5,7 @@
"main" : "./index.js",
"dependencies" : {
"wordwrap" : "~0.0.2",
- "minimist" : "~0.0.1"
+ "minimist" : ">=0.0.1"
},
"devDependencies" : {
"hashish": "~0.0.4",