SHA256
1
0
forked from pool/asar

Accepting request 1001445 from home:dziobian:gulgul-ultron:19

pack as xz, fix licence

OBS-URL: https://build.opensuse.org/request/show/1001445
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/asar?expand=0&rev=4
This commit is contained in:
2022-09-06 11:49:37 +00:00
committed by Git OBS Bridge
parent 45a0c8df3f
commit 886e6dce53
4 changed files with 14 additions and 17 deletions

View File

@@ -20,20 +20,19 @@ Name: asar
Version: 3.2.0
Release: 0
Summary: Creating atom-shell (electron) app packages
License: MIT and X11 and ISC and SUSE-WTFPL-2.0 and Apache-2.0 and BSD-3-Clause
License: MIT and ISC
Group: Development/Languages/NodeJS
Url: https://github.com/electron/asar
Source0: https://github.com/electron/asar/archive/refs/tags/v%{version}.tar.gz
# Created by prepare-vendor.sh
Source1: vendor.tar.zst
Source1: vendor.tar.xz
BuildArch: noarch
BuildRequires: fdupes
BuildRequires: nodejs-packaging
BuildRequires: npm
BuildRequires: zstd
%global __requires_exclude ^npm(.*)$
Provides: nodejs-asar = %{version}
%description
@@ -46,7 +45,6 @@ having random access support.
%autosetup -p1 -a 1
%build
cd node_modules
npm rebuild --verbose
%install
@@ -78,6 +76,9 @@ find -name '.releaserc*' -type f -print -delete
%fdupes %{buildroot}
#%%check
#We can't run tests, we don't have mocha available.
%files
%defattr(-,root,root)
%doc CHANGELOG.md README.md