[nodejs-w3cjs] Add missing w3cjs binary
Ralph Bean
ralph at fedoraproject.org
Thu Feb 5 19:16:14 UTC 2015
commit 5423ac80638448f47799d2047a1a02165941edf5
Author: Parag Nemade <pnemade at redhat.com>
Date: Thu Feb 5 14:15:59 2015 -0500
Add missing w3cjs binary
nodejs-w3cjs.spec | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-w3cjs.spec b/nodejs-w3cjs.spec
index cc74cab..e7c3a65 100644
--- a/nodejs-w3cjs.spec
+++ b/nodejs-w3cjs.spec
@@ -5,7 +5,7 @@
Name: nodejs-w3cjs
Version: 0.1.25
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A node.js module for using the w3c validator
Group: Development/Libraries
@@ -50,16 +50,23 @@ rm -rf node_modules/
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/w3cjs
-cp -pr package.json lib \
+cp -pr package.json lib bin/ \
%{buildroot}%{nodejs_sitelib}/w3cjs
+mkdir -p %{buildroot}%{_bindir}
+ln -s %{nodejs_sitelib}/%{barename}/bin/w3cjs %{buildroot}%{_bindir}
+
%nodejs_symlink_deps
%files
%doc README.md LICENSE
+%{_bindir}/w3cjs
%{nodejs_sitelib}/w3cjs/
%changelog
+* Wed Dec 24 2014 Parag Nemade <pnemade AT redhat.com> - 0.1.25-4
+- Add missing w3cjs binary
+
* Thu Sep 25 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.1.25-3
- fix superagent-proxy dep
More information about the scm-commits
mailing list