diff --git a/_service b/_service index d8ecb0f..2f99f81 100644 --- a/_service +++ b/_service @@ -3,8 +3,8 @@ https://github.com/microsoft/typescript-go git - ffa058269dbc4a3749c1f0494a3eb0c8d6b96517 - 0.0.471 + 3ab630d865af74daac9c372af6ceacce10d167bd + 0.0.512 .git .github .gitignore diff --git a/typescript-go-0.0.471.tar.zst b/typescript-go-0.0.471.tar.zst deleted file mode 100644 index 46657bd..0000000 --- a/typescript-go-0.0.471.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0e4c321990a9afdab636dd0c0765f52bfc3413df7b45eafad9349893eb96473 -size 29052023 diff --git a/typescript-go-0.0.512.tar.zst b/typescript-go-0.0.512.tar.zst new file mode 100644 index 0000000..b1512de --- /dev/null +++ b/typescript-go-0.0.512.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78139940ec7b9a9725a6053712bc55f012fb4cb9d40833850ec9c99aaceacaae +size 28799320 diff --git a/typescript-go.changes b/typescript-go.changes index 8a18935..d5f498c 100644 --- a/typescript-go.changes +++ b/typescript-go.changes @@ -1,9 +1,19 @@ +------------------------------------------------------------------- +Wed Apr 2 19:46:06 UTC 2025 - Avindra Goolcharan + +- update to version 0.0.512: + * @ 3ab630d865af74daac9c372af6ceacce10d167bd +- use default packaging macros for go +- add tests to %check section + ------------------------------------------------------------------- Wed Mar 19 20:52:43 UTC 2025 - Avindra Goolcharan - update to version 0.0.471: * @ ffa058269dbc4a3749c1f0494a3eb0c8d6b96517 -- set Group, fix Summary: lint +- fix rpm lints: + * set `Group` + * format `Summary` ------------------------------------------------------------------- Wed Mar 19 03:13:03 UTC 2025 - Avindra Goolcharan diff --git a/typescript-go.spec b/typescript-go.spec index 955dbac..5b27863 100644 --- a/typescript-go.spec +++ b/typescript-go.spec @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +%global provider_prefix github.com/microsoft/typescript-go +%global import_path %{provider_prefix} Name: typescript-go -Version: 0.0.471 +Version: 0.0.512 Release: 0 Summary: Port of TypeScript compiler to go License: Apache-2.0 @@ -36,15 +37,14 @@ typescript-go is an experimental port of the TypeScript compiler to Go. %autosetup -a1 %build -go build -mod vendor \ -%ifnarch riscv64 ppc64 - -buildmode=pie \ -%endif - -ldflags "-s -w" ./cmd/tsgo +%{goprep} %{import_path} +%{gobuild} -mod=vendor ./cmd/tsgo %install -mkdir -p %{buildroot}/%{_bindir} -install -Dm755 tsgo %{buildroot}/%{_bindir}/tsgo +%{goinstall} + +%check +%{gotest} ./... %files %license LICENSE