[nodejs-strip-json-comments/f20] Initial build

anish anishpatil at fedoraproject.org
Wed Jun 4 11:37:38 UTC 2014


commit 515053caa83e60b9cac07cc747f2cdc334baede5
Author: anish <anish.developer at gmail.com>
Date:   Wed Jun 4 17:07:17 2014 +0530

    Initial build

 .gitignore                      |    1 +
 nodejs-strip-json-comments.spec |   65 +++++++++++++++++++++++++++++++++++++++
 sources                         |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..880f40b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.1.3.tar.gz
diff --git a/nodejs-strip-json-comments.spec b/nodejs-strip-json-comments.spec
new file mode 100644
index 0000000..693ffa9
--- /dev/null
+++ b/nodejs-strip-json-comments.spec
@@ -0,0 +1,65 @@
+%{?nodejs_find_provides_and_requires}
+
+Name:       nodejs-strip-json-comments
+Version:    0.1.3
+Release:    4%{?dist}
+Summary:    Strip comments from JSON
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/sindresorhus/strip-json-comments
+Source:     https://github.com/sindresorhus/strip-json-comments/archive/%{version}.tar.gz
+
+
+
+BuildArch:  noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+
+%description
+Strip comments from JSON. Lets you use comments in your JSON files!
+
+
+%prep
+%setup -q -n strip-json-comments-%{version}
+
+
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/strip-json-comments
+cp -pr package.json strip-json-comments.js \
+    %{buildroot}%{nodejs_sitelib}/strip-json-comments
+install -p -D -m0755 cli.js %{buildroot}%{nodejs_sitelib}/strip-json-comments/
+
+mkdir -p %{buildroot}%{_bindir}
+ln -s %{nodejs_sitelib}/strip-json-comments/cli.js \
+    %{buildroot}%{_bindir}/strip-json-comments
+
+%nodejs_symlink_deps
+
+
+
+%files
+%doc readme.md license
+%{nodejs_sitelib}/strip-json-comments
+%{_bindir}/strip-json-comments
+
+
+%changelog
+* Wed Jun 4 2014 Anish Patil <apatil at redhat.com> - 0.1.3-4
+- Incorporated package review comments
+
+* Wed May 28 2014 Anish Patil <apatil at redhat.com> - 0.1.2-3
+- Incorporated package review comments
+
+* Wed May 07 2014 Anish Patil <apatil at redhat.com> - 0.1.1-2
+- Incorporated package review comments
+
+* Thu Apr 10 2014 Anish Patil <apatil at redhat.com> - 0.1.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7453157 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fefcd0220f62ce17d52ffa4593e65561  0.1.3.tar.gz


More information about the scm-commits mailing list