diff --git a/nodejs-got.spec b/nodejs-got.spec index 915f314..7b6acee 100644 --- a/nodejs-got.spec +++ b/nodejs-got.spec @@ -1,9 +1,11 @@ -%global enable_tests 1 +%global enable_tests 0 +# Tests require npm(ava), which isn't packaged in Fedora yet + %global module_name got Name: nodejs-%{module_name} Version: 6.7.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Simplified HTTP/HTTPS requests License: MIT @@ -15,7 +17,7 @@ ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} -BuildRequires: npm(tap) +BuildRequires: npm(ava) BuildRequires: npm(create-error-class) BuildRequires: npm(duplexer3) BuildRequires: npm(get-stream) @@ -57,10 +59,10 @@ cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name} %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' # These tests not working so remove them for now -rm -f test/test-error.js -rm -f test/test-arguments.js -rm -f test/test-https.js -rm -f test/test-http.js +#rm -f test/test-error.js +#rm -f test/test-arguments.js +#rm -f test/test-https.js +#rm -f test/test-http.js tap test/test-*.js %endif @@ -70,6 +72,9 @@ tap test/test-*.js %{nodejs_sitelib}/%{module_name} %changelog +* Wed Feb 21 2018 Jared Smith - 6.7.1-7 +- Fix up building, waiting on RHBZ#1547588 + * Thu Feb 08 2018 Fedora Release Engineering - 6.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild