|
|
1f9e86 |
%{?scl:%scl_package nodejs-json-stringify-safe}
|
|
|
1f9e86 |
%{!?scl:%global pkg_name %{name}}
|
|
|
1f9e86 |
%{?nodejs_find_provides_and_requires}
|
|
|
1f9e86 |
|
|
|
1f9e86 |
Name: %{?scl_prefix}nodejs-json-stringify-safe
|
|
|
1f9e86 |
Version: 5.0.1
|
|
|
1f9e86 |
Release: 2%{?dist}
|
|
|
1f9e86 |
Summary: JSON.stringify that handles circular references
|
|
|
1f9e86 |
License: ISC
|
|
|
1f9e86 |
URL: https://github.com/isaacs/json-stringify-safe
|
|
|
1f9e86 |
Source0: http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-%{version}.tgz
|
|
|
1f9e86 |
BuildArch: noarch
|
|
|
1f9e86 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
1f9e86 |
|
|
|
1f9e86 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
1f9e86 |
|
|
|
1f9e86 |
%description
|
|
|
1f9e86 |
This module provides functionality similar to JavaScript's JSON.stringify, but
|
|
|
1f9e86 |
it doesn't blow up when it encounters circular references.
|
|
|
1f9e86 |
|
|
|
1f9e86 |
%prep
|
|
|
1f9e86 |
%setup -q -n package
|
|
|
1f9e86 |
|
|
|
1f9e86 |
%build
|
|
|
1f9e86 |
#nothing to do
|
|
|
1f9e86 |
|
|
|
1f9e86 |
%install
|
|
|
1f9e86 |
mkdir -p %{buildroot}%{nodejs_sitelib}/json-stringify-safe
|
|
|
1f9e86 |
cp -pr stringify.js package.json %{buildroot}%{nodejs_sitelib}/json-stringify-safe
|
|
|
1f9e86 |
|
|
|
1f9e86 |
%nodejs_symlink_deps
|
|
|
1f9e86 |
|
|
|
1f9e86 |
#%check
|
|
|
1f9e86 |
#%{?scl:scl enable %{scl} "}
|
|
|
1f9e86 |
#%__nodejs test.js
|
|
|
1f9e86 |
#%{?scl:"}
|
|
|
1f9e86 |
|
|
|
1f9e86 |
%files
|
|
|
1f9e86 |
%{nodejs_sitelib}/json-stringify-safe
|
|
|
1f9e86 |
%doc README.md LICENSE
|
|
|
1f9e86 |
|
|
|
1f9e86 |
%changelog
|
|
|
1f9e86 |
* Fri Mar 10 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 5.0.1-2
|
|
|
1f9e86 |
- Correct license
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Wed Sep 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 5.0.1-1
|
|
|
1f9e86 |
- Updated with script
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 5.0.0-3
|
|
|
1f9e86 |
- rebuilt
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 5.0.0-2
|
|
|
1f9e86 |
- replace provides and requires with macro
|
|
|
1f9e86 |
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 5.0.0-1
|
|
|
1f9e86 |
- new upstream release 5.0.0
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 4.0.0-4
|
|
|
1f9e86 |
- restrict to compatible arches
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 4.0.0-3
|
|
|
1f9e86 |
- add macro for EPEL6 dependency generation
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.0.0-3
|
|
|
1f9e86 |
- Add support for software collections
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 4.0.0-2
|
|
|
1f9e86 |
- fix rpmlint warnings
|
|
|
1f9e86 |
|
|
|
1f9e86 |
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 4.0.0-1
|
|
|
1f9e86 |
- initial package
|