|
|
0ab19e |
%{?scl:%scl_package nodejs-once}
|
|
|
0ab19e |
%{!?scl:%global pkg_name %{name}}
|
|
|
0ab19e |
%{?nodejs_find_provides_and_requires}
|
|
|
0ab19e |
|
|
|
0ab19e |
Name: %{?scl_prefix}nodejs-once
|
|
|
0ab19e |
Version: 1.4.0
|
|
|
0ab19e |
Release: 2%{?dist}
|
|
|
0ab19e |
Summary: Run a function exactly one time
|
|
|
0ab19e |
BuildArch: noarch
|
|
|
0ab19e |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
0ab19e |
License: ISC
|
|
|
0ab19e |
URL: https://github.com/isaacs/once
|
|
|
0ab19e |
Source0: http://registry.npmjs.org/once/-/once-%{version}.tgz
|
|
|
0ab19e |
|
|
|
0ab19e |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
0ab19e |
|
|
|
0ab19e |
%description
|
|
|
0ab19e |
Run a function exactly one time.
|
|
|
0ab19e |
|
|
|
0ab19e |
%prep
|
|
|
0ab19e |
%setup -q -n package
|
|
|
0ab19e |
|
|
|
0ab19e |
%build
|
|
|
0ab19e |
#nothing to do
|
|
|
0ab19e |
|
|
|
0ab19e |
%install
|
|
|
0ab19e |
mkdir -p %{buildroot}%{nodejs_sitelib}/once
|
|
|
0ab19e |
cp -pr package.json once.js %{buildroot}%{nodejs_sitelib}/once
|
|
|
0ab19e |
|
|
|
0ab19e |
%nodejs_symlink_deps
|
|
|
0ab19e |
|
|
|
0ab19e |
%files
|
|
|
0ab19e |
%{nodejs_sitelib}/once
|
|
|
0ab19e |
%doc LICENSE README.md
|
|
|
0ab19e |
|
|
|
0ab19e |
%changelog
|
|
|
0ab19e |
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.0-2
|
|
|
0ab19e |
- rh-nodejs8 rebuild
|
|
|
0ab19e |
|
|
|
0ab19e |
* Thu Jan 05 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.0-1
|
|
|
0ab19e |
- Updated with script
|
|
|
0ab19e |
|
|
|
0ab19e |
* Thu Jun 09 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.3-2
|
|
|
0ab19e |
- Resolves: rhbz#1334856 , fixes wrong license
|
|
|
0ab19e |
|
|
|
0ab19e |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.1-1
|
|
|
0ab19e |
- Update
|
|
|
0ab19e |
|
|
|
0ab19e |
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 1.3.0-1
|
|
|
0ab19e |
- New upstream release 1.3.0
|
|
|
0ab19e |
|
|
|
0ab19e |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 1.1.1-5
|
|
|
0ab19e |
- replace provides and requires with macro
|
|
|
0ab19e |
|
|
|
0ab19e |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-4
|
|
|
0ab19e |
- Add support for software collections
|
|
|
0ab19e |
|
|
|
0ab19e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
|
|
|
0ab19e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0ab19e |
|
|
|
0ab19e |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-2
|
|
|
0ab19e |
- add missing build section
|
|
|
0ab19e |
- sentences end with a period
|
|
|
0ab19e |
|
|
|
0ab19e |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.1-1
|
|
|
0ab19e |
- initial package generated by npm2rpm
|