diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a74f51 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/assert-plus-0.1.4.tgz diff --git a/.nodejs010-nodejs-assert-plus.metadata b/.nodejs010-nodejs-assert-plus.metadata new file mode 100644 index 0000000..89b8cda --- /dev/null +++ b/.nodejs010-nodejs-assert-plus.metadata @@ -0,0 +1 @@ +283eff8b140ecd768529fbf3730a4c09ebec61f7 SOURCES/assert-plus-0.1.4.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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-assert-plus.spec b/SPECS/nodejs-assert-plus.spec new file mode 100644 index 0000000..a904549 --- /dev/null +++ b/SPECS/nodejs-assert-plus.spec @@ -0,0 +1,60 @@ +%{?scl:%scl_package nodejs-assert-plus} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-assert-plus +Version: 0.1.4 +Release: 1.1%{?dist} +Summary: Extra assertions on top of node's assert module +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +Group: System Environment/Libraries +# MIT license text in README.md +License: MIT +URL: https://github.com/mcavage/node-assert-plus +Source0: http://registry.npmjs.org/assert-plus/-/assert-plus-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +This library is a super small wrapper over node's assert module that has two +things: (1) the ability to disable assertions with the environment variable +NODE_NDEBUG, and (2) some API wrappers for argument testing. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot + +mkdir -p %{buildroot}%{nodejs_sitelib}/assert-plus +cp -pr package.json assert.js %{buildroot}%{nodejs_sitelib}/assert-plus + +%nodejs_symlink_deps + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/assert-plus +%doc README.md + +%changelog +* Wed Dec 11 2013 Tomas Hrcka - 0.1.4-1.1 +- enable scl support + +* Tue Jul 30 2013 T.C. Hollingsworth - 0.1.4-1 +- new upstream release 0.1.4 + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.1.3-2 +- restrict to compatible arches + +* Thu Jun 13 2013 T.C. Hollingsworth - 0.1.3-1 +- initial package