fuanan add package
This commit is contained in:
parent
bdb8d0bff3
commit
fed46900d8
BIN
core-util-is-1.0.2.tgz
Normal file
BIN
core-util-is-1.0.2.tgz
Normal file
Binary file not shown.
38
nodejs-core-util-is.spec
Normal file
38
nodejs-core-util-is.spec
Normal file
@ -0,0 +1,38 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
%global barename core-util-is
|
||||
Name: nodejs-core-util-is
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Summary: The util.is functions introduced in Node v0.12
|
||||
License: MIT
|
||||
URL: https://www.npmjs.org/package/core-util-is
|
||||
Source0: http://registry.npmjs.org/core-util-is/-/core-util-is-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
BuildRequires: nodejs-packaging >= 6
|
||||
%description
|
||||
The util.is functions introduced in Node v0.12.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
rm -rf node_modules/
|
||||
%nodejs_fixdep --caret
|
||||
|
||||
%build
|
||||
%nodejs_symlink_deps --build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/core-util-is
|
||||
cp -pr package.json lib \
|
||||
%{buildroot}%{nodejs_sitelib}/core-util-is
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/core-util-is/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 1.0.2-1
|
||||
- package init
|
||||
75
nodejs-core-util-is.spec.old
Normal file
75
nodejs-core-util-is.spec.old
Normal file
@ -0,0 +1,75 @@
|
||||
# This macro is needed at the start for building on EL6
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
|
||||
%global barename core-util-is
|
||||
|
||||
Name: nodejs-core-util-is
|
||||
Version: 1.0.2
|
||||
Release: 6%{?dist}
|
||||
Summary: The util.is functions introduced in Node v0.12
|
||||
|
||||
License: MIT
|
||||
URL: https://www.npmjs.org/package/core-util-is
|
||||
Source0: http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora} >= 19
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: nodejs-packaging >= 6
|
||||
|
||||
%description
|
||||
The util.is functions introduced in Node v0.12.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
# Remove bundled node_modules if there are any..
|
||||
rm -rf node_modules/
|
||||
|
||||
%nodejs_fixdep --caret
|
||||
|
||||
%build
|
||||
%nodejs_symlink_deps --build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/core-util-is
|
||||
cp -pr package.json lib \
|
||||
%{buildroot}%{nodejs_sitelib}/core-util-is
|
||||
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/core-util-is/
|
||||
|
||||
%changelog
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Apr 05 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.0.2-1
|
||||
- Update to 1.0.2
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Tue Jul 22 2014 Ralph Bean <rbean@redhat.com> - 1.0.1-1
|
||||
- Initial packaging for Fedora.
|
||||
5
nodejs-core-util-is.yaml
Normal file
5
nodejs-core-util-is.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://www.npmjs.org/package/core-util-is
|
||||
version_control: registry
|
||||
src_repo: http://registry.npmjs.org/core-util-is/-
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user