From e762dc4e6809beea2f2ab55fb11a87d11df968a6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:37:20 +0000 Subject: import rh-nodejs8-nodejs-rc-1.1.2-6.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..141ef41 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rc-1.1.2.tgz diff --git a/.rh-nodejs8-nodejs-rc.metadata b/.rh-nodejs8-nodejs-rc.metadata new file mode 100644 index 0000000..0a716ae --- /dev/null +++ b/.rh-nodejs8-nodejs-rc.metadata @@ -0,0 +1 @@ +8828cab62d8054602c063d9e5572686988c1c468 SOURCES/rc-1.1.2.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-rc.spec b/SPECS/nodejs-rc.spec new file mode 100644 index 0000000..06e9ddf --- /dev/null +++ b/SPECS/nodejs-rc.spec @@ -0,0 +1,89 @@ +%{?scl:%scl_package nodejs-%{module_name}} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 +%global module_name rc + +Name: %{?scl_prefix}nodejs-%{module_name} +Version: 1.1.2 +Release: 6%{?dist} +Summary: Hardwired configuration loader + +License: MIT or BSD or ASL 2.0 +URL: https://github.com/dominictarr/rc +Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}runtime + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(ini) +BuildRequires: %{?scl_prefix}npm(strip-json-comments) +BuildRequires: %{?scl_prefix}npm(minimist) +BuildRequires: %{?scl_prefix}npm(deep-extend) +%endif + +%description +The non-configurable configuration loader for lazy people. + +%prep +%setup -q -n package +rm -rf node_modules + +%nodejs_fixdep deep-extend +%nodejs_fixdep minimist +%nodejs_fixdep strip-json-comments +%nodejs_fixdep ini + +%build +# nothing to build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name} +cp -pr package.json *.js lib %{buildroot}%{nodejs_sitelib}/%{module_name} +%nodejs_symlink_deps + +%if 0%{?enable_tests} + +%check +%nodejs_symlink_deps --check +set -e; node test/test.js; node test/ini.js; node test/nested-env-vars.js +%endif + +%files +%doc README.md LICENSE.MIT LICENSE.APACHE2 LICENSE.BSD +%{nodejs_sitelib}/%{module_name} + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 1.1.2-6 +- rh-nodejs8 rebuild + +* Tue Feb 16 2016 Zuzana Svetlikova - 1.1.2-5 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.1.2-4 +- Rebuilt with updated metapackage + +* Tue Jan 12 2016 Tomas Hrcka - 1.1.2-3 +- Enable scl macros + +* Fri Dec 18 2015 Troy Dawson - 1.1.2-1 +- Update to 1.1.2 + +* Sat Dec 12 2015 Piotr Popieluch - 0.6.0-3 +- Fixdep updated minimist + +* Wed Jun 17 2015 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 04 2015 Parag Nemade - 0.6.0-1 +- update to 0.6.0 upstream release + +* Mon Dec 08 2014 Parag Nemade - 0.5.4-2 +- Add missing multilicense tag and its text + +* Thu Dec 04 2014 Parag Nemade - 0.5.4-1 +- Initial packaging