From b8086a2945e80c238ce0de6bb6c2fe42c939447d Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Jul 28 2013 21:14:32 +0000 Subject: Restrict to compatible arches --- diff --git a/nodejs-q.spec b/nodejs-q.spec index ffa4c93..504fb62 100644 --- a/nodejs-q.spec +++ b/nodejs-q.spec @@ -4,7 +4,7 @@ Name: nodejs-q Version: 0.9.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A tool for making and composing asynchronous promises in JavaScript # q.js appears to contain both MIT and ASL 2.0 licensed code License: MIT and ASL 2.0 @@ -15,9 +15,15 @@ Source0: http://registry.npmjs.org/q/-/q-%{version}.tgz # revision control repository. Source1: tests-v%{version}.tar.bz2 Source10: dl-tests.sh + BuildArch: noarch +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif -BuildRequires: nodejs-devel +BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(jasmine-node) @@ -67,6 +73,9 @@ cp -pr package.json q.js queue.js \ %changelog +* Sun Jul 28 2013 Jamie Nguyen - 0.9.6-2 +- restrict to compatible arches + * Fri Jun 21 2013 Jamie Nguyen - 0.9.6-1 - update to upstream release 0.9.6 - add %%check and related BR