From 8377b97f23561674cb8a7756730a4fbb9ee6a021152948253c435da192640478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Mon, 26 Nov 2018 07:45:13 +0000 Subject: [PATCH] Accepting request 651628 from home:mcepl:work - Upgrade to 3.1.6. The list of changes is too long, you can find infromation about changes on the TypeScript wiki, e.g., in https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript OBS-URL: https://build.opensuse.org/request/show/651628 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/typescript?expand=0&rev=3 --- typescript-2.2.1.tgz | 3 --- typescript-3.1.6.tgz | 3 +++ typescript.changes | 7 +++++++ typescript.spec | 44 ++++++++++++++++++++++++-------------------- 4 files changed, 34 insertions(+), 23 deletions(-) delete mode 100644 typescript-2.2.1.tgz create mode 100644 typescript-3.1.6.tgz diff --git a/typescript-2.2.1.tgz b/typescript-2.2.1.tgz deleted file mode 100644 index 1179fde..0000000 --- a/typescript-2.2.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b1c1853616593d0e828c236c8e155a552d15a893036d307c4f424a241cf171c -size 3636770 diff --git a/typescript-3.1.6.tgz b/typescript-3.1.6.tgz new file mode 100644 index 0000000..5823359 --- /dev/null +++ b/typescript-3.1.6.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2cc76f3321bcdce70bdc7d8691e8d40b88a622902f8eeafbda3984ba7a9ed125 +size 7451770 diff --git a/typescript.changes b/typescript.changes index f9cd062..9b13f2b 100644 --- a/typescript.changes +++ b/typescript.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Nov 25 11:21:11 UTC 2018 - Matej Cepl + +- Upgrade to 3.1.6. The list of changes is too long, you can find + infromation about changes on the TypeScript wiki, e.g., in + https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript + ------------------------------------------------------------------- Thu Mar 16 15:09:27 UTC 2017 - carlos@techbyte.ca diff --git a/typescript.spec b/typescript.spec index 8c12cc7..6402bf6 100644 --- a/typescript.spec +++ b/typescript.spec @@ -1,7 +1,7 @@ # # spec file for package typescript # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,21 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: typescript -Version: 2.2.1 -Release: 0 -License: Apache-2.0 -Summary: A language for application scale JavaScript development -URL: http://typescriptlang.org/ -Group: Development/Libraries/Other -Source0: http://registry.npmjs.org/%{name}/-/%{name}-%{version}.tgz -BuildRequires: nodejs-packaging -BuildRequires: fdupes -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +Name: typescript +Version: 3.1.6 +Release: 0 +Summary: A language for application scale JavaScript development +License: Apache-2.0 +Group: Development/Libraries/Other +URL: http://typescriptlang.org/ +Source0: http://registry.npmjs.org/%{name}/-/%{name}-%{version}.tgz +BuildRequires: fdupes +BuildRequires: nodejs-packaging +BuildArch: noarch %{?nodejs_requires} %description @@ -39,20 +38,25 @@ OS. TypeScript compiles to readable, standards-based JavaScript. %prep %setup -q -n package -%build - -%install sed -i 's/\r$//' ThirdPartyNoticeText.txt sed -i 's/\r$//' README.md sed -i 's/\r$//' LICENSE.txt -sed -i 's/\r$//' CopyrightNotice.txt + +%build + +%install %nodejs_install +# Fix shebang lines +for file in %{buildroot}%{_bindir}/ts* ; do + sed -i -e "s|#!%{_bindir}/env node|#!%{_bindir}/node|" $(readlink -f $file) +done + %fdupes %{buildroot} %files -%defattr(-,root,root) -%doc ThirdPartyNoticeText.txt README.md LICENSE.txt CopyrightNotice.txt +%license LICENSE.txt ThirdPartyNoticeText.txt CopyrightNotice.txt +%doc README.md %dir %{nodejs_sitelib} %{nodejs_sitelib}/%{name} %{_bindir}/tsc