[nodejs-stylus] Update to 0.35.1 and restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Tue Jul 30 15:27:03 UTC 2013
commit f03bed1e77cd6fa0c56339cf279f7710f7fc218d
Author: Jamie Nguyen <j at jamielinux.com>
Date: Tue Jul 30 16:26:32 2013 +0100
Update to 0.35.1 and restrict to compatible arches
.gitignore | 3 +++
dl-docs.sh | 2 +-
dl-tests.sh | 2 +-
nodejs-stylus.spec | 25 +++++++++++++++++++------
sources | 6 +++---
5 files changed, 27 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d2e1854..da38806 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
/docs-0.32.1.tar.bz2
/stylus-0.32.1.tgz
/tests-0.32.1.tar.bz2
+/docs-0.35.0.tar.bz2
+/stylus-0.35.1.tgz
+/tests-0.35.0.tar.bz2
diff --git a/dl-docs.sh b/dl-docs.sh
old mode 100755
new mode 100644
index e0b0c45..686253d
--- a/dl-docs.sh
+++ b/dl-docs.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-tag=0.32.1
+tag=0.35.0
set -e
diff --git a/dl-tests.sh b/dl-tests.sh
old mode 100755
new mode 100644
index 523e94e..c8438ef
--- a/dl-tests.sh
+++ b/dl-tests.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-tag=0.32.1
+tag=0.35.0
set -e
diff --git a/nodejs-stylus.spec b/nodejs-stylus.spec
index c444090..493572d 100644
--- a/nodejs-stylus.spec
+++ b/nodejs-stylus.spec
@@ -3,8 +3,8 @@
%global enable_tests 1
Name: nodejs-stylus
-Version: 0.32.1
-Release: 2%{?dist}
+Version: 0.35.1
+Release: 1%{?dist}
Summary: Robust, expressive, and feature-rich CSS super-set for Node.js
License: MIT
Group: System Environment/Libraries
@@ -13,20 +13,29 @@ Source0: http://registry.npmjs.org/stylus/-/stylus-%{version}.tgz
# The test files are not included in the npm tarball.
# Source1 is generated by running Source10, which pulls from the upstream
# version control repository.
-Source1: tests-%{version}.tar.bz2
-Source2: docs-%{version}.tar.bz2
+Source1: tests-0.35.0.tar.bz2
+# Source2 is generated by running Source20, which pulls from the upstream
+# version control repository.
+Source2: docs-0.35.0.tar.bz2
# Custom man page for /usr/bin/stylus
Source3: stylus.1
Source10: dl-tests.sh
Source20: dl-docs.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(debug)
BuildRequires: npm(mkdirp)
BuildRequires: npm(mocha)
+BuildRequires: npm(sax)
BuildRequires: npm(should)
%endif
@@ -71,7 +80,7 @@ install -p -D -m0644 %{SOURCE2} \
%if 0%{?enable_tests}
%check
-ln -sf %{nodejs_sitelib} .
+%nodejs_symlink_deps --check
%{nodejs_sitelib}/mocha/bin/mocha --require should --bail --reporter dot
%endif
@@ -84,6 +93,10 @@ ln -sf %{nodejs_sitelib} .
%changelog
+* Tue Jul 30 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.35.1-1
+- update to upstream release 0.35.1
+- restrict to compatible arches
+
* Fri Jun 07 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.32.1-2
- add docs/ directory from upstream git
- enable tests
diff --git a/sources b/sources
index 0b30338..9a4718f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-bde8571633493eea22095c2446f9422c docs-0.32.1.tar.bz2
-782b5453cdcb1332cc83d94f6aee3821 stylus-0.32.1.tgz
-a60e5646baab4c3820150832fa80828a tests-0.32.1.tar.bz2
+e906b03516d125853e2691cf80abd657 docs-0.35.0.tar.bz2
+baf21bc2f41402934a7f14735a26306f stylus-0.35.1.tgz
+012110f2e50d11b64ab1afaf6e59c262 tests-0.35.0.tar.bz2
More information about the scm-commits
mailing list