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