forked from pool/esbuild
0.17.x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/esbuild?expand=0&rev=38
This commit is contained in:
parent
acf245a903
commit
b1a9898836
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02b94ca1c6c05429711c00466b0e2187d96231d5c7ca9a116f076feda7467418
|
||||
size 1706446
|
3
esbuild-0.17.5.tar.gz
Normal file
3
esbuild-0.17.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:841b5fe1b3f646026a474f57a8249ccf107b76bafe0674187042835ec5ba901b
|
||||
size 1586348
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 29 05:25:02 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
||||
|
||||
- roll 0.15.11...0.17.5
|
||||
* see CHANGELOG.md for changes
|
||||
- run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 14 22:07:20 UTC 2022 - Avindra Goolcharan <avindra@opensuse.org>
|
||||
|
||||
|
34
esbuild.spec
34
esbuild.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package esbuild
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,9 +16,12 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
#macros for Fedora
|
||||
%global goipath github.com/evanw/esbuild
|
||||
%global tag v%{version}
|
||||
%global extractdir0 esbuild-%{version}
|
||||
Name: esbuild
|
||||
Version: 0.15.11
|
||||
Version: 0.17.5
|
||||
Release: 0
|
||||
Summary: A JavaScript bundler written for speed
|
||||
License: MIT
|
||||
@ -27,25 +30,19 @@ URL: https://esbuild.github.io
|
||||
Source0: https://github.com/evanw/esbuild/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
Patch0: remove-version-check.patch
|
||||
BuildRequires: util-linux
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: golang
|
||||
BuildRequires: go-rpm-macros
|
||||
BuildRequires: golang
|
||||
%else
|
||||
BuildRequires: golang(API)
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: golang(API)
|
||||
%endif
|
||||
BuildRequires: util-linux
|
||||
|
||||
#macros for Fedora
|
||||
%global goipath github.com/evanw/esbuild
|
||||
%global tag v%{version}
|
||||
%global extractdir0 esbuild-%version
|
||||
|
||||
|
||||
%description
|
||||
esbuild is a JavaScript bundler and minifier.
|
||||
|
||||
%gopkg
|
||||
%{gopkg}
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -p1
|
||||
@ -54,19 +51,16 @@ esbuild is a JavaScript bundler and minifier.
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
|
||||
|
||||
%if 0%{?fedora}
|
||||
%goprep -k -e
|
||||
%gobuild ./cmd/esbuild
|
||||
%{goprep} -k -e
|
||||
%{gobuild} ./cmd/esbuild
|
||||
%else
|
||||
%goprep .
|
||||
%{goprep} .
|
||||
go build -v -p 4 -x -buildmode=pie -mod vendor ./cmd/esbuild
|
||||
%endif
|
||||
|
||||
|
||||
|
||||
%install
|
||||
install -pvDm755 %name "%{buildroot}/%{_bindir}/%{name}"
|
||||
install -pvDm755 %{name} "%{buildroot}/%{_bindir}/%{name}"
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:38d27b1a134ca182993b784d42a09a338e5d228bea1e6a69c4e9685b3b8959f6
|
||||
size 340620
|
||||
oid sha256:de648e389575c7375872a49fead5214522b2bfc6d2956ae753c8c95f3db0e4a4
|
||||
size 340764
|
||||
|
Loading…
x
Reference in New Issue
Block a user