Blame SPECS/nodejs-json-stringify-safe.spec

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