- 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:
@@ -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
|
Thu Oct 9 15:08:27 UTC 2014 - jgleissner@suse.com
|
||||||
|
|
||||||
|
@@ -26,7 +26,8 @@ License: MIT
|
|||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Url: https://github.com/substack/node-optimist
|
Url: https://github.com/substack/node-optimist
|
||||||
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
|
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
|
||||||
BuildRequires: nodejs-packaging
|
Patch: optimist-deps.diff
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||||
@@ -42,6 +43,7 @@ With optimist, option parsing doesn't have to suck (as much).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n package
|
%setup -q -n package
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
13
optimist-deps.diff
Normal file
13
optimist-deps.diff
Normal 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",
|
Reference in New Issue
Block a user