package init
This commit is contained in:
parent
bd6f030ab7
commit
4ea1e9c99f
@ -1,25 +1,25 @@
|
|||||||
%global npm_name require-inject
|
%global npm_name require-inject
|
||||||
%{?nodejs_find_provides_and_requires}
|
%{?nodejs_find_provides_and_requires}
|
||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
Name: nodejs-require-inject
|
Name: nodejs-require-inject
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A simple mock injector needing no instrumentation in the libraries being tested
|
Summary: A simple mock injector needing no instrumentation in the libraries being tested
|
||||||
Url: https://github.com/iarna/require-inject
|
Url: https://github.com/iarna/require-inject
|
||||||
Source0: https://registry.npmjs.org/require-inject/-/require-inject-%{version}.tgz
|
Source0: https://github.com/iarna/require-inject/archive/v%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/kasicka/require-inject/12ac5bd3a1b13adeda81f5c4b17d41a86a9e99e3/LICENSE
|
Source1: https://raw.githubusercontent.com/kasicka/require-inject/12ac5bd3a1b13adeda81f5c4b17d41a86a9e99e3/LICENSE
|
||||||
License: ISC
|
License: ISC
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: nodejs-devel nodejs-packaging
|
BuildRequires: nodejs-devel nodejs-packaging
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
BuildRequires: npm(tap)
|
BuildRequires: npm(tap)
|
||||||
%endif
|
%endif
|
||||||
%description
|
%description
|
||||||
A simple mock injector needing no instrumentation in the libraries being tested
|
A simple mock injector needing no instrumentation in the libraries being tested
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n package
|
%autosetup -n %{npm_name}-%{version}
|
||||||
cp -p %{SOURCE1} .
|
cp -p %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|||||||
Binary file not shown.
BIN
v1.2.0.tar.gz
Normal file
BIN
v1.2.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user