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
This commit is contained in:
parent
c11919e68b
commit
8377b97f23
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b1c1853616593d0e828c236c8e155a552d15a893036d307c4f424a241cf171c
|
||||
size 3636770
|
3
typescript-3.1.6.tgz
Normal file
3
typescript-3.1.6.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2cc76f3321bcdce70bdc7d8691e8d40b88a622902f8eeafbda3984ba7a9ed125
|
||||
size 7451770
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 25 11:21:11 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user