[nodejs-mysql] update to latest release

tdawson tdawson at fedoraproject.org
Thu Feb 6 23:20:54 UTC 2014


commit 76f3beaab18ae610febf02da673afea07602a5e9
Author: Troy Dawson <tdawson at redhat.com>
Date:   Thu Feb 6 17:21:28 2014 -0600

    update to latest release

 .gitignore        |    1 +
 nodejs-mysql.spec |   18 ++++++++++++------
 sources           |    2 +-
 3 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7c274e2..ce0342b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /mysql-2.0.0-alpha9.tgz
+/mysql-2.0.1.tgz
diff --git a/nodejs-mysql.spec b/nodejs-mysql.spec
index be73190..5ee7a5f 100644
--- a/nodejs-mysql.spec
+++ b/nodejs-mysql.spec
@@ -3,16 +3,16 @@
 # the dependancies aren't in Fedora yet
 %global enable_tests 0
 
+%{?nodejs_find_provides_and_requires}
+
 Summary:       A node.js driver for mysql
 Name:          nodejs-%{npm_name}
-Version:       2.0.0
-Release:       alpha9.2%{?dist}
+Version:       2.0.1
+Release:       1%{?dist}
 Group:         Development/Languages
 License:       MIT
 URL:           http://github.com/felixge/node-mysql
-# Alpha 9 is marked as stable, but cannot be part of the version
-# Be sure to change this version when updating to something higher
-Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-2.0.0-alpha9.tgz
+Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
 BuildRequires: nodejs-devel
 %if 0%{?enable_tests}
 BuildRequires:  npm(underscore)
@@ -20,6 +20,7 @@ BuildRequires:  npm(urun)
 BuildRequires:  npm(utest)
 %endif
 BuildArch:     noarch
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
 
 %description
 This is a node.js driver for mysql.
@@ -36,7 +37,7 @@ and is 100% MIT licensed.
 
 %install
 mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
-cp -pr benchmark index.js lib Makefile package.json test tool %{buildroot}%{nodejs_sitelib}/%{npm_name}
+cp -pr index.js lib package.json tool %{buildroot}%{nodejs_sitelib}/%{npm_name}
 
 %if 0%{?enable_tests}
 %check
@@ -48,6 +49,11 @@ make test
 %{nodejs_sitelib}/%{npm_name}
 
 %changelog
+* Thu Feb 06 2014 Troy Dawson <tdawson at redhat.com> - 2.0.1-1
+- Update to version 2.0.1
+- add nodejs exclusive arch
+- add macro to invoke dependency generator on EL6
+
 * Thu Oct 10 2013 Troy Dawson <tdawson at redhat.com> - 2.0.0-alpha9.2
 - Fix require-all dependancy to work with version in Fedora
 
diff --git a/sources b/sources
index bb3ffc8..655cfde 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-66f0abceb05521ea74af569f965f78c3  mysql-2.0.0-alpha9.tgz
+51412276a6de2742c4cb453748dfb92a  mysql-2.0.1.tgz


More information about the scm-commits mailing list