fix escaping in dependency generator regular expressions (RHBZ#923941)

This commit is contained in:
T.C. Hollingsworth 2013-03-20 13:23:18 -07:00
parent acc9dc4070
commit 5c6389687c
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,3 @@
%__nodejs_provides %{_rpmconfigdir}/nodejs.prov
%__nodejs_requires %{_rpmconfigdir}/nodejs.req
%__nodejs_path ^/usr/lib.*/node_modules/.*/package\.json$
%__nodejs_path ^/usr/lib.*/node_modules/.*/package\\.json$

View File

@ -1,6 +1,6 @@
Name: nodejs
Version: 0.10.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: JavaScript runtime
License: MIT and ASL 2.0 and ISC and BSD
Group: Development/Languages
@ -188,6 +188,9 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
%{_defaultdocdir}/%{name}-docs-%{version}
%changelog
* Wed Mar 20 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-4
- fix escaping in dependency generator regular expressions (RHBZ#923941)
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.0-3
- add virtual ABI provides for node and v8 so binary module's deps break when
binary compatibility is broken

View File

@ -1,2 +1,2 @@
%__nodejs_native_requires %{_rpmconfigdir}/nodejs_native.req
%__nodejs_native_path ^/usr/lib.*/node_modules/.*\.node$
%__nodejs_native_path ^/usr/lib.*/node_modules/.*\\.node$