T.C. Hollingsworth 8369cd
%{?nodejs_find_provides_and_requires}
T.C. Hollingsworth 9623b3
T.C. Hollingsworth 5048dd
Name:           nodejs-once
T.C. Hollingsworth 5048dd
Version:        1.1.1
9798ba
Release:        8%{?dist}
T.C. Hollingsworth 5048dd
Summary:        Run a function exactly one time
T.C. Hollingsworth 5048dd
BuildArch:      noarch
T.C. Hollingsworth 0c81f3
ExclusiveArch: %{nodejs_arches} noarch
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
Group:          System Environment/Libraries
T.C. Hollingsworth 5048dd
License:        BSD
T.C. Hollingsworth 5048dd
URL:            https://github.com/isaacs/once
T.C. Hollingsworth 5048dd
Source0:        http://registry.npmjs.org/once/-/once-%{version}.tgz
T.C. Hollingsworth 5048dd
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
BuildRequires:  nodejs-devel
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%description
T.C. Hollingsworth 5048dd
Run a function exactly one time.
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%prep
T.C. Hollingsworth 5048dd
%setup -q -n package
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%build
T.C. Hollingsworth 5048dd
#nothing to do
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%install
T.C. Hollingsworth 5048dd
rm -rf %buildroot
T.C. Hollingsworth 5048dd
mkdir -p %{buildroot}%{nodejs_sitelib}/once
T.C. Hollingsworth 5048dd
cp -pr package.json once.js %{buildroot}%{nodejs_sitelib}/once
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%nodejs_symlink_deps
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%clean
T.C. Hollingsworth 5048dd
rm -rf %buildroot
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%files
T.C. Hollingsworth 5048dd
%defattr(-,root,root,-)
T.C. Hollingsworth 5048dd
%{nodejs_sitelib}/once
T.C. Hollingsworth 5048dd
%doc LICENSE README.md
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
%changelog
9798ba
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-8
9798ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9798ba
95d107
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7
95d107
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
95d107
467c5a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
467c5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
467c5a
T.C. Hollingsworth 0c81f3
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-5
T.C. Hollingsworth 0c81f3
- restrict to compatible arches
T.C. Hollingsworth 0c81f3
T.C. Hollingsworth 9623b3
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-4
T.C. Hollingsworth 9623b3
- add macro for EPEL6 dependency generation
T.C. Hollingsworth 9623b3
06cbe2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
06cbe2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
06cbe2
T.C. Hollingsworth 5048dd
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-2
T.C. Hollingsworth 5048dd
- add missing build section
T.C. Hollingsworth 5048dd
- sentences end with a period
T.C. Hollingsworth 5048dd
T.C. Hollingsworth 5048dd
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-1
T.C. Hollingsworth 5048dd
- initial package generated by npm2rpm