The package rpms/typescript.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/typescript.git/commit/?id=f7fc749....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit c7426ad29ad48a88f9d4808e07ee59adf79a41cf
Author: Carl George <carl(a)george.computer>
Date: Mon Oct 10 12:50:34 2022 -0500
Update to 4.8.4
diff --git a/sources b/sources
index dd3c74f..7ecde89 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (typescript-4.8.3.tgz) =
8283077e6d349d63daf14bd1fc23d2bf292a7fa75557cc7f769d1ce6615331322ed2ed059465918a8cb2ecd9f43c601d1f1a49667b8efeeb7e3e943c5221c08a
+SHA512 (typescript-4.8.4.tgz) =
40287ef39982cbe8742067dff2be575b339549b04ef8a7de62b31087b349e7c42e8f0704db6bbe3544a6531a85fae9fbd0ff465cac5ad8708d8934cc2649f28d
commit bdc7205c4b8acb30495857c1730828fac584a40c
Author: Carl George <carl(a)george.computer>
Date: Mon Oct 10 12:44:11 2022 -0500
Update to 4.8.4
diff --git a/typescript.spec b/typescript.spec
index 4b3df48..4c87bfe 100644
--- a/typescript.spec
+++ b/typescript.spec
@@ -1,5 +1,5 @@
Name: typescript
-Version: 4.8.3
+Version: 4.8.4
Release: %autorelease
Summary: A language for application scale JavaScript development
License: Apache-2.0
commit f7fc749ca745a9ad8efe7de56f8ec26212ab2143
Author: Carl George <carl(a)george.computer>
Date: Mon Oct 10 12:13:19 2022 -0500
Rename of nodejs-typescript to typescript, resolves rhbz#2130053
The current Node.js guidelines state that packages that mainly provide
tools that happen to written for Node.js must follow the general naming
guidelines (i.e. not prefixed with `nodejs-`).
https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/#_namin...
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b6dbd6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+typescript-*.tgz
diff --git a/README.md b/README.md
deleted file mode 100644
index 66a1843..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# typescript
-
-The typescript package
diff --git a/sources b/sources
new file mode 100644
index 0000000..dd3c74f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (typescript-4.8.3.tgz) =
8283077e6d349d63daf14bd1fc23d2bf292a7fa75557cc7f769d1ce6615331322ed2ed059465918a8cb2ecd9f43c601d1f1a49667b8efeeb7e3e943c5221c08a
diff --git a/typescript.spec b/typescript.spec
new file mode 100644
index 0000000..4b3df48
--- /dev/null
+++ b/typescript.spec
@@ -0,0 +1,50 @@
+Name: typescript
+Version: 4.8.3
+Release: %autorelease
+Summary: A language for application scale JavaScript development
+License: Apache-2.0
+URL:
https://www.typescriptlang.org
+Source:
https://registry.npmjs.org/typescript/-/typescript-%{version}.tgz
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs
+BuildRequires: nodejs-packaging
+# Obsoletes added in F38, can be removed in F40.
+Provides: nodejs-typescript = %{version}-%{release}
+Obsoletes: nodejs-typescript < 4.1.3-6
+
+
+%description
+TypeScript is a language for application-scale JavaScript. TypeScript adds
+optional types to JavaScript that support tools for large-scale JavaScript
+applications for any browser, for any host, on any OS. TypeScript compiles to
+readable, standards-based JavaScript.
+
+
+%prep
+%autosetup -n package
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/typescript
+cp -pr package.json bin/ lib/ %{buildroot}%{nodejs_sitelib}/typescript
+
+mkdir -p %{buildroot}%{_bindir}
+ln -s ../lib/node_modules/typescript/bin/tsc %{buildroot}%{_bindir}/tsc
+ln -s ../lib/node_modules/typescript/bin/tsserver %{buildroot}%{_bindir}/tsserver
+
+
+%check
+%{__nodejs} -e 'require("./")'
+
+
+%files
+%license LICENSE.txt CopyrightNotice.txt
+%{nodejs_sitelib}/typescript
+%{_bindir}/tsc
+%{_bindir}/tsserver
+
+
+%changelog
+%autochangelog