From 11aebadd1ab10a665c4a45424a28f202b732c3ba Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Jun 27 2013 11:34:28 +0000 Subject: Rename /usr/bin/zap to /usr/bin/nodejs-zap to avoid conflict with xbase --- diff --git a/nodejs-zap.spec b/nodejs-zap.spec index e9e8310..0fb6112 100644 --- a/nodejs-zap.spec +++ b/nodejs-zap.spec @@ -2,7 +2,7 @@ Name: nodejs-zap Version: 0.2.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A tiny test runner # License file added upstream: @@ -12,8 +12,9 @@ URL: https://github.com/nornagon/node-zap Source0: http://registry.npmjs.org/zap/-/zap-%{version}.tgz Source1: zap-license.txt BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch -BuildRequires: nodejs-devel +BuildRequires: nodejs-packaging %description A tiny test runner. Each test is run in a separate node @@ -32,6 +33,7 @@ rm -rf node_modules %if 0%{?enable_tests} %check +%nodejs_symlink_deps --check ./bin/zap %endif @@ -40,17 +42,20 @@ rm -rf node_modules mkdir -p %{buildroot}/%{nodejs_sitelib}/zap cp -pr package.json bin %{buildroot}/%{nodejs_sitelib}/zap mkdir -p %{buildroot}/%{_bindir} -ln -s %{nodejs_sitelib}/zap/bin/zap %{buildroot}/%{_bindir}/zap +ln -s %{nodejs_sitelib}/zap/bin/zap %{buildroot}/%{_bindir}/nodejs-zap %nodejs_symlink_deps %files %doc LICENSE README.md %{nodejs_sitelib}/zap -%{_bindir}/zap +%{_bindir}/nodejs-zap %changelog +* Thu Jun 27 2013 Tom Hughes - 0.2.5-3 +- Rename /usr/bin/zap to /usr/bin/nodejs-zap to avoid conflict with xbase + * Mon Mar 4 2013 Tom Hughes - 0.2.5-2 - Add copy of license file from upstream - Improve description