%{?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