package init
This commit is contained in:
parent
1e453b82e3
commit
a3bc5485aa
@ -1,28 +1,28 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
%global packagename replace-require-self
|
||||
%global enable_tests 1
|
||||
Name: nodejs-replace-require-self
|
||||
Version: 1.1.1
|
||||
Release: 1
|
||||
Summary: Require($THIS_PACKAGE) -> require('./')
|
||||
License: MIT
|
||||
URL: https://github.com/kemitchell/replace-require-self.js.git
|
||||
Source0: https://registry.npmjs.org/replace-require-self/-/replace-require-self-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
Name: nodejs-replace-require-self
|
||||
Version: 1.1.1
|
||||
Release: 1
|
||||
Summary: Require($THIS_PACKAGE) -> require('./')
|
||||
License: MIT
|
||||
URL: https://github.com/kemitchell/replace-require-self.js.git
|
||||
Source0: https://github.com/kemitchell/replace-require-self.js/archive/v%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging npm(stream-replace)
|
||||
BuildRequires: nodejs-packaging npm(stream-replace)
|
||||
%description
|
||||
Require($THIS_PACKAGE) -> require('./')
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
%autosetup -n replace-require-self.js-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
cp -pr package.json *.js \
|
||||
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -sf %{nodejs_sitelib}/%{packagename}/cli.js \
|
||||
%{buildroot}%{_bindir}/replace-require-self
|
||||
@ -43,5 +43,5 @@ ln -sf %{nodejs_sitelib}/%{packagename}/cli.js \
|
||||
%{_bindir}/replace-require-self
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2020 wangchong <wangchong56@huawei.com> - 1.1.1-1
|
||||
* Mon Sep 7 2020 wangchong <wangchong56@huawei.com> - 1.1.1-1
|
||||
- package init
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
version-control: github
|
||||
version_control: github
|
||||
src_repo: kemitchell/replace-require-self.js
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
|
||||
Binary file not shown.
BIN
v1.1.1.tar.gz
Normal file
BIN
v1.1.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user