diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5613d08 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/once-1.4.0.tgz diff --git a/.rh-nodejs6-nodejs-once.metadata b/.rh-nodejs6-nodejs-once.metadata new file mode 100644 index 0000000..7315cea --- /dev/null +++ b/.rh-nodejs6-nodejs-once.metadata @@ -0,0 +1 @@ +583b1aa775961d4b113ac17d9c50baef9dd76bd1 SOURCES/once-1.4.0.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..859e4b9 --- /dev/null +++ b/SPECS/nodejs-once.spec @@ -0,0 +1,63 @@ +%{?scl:%scl_package nodejs-once} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-once +Version: 1.4.0 +Release: 1%{?dist} +Summary: Run a function exactly one time +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +License: ISC +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 +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 +* Thu Jan 05 2017 Zuzana Svetlikova - 1.4.0-1 +- Updated with script + +* Thu Jun 09 2016 Zuzana Svetlikova - 1.3.3-2 +- Resolves: rhbz#1334856 , fixes wrong license + +* 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