commit
486d256991
BIN
nodejs-grunt-contrib-clean-0.7.0.tar.gz
Normal file
BIN
nodejs-grunt-contrib-clean-0.7.0.tar.gz
Normal file
Binary file not shown.
44
nodejs-grunt-contrib-clean.spec
Normal file
44
nodejs-grunt-contrib-clean.spec
Normal file
@ -0,0 +1,44 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
%global enable_tests 1
|
||||
Name: nodejs-grunt-contrib-clean
|
||||
Version: 0.7.0
|
||||
Release: 1
|
||||
Summary: A Grunt plugin to clean files and folders
|
||||
License: MIT
|
||||
URL: https://github.com/gruntjs/grunt-contrib-clean
|
||||
Source0: https://github.com/gruntjs/grunt-contrib-clean/archive/v%{version}/nodejs-grunt-contrib-clean-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%if 0%{?enable_tests}
|
||||
BuildRequires: npm(grunt-cli) npm(grunt-contrib-nodeunit) npm(rimraf)
|
||||
%endif
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p 1 -n grunt-contrib-clean-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/grunt-contrib-clean
|
||||
cp -pr package.json tasks/ \
|
||||
%{buildroot}%{nodejs_sitelib}/grunt-contrib-clean
|
||||
%nodejs_symlink_deps
|
||||
%if 0%{?enable_tests}
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
/usr/bin/grunt nodeunit
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc AUTHORS CHANGELOG CONTRIBUTING.md README.md docs/
|
||||
%license LICENSE-MIT
|
||||
%{nodejs_sitelib}/grunt-contrib-clean
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 0.7.0-1
|
||||
- package init
|
||||
4
nodejs-grunt-contrib-clean.yaml
Normal file
4
nodejs-grunt-contrib-clean.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: gruntjs/grunt-contrib-clean
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user