From 5c6389687c2743a7787d3333d7c13fa8fa136af0 Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Wed, 20 Mar 2013 13:23:18 -0700 Subject: [PATCH] fix escaping in dependency generator regular expressions (RHBZ#923941) --- nodejs.attr | 2 +- nodejs.spec | 5 ++++- nodejs_native.attr | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nodejs.attr b/nodejs.attr index ffeb484..832a4be 100644 --- a/nodejs.attr +++ b/nodejs.attr @@ -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$ diff --git a/nodejs.spec b/nodejs.spec index f248c36..347cf57 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -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 - 0.10.0-4 +- fix escaping in dependency generator regular expressions (RHBZ#923941) + * Wed Mar 13 2013 T.C. Hollingsworth - 0.10.0-3 - add virtual ABI provides for node and v8 so binary module's deps break when binary compatibility is broken diff --git a/nodejs_native.attr b/nodejs_native.attr index 2082363..0527af6 100644 --- a/nodejs_native.attr +++ b/nodejs_native.attr @@ -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$