From 0863a1bf98423dd072edbb9849529af7343f492c Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: May 06 2019 06:34:40 +0000 Subject: Orphaned for 6+ weeks --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c526652..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/strip-indent-addcf90.tar.gz -/strip-indent-2.0.0.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-strip-indent.spec b/nodejs-strip-indent.spec deleted file mode 100644 index 129e760..0000000 --- a/nodejs-strip-indent.spec +++ /dev/null @@ -1,92 +0,0 @@ -%global srcname strip-indent -# tests disabled due to missing npm(ava) -%global enable_tests 0 - -Name: nodejs-%{srcname} -Version: 2.0.0 -Release: 6%{?dist} -Summary: Strip leading whitespace from every line in a string -License: MIT -URL: https://github.com/sindresorhus/strip-indent -Source0: https://registry.npmjs.com/%{srcname}/-/%{srcname}-%{version}.tgz -# tests are not included in the tarball -Source1: https://raw.githubusercontent.com/sindresorhus/%{srcname}/v%{version}/test.js - -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging - -%if 0%{?enable_tests} -BuildRequires: npm(ava) -%endif - -%description -%{summary}. - -%prep -%setup -n package -rm -rf node_modules - -%nodejs_fixdep get-stdin '5.x' - -%build -#nothing to do - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} -cp -pr package.json index.js \ - %{buildroot}%{nodejs_sitelib}/%{srcname} - -mkdir -p %{buildroot}%{_bindir} -ln -s %{nodejs_sitelib}/%{srcname}/cli.js %{buildroot}%{_bindir}/strip-indent - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -%{_bindir}/ava -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%{!?_licensedir:%global license %doc} -%doc readme.md -%license license -%{nodejs_sitelib}/%{srcname} -%{_bindir}/%{srcname} - -%changelog -* Fri Feb 01 2019 Fedora Release Engineering - 2.0.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 2.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 2.0.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 2.0.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 2.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sat Jul 16 2016 Jared Smith - 2.0.0-1 -- Update to upstream 2.0.0 release - -* Thu Feb 04 2016 Fedora Release Engineering - 1.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Mon Dec 14 2015 Piotr Popieluch - 1.0.1-2 -- Fixdep get-stdin - -* Sat Aug 29 2015 Piotr Popieluch - 1.0.1-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index 53d9e5e..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -30525df21ec48303b67241723d693781 strip-indent-2.0.0.tgz diff --git a/test.js b/test.js deleted file mode 100644 index 40cbc04..0000000 --- a/test.js +++ /dev/null @@ -1,9 +0,0 @@ -import test from 'ava'; -import m from './'; - -test(t => { - t.is(m('\nunicorn\n'), '\nunicorn\n'); - t.is(m('\n unicorn\n'), '\nunicorn\n'); - t.is(m('\t\t\n\t\t\n\t\t\t\n\n\n\n\t\t\t\t

Hello world!

\n\t\t\t\n\t\t'), '\n\n\t\n\n\n\n\t\t

Hello world!

\n\t\n'); - t.is(m('\n\t\n\t\tunicorn\n\n\n\n\t\t\tunicorn'), '\n\t\nunicorn\n\n\n\n\tunicorn', 'ignore whitespace only lines'); -});