diff --git a/.gitignore b/.gitignore index 236e3dc..8f71fa6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /xml2js-0.2.6.tgz /xml2js-tests-0.2.6.tar.bz2 +/xml2js-0.2.7.tgz +/xml2js-tests-0.2.7.tar.bz2 diff --git a/nodejs-xml2js.spec b/nodejs-xml2js.spec index c9d632b..d1e0bfd 100644 --- a/nodejs-xml2js.spec +++ b/nodejs-xml2js.spec @@ -1,8 +1,8 @@ -%global enable_tests 0 +%global enable_tests 1 Name: nodejs-xml2js -Version: 0.2.6 -Release: 2%{?dist} +Version: 0.2.7 +Release: 1%{?dist} Summary: Simple XML to JavaScript object converter License: MIT @@ -39,25 +39,29 @@ rm -rf node_modules %build -%if 0%{?enable_tests} -%check -ln -s %{nodejs_sitelib} . -%{nodejs_sitelib}/zap/bin/zap -%endif - - %install mkdir -p %{buildroot}/%{nodejs_sitelib}/xml2js cp -pr package.json lib %{buildroot}/%{nodejs_sitelib}/xml2js %nodejs_symlink_deps +%if 0%{?enable_tests} +%check +%nodejs_symlink_deps --check +%{nodejs_sitelib}/zap/bin/zap +%endif + + %files %doc LICENSE README.md %{nodejs_sitelib}/xml2js %changelog +* Tue May 7 2013 Tom Hughes - 0.2.7-1 +- Update to 0.2.7 upstream release +- Enable tests + * Wed Mar 6 2013 Tom Hughes - 0.2.6-2 - Update sax dependency diff --git a/sources b/sources index 84844c5..31a35d7 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -ab54b27d6f11213663eac861301f1981 xml2js-0.2.6.tgz -1e47b599751d8c9ccef408242786c4e1 xml2js-tests-0.2.6.tar.bz2 +c5b245cd32faef32579f6e639d69d368 xml2js-0.2.7.tgz +81ae0825825572a23fd32d5bbcb4dd13 xml2js-tests-0.2.7.tar.bz2 diff --git a/xml2js-dl-tests.sh b/xml2js-dl-tests.sh index ddae841..5134e95 100755 --- a/xml2js-dl-tests.sh +++ b/xml2js-dl-tests.sh @@ -1,6 +1,6 @@ #!/bin/bash -tag=0.2.6 +tag=0.2.7 set -e