commit
08622e92c8
36
nodejs-grunt-known-options.spec
Normal file
36
nodejs-grunt-known-options.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
%global srcname grunt-known-options
|
||||||
|
Name: nodejs-%{srcname}
|
||||||
|
Version: 1.1.1
|
||||||
|
Release: 1
|
||||||
|
Summary: The known options used in Grunt
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/gruntjs/grunt-known-options
|
||||||
|
Source0: https://github.com/gruntjs/grunt-known-options/archive/v%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n grunt-known-options-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__nodejs} -e 'require("./")'
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
|
||||||
|
cp -pr package.json *.js \
|
||||||
|
%{buildroot}%{nodejs_sitelib}/%{srcname}
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{nodejs_sitelib}/%{srcname}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 1.1.1-1
|
||||||
|
- package init
|
||||||
4
nodejs-grunt-known-options.yaml
Normal file
4
nodejs-grunt-known-options.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: gruntjs/grunt-known-options
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
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