From 513f4e078ea96c6ffb5cdf8c96bcc9ca14e39662 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 09:49:19 +0000 Subject: import rh-nodejs6-nodejs-proto-list-1.2.4-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e0c0607 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/proto-list-1.2.4.tgz diff --git a/.rh-nodejs6-nodejs-proto-list.metadata b/.rh-nodejs6-nodejs-proto-list.metadata new file mode 100644 index 0000000..0439c28 --- /dev/null +++ b/.rh-nodejs6-nodejs-proto-list.metadata @@ -0,0 +1 @@ +212d5bfe1318306a420f6402b8e26ff39647a849 SOURCES/proto-list-1.2.4.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-proto-list.spec b/SPECS/nodejs-proto-list.spec new file mode 100644 index 0000000..7e4809d --- /dev/null +++ b/SPECS/nodejs-proto-list.spec @@ -0,0 +1,81 @@ +%{?scl:%scl_package nodejs-proto-list} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-proto-list +Version: 1.2.4 +Release: 2%{?dist} +Summary: A list of objects bound by prototype chain +License: ISC +URL: https://github.com/isaacs/proto-list +Source0: http://registry.npmjs.org/proto-list/-/proto-list-%{version}.tgz +BuildArch: noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-tap + +%description +A list of objects bound by prototype chain. Used for the Node.js package +manager (npm) configuration. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/proto-list +cp -p package.json proto-list.js %{buildroot}%{nodejs_sitelib}/proto-list + +%nodejs_symlink_deps + +# We currently don't run tests because I'd have to file another ten or +# so review reuqests for the node.js TAP testing framework and methinks there +# are enough of those for now. ;-) +##%%check +##%%nodejs proto-list.js + +%files +%{nodejs_sitelib}/proto-list +%doc LICENSE README.md + +%changelog +* Fri Mar 10 2017 Zuzana Svetlikova - 1.2.4-2 +- Correct license + +* Wed Sep 14 2016 Zuzana Svetlikova - 1.2.4-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.2.2-6 +- rebuilt + +* Thu Oct 17 2013 Tomas Hrcka - 1.2.2-5 +- replace provides and requires with macro + +* Thu Apr 11 2013 Stanislav Ochotnicky - 1.2.2-4 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 1.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.2.2-2 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.2.2-1 +- new upstream release 1.2.2 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.0.0-4 +- bring in line with newer module packaging standards + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.0.0-3 +- guard Requires for F17 automatic depedency generation + +* Sun Dec 18 2011 T.C. Hollingsworth - 1.0.0-2 +- add Group to make EL5 happy + +* Tue Aug 23 2011 T.C. Hollingsworth - 1.0.0-1 +- initial package