From e6082b63259b01d80c757e1f9540ec324cb7f51e Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Aug 21 2020 14:18:34 +0000 Subject: Revert "Orphaned for 6+ weeks" Unretirement for https://pagure.io/releng/issue/9702 This reverts commit 637074d45579ffb40dc1db3a4f61f263ff073117. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc7376e --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +/tape-1.0.2.tgz +/tape-1.0.4.tgz +/tape-3.0.1.tgz +/tape-4.2.0.tgz +/tape-4.2.1.tgz +/tape-4.2.2.tgz +/tape-4.4.0.tgz +/tape-4.5.0.tgz +/tape-4.5.1.tgz +/tape-4.6.0.tgz +/tape-4.6.1.tgz +/tape-4.6.2.tgz +/tape-4.9.0.tgz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/nodejs-tape.spec b/nodejs-tape.spec new file mode 100644 index 0000000..9b56585 --- /dev/null +++ b/nodejs-tape.spec @@ -0,0 +1,189 @@ +%{?nodejs_find_provides_and_requires} + +%global enable_tests 1 + +Name: nodejs-tape +Version: 4.9.0 +Release: 8%{?dist} +Summary: Tap-producing test harness for Node.js and browsers + +License: MIT +URL: https://github.com/substack/tape +Source0: http://registry.npmjs.org/tape/-/tape-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging +BuildRequires: npm(for-each) + +%if 0%{?enable_tests} +BuildRequires: npm(concat-stream) +BuildRequires: npm(defined) +BuildRequires: npm(deep-equal) >= 0.2.1 +#BuildRequires: npm(falafel) +BuildRequires: npm(function-bind) +BuildRequires: npm(has) +BuildRequires: npm(js-yaml) +BuildRequires: npm(jsonify) +BuildRequires: npm(minimist) +BuildRequires: npm(object-inspect) +BuildRequires: npm(resolve) +BuildRequires: npm(resumer) +BuildRequires: npm(string.prototype.trim) +BuildRequires: npm(tap) +BuildRequires: npm(tap-parser) +BuildRequires: npm(through) +%endif + +%description +%{summary}. + + +%prep +%setup -q -n package +%nodejs_fixdep glob "^6.0.4" +%nodejs_fixdep inherits "^2.0.1" +%nodejs_fixdep object-inspect "^1.1.0" +%nodejs_fixdep resolve "^1.7.1" +%nodejs_fixdep string.prototype.trim "^1.2.0" + + +%build +#nothing to do + + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/tape +cp -pr package.json index.js lib/ \ + %{buildroot}%{nodejs_sitelib}/tape + +mkdir -p %{buildroot}%{nodejs_sitelib}/tape/bin +install -p -D -m0755 bin/tape %{buildroot}%{nodejs_sitelib}/tape/bin/tape +mkdir -p %{buildroot}%{_bindir} +ln -sf %{nodejs_sitelib}/tape/bin/tape %{buildroot}%{_bindir}/tape + +%nodejs_symlink_deps + + +%check +%nodejs_symlink_deps --check +%__nodejs -e "require('./')" +%if 0%{?enable_tests} +# remove tests which need nodejs-falafel +rm test/array.js test/exit.js test/fail.js test/nested.js test/too_many.js +# remove tests which need newer tap +rm test/require.js +%tap test/*.js +%endif + + +%files +%doc readme.markdown +%license LICENSE +%{nodejs_sitelib}/tape +%{_bindir}/tape + + +%changelog +* Sat Aug 01 2020 Fedora Release Engineering - 4.9.0-8 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 4.9.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 4.9.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Aug 16 2019 Tom Hughes - 4.9.0-5 +- Update npm(string.prototype.trim) dependency + +* Thu Jul 25 2019 Fedora Release Engineering - 4.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 4.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 4.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu May 31 2018 Jared K. Smith - 4.9.0-1 +- Update to upstream 4.9.0 release + +* Thu Feb 08 2018 Fedora Release Engineering - 4.6.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 4.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 4.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Oct 2 2016 Tom Hughes - 4.6.2-1 +- Update to 4.6.2 upstream release + +* Fri Sep 30 2016 Tom Hughes - 4.6.1-2 +- Patch npm(inherits) dependency + +* Fri Sep 30 2016 Tom Hughes - 4.6.1-1 +- Update to 4.6.1 upstream release + +* Mon Jun 20 2016 Tom Hughes - 4.6.0-1 +- Update to 4.6.0 upstream release + +* Sun Apr 10 2016 Tom Hughes - 4.5.1-2 +- Update npm(object-inspect) dependency + +* Mon Mar 7 2016 Tom Hughes - 4.5.1-1 +- Update to 4.5.1 upstream release + +* Fri Mar 4 2016 Tom Hughes - 4.5.0-3 +- Update npm(through) dependency + +* Thu Mar 3 2016 Tom Hughes - 4.5.0-2 +- Update npm(resolve) dependency + +* Thu Mar 3 2016 Tom Hughes - 4.5.0-1 +- Update to 4.5.0 upstream release +- Enable as many tests as possible. + +* Sun Feb 14 2016 Tom Hughes - 4.4.0-3 +- Update npm(function-bind) dependency + +* Thu Feb 04 2016 Fedora Release Engineering - 4.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 8 2016 Tom Hughes - 4.4.0-1 +- Update to 4.4.0 upstream release + +* Fri Jan 1 2016 Tom Hughes - 4.2.2-2 +- Update npm(glob) dependency + +* Wed Oct 21 2015 Tom Hughes - 4.2.2-1 +- Update to 4.2.2 upstream release + +* Sun Sep 6 2015 Tom Hughes - 4.2.0-1 +- update to upstream release 4.2.0 +- move LICENSE file to %%license + +* Fri Sep 4 2015 Tom Hughes - 3.0.1-4 +- Fix deep-equal dependency + +* Wed Jun 17 2015 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Oct 26 2014 Jamie Nguyen - 3.0.1-2 +- fix dependency versions + +* Sun Oct 26 2014 Tom Hughes - 3.0.1-1 +- update to upstream release 3.0.1 + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Aug 05 2013 T.C. Hollingsworth - 1.0.4-1 +- new upstream release 1.0.4 +- conditionalize ExclusiveArch + +* Wed May 29 2013 Jamie Nguyen - 1.0.2-1 +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..2a1240d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (tape-4.9.0.tgz) = 8f48cef4189271faad3c16fd4263cb2f4aafc57333f7cc6390c6fbc7c94a8a9165259c0d264aa458fa2ef8d53857a4fd467561d64b92b612c4f202eb37c6c17f