From 490aabb061f63af894d43e26b40a70cccce9b790 Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Mon, 20 May 2013 19:26:26 -0700 Subject: [PATCH] add nodejs_arches macro for ExclusiveArch for Node.js packages --- redhat-rpm-config-9.1.0-arches-macros.patch | 10 ++++++++++ redhat-rpm-config.spec | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/redhat-rpm-config-9.1.0-arches-macros.patch b/redhat-rpm-config-9.1.0-arches-macros.patch index 397aa0b..ccb7f3e 100644 --- a/redhat-rpm-config-9.1.0-arches-macros.patch +++ b/redhat-rpm-config-9.1.0-arches-macros.patch @@ -11,6 +11,16 @@ diff -uNr redhat-rpm-config-9.1.0-orig/macros.mono-srpm redhat-rpm-config-9.1.0/ @@ -0,0 +1,2 @@ +# arches that mono builds on +%mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64 +diff -uNr redhat-rpm-config-9.1.0-orig/macros.nodejs-srpm redhat-rpm-config-9.1.0/macros.nodejs-srpm +--- redhat-rpm-config-9.1.0-orig/macros.nodejs-srpm 1969-12-31 17:00:00.000000000 -0700 ++++ redhat-rpm-config-9.1.0/macros.nodejs-srpm 2013-05-20 19:21:20.364367765 -0700 +@@ -0,0 +1,6 @@ ++# nodejs_arches lists what arches Node.js and dependent packages run on. ++# ++# Enabling Node.js on other arches requires porting the V8 JavaScript JIT to ++# those arches. ++ ++%nodejs_arches %{ix86} x86_64 %{arm} diff -uNr redhat-rpm-config-9.1.0-orig/macros.ocaml-srpm redhat-rpm-config-9.1.0/macros.ocaml-srpm --- redhat-rpm-config-9.1.0-orig/macros.ocaml-srpm 1969-12-31 18:00:00.000000000 -0600 +++ redhat-rpm-config-9.1.0/macros.ocaml-srpm 2011-05-27 10:42:10.638194240 -0500 diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 130556f..524cdc2 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -1,7 +1,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config Version: 9.1.0 -Release: 44%{?dist} +Release: 45%{?dist} # No version specified. License: GPL+ Group: Development/System @@ -110,6 +110,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sysconfdir}/rpm/* %changelog +* Tue May 21 2013 T.C. Hollingsworth - 9.1.0-45 +- add nodejs_arches macro for ExclusiveArch for Node.js packages + * Mon May 13 2013 Adam Jackson 9.1.0-44 - redhat-config-*: Use + to append rather than %%rename, to protect against multiple -specs= ending up in the command line. (#892837)