| |
@@ -3,7 +3,7 @@
|
| |
|
| |
# https://github.com/evanw/esbuild
|
| |
%global goipath github.com/evanw/esbuild
|
| |
- Version: 0.17.7
|
| |
+ Version: 0.19.2
|
| |
|
| |
%gometa
|
| |
|
| |
@@ -24,14 +24,17 @@
|
| |
|
| |
BuildRequires: golang(golang.org/x/sys/unix)
|
| |
|
| |
- %description
|
| |
- %{common_description}
|
| |
+ %description %{common_description}
|
| |
|
| |
%gopkg
|
| |
|
| |
%prep
|
| |
%goprep
|
| |
|
| |
+ %autopatch -p1
|
| |
+ %generate_buildrequires
|
| |
+ %go_generate_buildrequires
|
| |
+
|
| |
%build
|
| |
for cmd in cmd/* ; do
|
| |
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
| |