From 449a65899bd1f766d5c0eefa98d56d90c9b86357 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:31:35 +0000 Subject: import rh-nodejs8-nodejs-minimist-0.0.8-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..52c7081 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/minimist-0.0.8.tgz diff --git a/.rh-nodejs8-nodejs-minimist.metadata b/.rh-nodejs8-nodejs-minimist.metadata new file mode 100644 index 0000000..18a2689 --- /dev/null +++ b/.rh-nodejs8-nodejs-minimist.metadata @@ -0,0 +1 @@ +857fcabfc3397d2625b8228262e86aa7a011b05d SOURCES/minimist-0.0.8.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-minimist.spec b/SPECS/nodejs-minimist.spec new file mode 100644 index 0000000..3e5e234 --- /dev/null +++ b/SPECS/nodejs-minimist.spec @@ -0,0 +1,83 @@ +%{?scl:%scl_package nodejs-minimist} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +# sometimes you might need to disable tests to get it to build since tap +# depends on this +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-minimist +Version: 0.0.8 +Release: 3%{?dist} +Summary: Parse argument options in Node.js + +Group: System Environment/Libraries +License: MIT +URL: http://github.com/substack/minimist +Source0: http://registry.npmjs.org/minimist/-/minimist-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +#BuildRequires: %{?scl_prefix} + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(tap) +BuildRequires: %{?scl_prefix}npm(tape) +%endif + +%description +%{summary}. + +This module is the guts of nodejs-optimist's argument parser without all the +fanciful decoration. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot +mkdir -p %{buildroot}%{nodejs_sitelib}/minimist +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/minimist + +%check +%if 0%{?enable_tests} +%nodejs_symlink_deps --check +%tap test/*.js +%endif + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/minimist +%doc LICENSE readme.markdown example + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 0.0.8-3 +- rh-nodejs8 rebuild + +* Sun Feb 14 2016 Zuzana Svetlikova - 0.0.8-2 +- rebuilt + +* Fri Jan 09 2015 Tomas Hrcka - 0.0.8-4 +- New upstream release 0.0.8 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 18 2013 T.C. Hollingsworth - 0.0.1-2 +- update to new nodejs standards + +* Mon Aug 05 2013 T.C. Hollingsworth - 0.0.1-1 +- initial package