From 0ae6c231d5c581a3b7db4aa759a720dd55c14911 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:21:29 +0000 Subject: import rh-nodejs4-nodejs-once-1.3.3-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4322de --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/once-1.3.3.tgz diff --git a/.rh-nodejs4-nodejs-once.metadata b/.rh-nodejs4-nodejs-once.metadata new file mode 100644 index 0000000..644a629 --- /dev/null +++ b/.rh-nodejs4-nodejs-once.metadata @@ -0,0 +1 @@ +b2e261557ce4c314ec8304f3fa82663e4297ca20 SOURCES/once-1.3.3.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-once.spec b/SPECS/nodejs-once.spec new file mode 100644 index 0000000..bb9c5e5 --- /dev/null +++ b/SPECS/nodejs-once.spec @@ -0,0 +1,58 @@ +%{?scl:%scl_package nodejs-once} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-once +Version: 1.3.3 +Release: 1%{?dist} +Summary: Run a function exactly one time +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +License: BSD +URL: https://github.com/isaacs/once +Source0: http://registry.npmjs.org/once/-/once-%{version}.tgz + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Run a function exactly one time. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot +mkdir -p %{buildroot}%{nodejs_sitelib}/once +cp -pr package.json once.js %{buildroot}%{nodejs_sitelib}/once + +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/once +%doc LICENSE README.md + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.3.1-1 +- Update + +* Thu Jan 16 2014 Tomas Hrcka - 1.3.0-1 +- New upstream release 1.3.0 + +* Thu Oct 17 2013 Tomas Hrcka - 1.1.1-5 +- replace provides and requires with macro + +* Thu Apr 11 2013 Stanislav Ochotnicky - 1.1.1-4 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.1.1-2 +- add missing build section +- sentences end with a period + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.1.1-1 +- initial package generated by npm2rpm