From c02551195c3e19cd16ba6461f05a8ee5ed398618 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Oct 08 2015 20:13:34 +0000 Subject: Initial import of nodejs-should-http --- diff --git a/.gitignore b/.gitignore index e69de29..e71880a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/should-http-0.0.4.tgz diff --git a/nodejs-should-http.spec b/nodejs-should-http.spec new file mode 100644 index 0000000..4ca8627 --- /dev/null +++ b/nodejs-should-http.spec @@ -0,0 +1,53 @@ +Name: nodejs-should-http +Version: 0.0.4 +Release: 2%{?dist} +Summary: Http requests, response assertions for should.js + +License: MIT +URL: https://github.com/shouldjs/http +Source0: https://registry.npmjs.org/should-http/-/should-http-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging + +BuildRequires: npm(mocha) +BuildRequires: npm(should) + + +%description +%{summary}. + + +%prep +%setup -q -n package +sed -i 's/\r$//' History.md +rm -rf node_modules + + +%build + + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/should-http +cp -pr package.json index.js http.js %{buildroot}%{nodejs_sitelib}/should-http +%nodejs_symlink_deps + + +%check +%nodejs_symlink_deps --check +%{nodejs_sitelib}/mocha/bin/mocha test/**.test.js + + +%files +%doc Readme.md History.md +%license LICENSE +%{nodejs_sitelib}/should-http + + +%changelog +* Fri Sep 4 2015 Tom Hughes - 0.0.4-2 +- Fix line endings + +* Thu Aug 27 2015 Tom Hughes - 0.0.4-1 +- Initial build of 0.0.4 diff --git a/sources b/sources index e69de29..0ae9bfe 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cd0202a619fd52bd687f155a36e1da0a should-http-0.0.4.tgz