Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package deno for openSUSE:Factory checked in at 2023-01-29 14:11:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deno (Old) and /work/SRC/openSUSE:Factory/.deno.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deno" Sun Jan 29 14:11:14 2023 rev:7 rq:1061824 version:1.30.0 Changes: -------- --- /work/SRC/openSUSE:Factory/deno/deno.changes 2022-10-18 12:45:12.317751795 +0200 +++ /work/SRC/openSUSE:Factory/.deno.new.32243/deno.changes 2023-01-29 14:27:22.380428322 +0100 @@ -1,0 +2,15 @@ +Sat Jan 28 23:33:53 UTC 2023 - Avindra Goolcharan <[email protected]> + +- update to 1.30.0: + * many changes, see https://github.com/denoland/deno/compare/v1.26.2...v1.30.0 + +------------------------------------------------------------------- +Thu Jan 26 10:52:37 UTC 2023 - Guillaume GARDET <[email protected]> + +- Switch from deprecated rust-packaging to cargo-packaging +- Disable LTO to build with half of the RAM (fixes build on aarch64): + * deno-disbale-lto.patch +- Update _constraints with current values +- remove Cargo.lock to bypass checksum errors in rusty_v8 + +------------------------------------------------------------------- Old: ---- deno-1.26.2.tar.xz New: ---- cargo_config deno-1.30.0.tar.xz deno-disbale-lto.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deno.spec ++++++ --- /var/tmp/diff_new_pack.Br7dVL/_old 2023-01-29 14:27:23.692435573 +0100 +++ /var/tmp/diff_new_pack.Br7dVL/_new 2023-01-29 14:27:23.696435595 +0100 @@ -1,9 +1,9 @@ # # spec file for package deno # -# Copyright (c) 2022 SUSE LLC -# Copyright (c) 2020-2022 Avindra Goolcharan <[email protected]> -# Copyright (c) 2018-2022 the Deno authors +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2020-2023 Avindra Goolcharan <[email protected]> +# Copyright (c) 2018-2023 the Deno authors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ Name: deno -Version: 1.26.2 +Version: 1.30.0 Release: 0 Summary: A secure JavaScript and TypeScript runtime License: MIT @@ -27,9 +27,13 @@ URL: https://github.com/denoland/deno Source0: %{name}-%{version}.tar.xz Source1: vendor.tar.xz +Source2: cargo_config Source99: revendor_source.sh +# PATCH-FIX-OPENSUSE - Disable LTO +Patch1: deno-disbale-lto.patch # gcc-c++ needed to build SPIRV-Cross BuildRequires: clang +BuildRequires: cargo-packaging BuildRequires: gcc-c++ BuildRequires: gn BuildRequires: lld @@ -37,8 +41,7 @@ BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: python3-base -BuildRequires: rust >= 1.53.0 -BuildRequires: rust-packaging +BuildRequires: rust >= 1.62.1 BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) @@ -58,8 +61,9 @@ %prep %autosetup -a1 -p1 -%define cargo_registry $(pwd)/vendor -%{cargo_prep} +cp %{SOURCE2} .cargo/config +# Drop lock file due to revendor_source.sh breaking check +rm Cargo.lock %build # workaround to use python3 ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.Br7dVL/_old 2023-01-29 14:27:23.740435838 +0100 +++ /var/tmp/diff_new_pack.Br7dVL/_new 2023-01-29 14:27:23.744435860 +0100 @@ -6,34 +6,11 @@ <constraints> <hardware> <disk> - <size unit="G">4</size> + <size unit="G">18</size> </disk> <physicalmemory> - <size unit="G">11</size> + <size unit="G">12</size> </physicalmemory> - <memoryperjob> - <size unit="G">1</size> - </memoryperjob> </hardware> - <overwrite> - <conditions> - <arch>aarch64</arch> - </conditions> - <hardware> - <physicalmemory> - <size unit="G">15</size> - </physicalmemory> - </hardware> - </overwrite> - <overwrite> - <conditions> - <arch>x86_64</arch> - </conditions> - <hardware> - <disk> - <size unit="G">25</size> - </disk> - </hardware> - </overwrite> </constraints> ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Br7dVL/_old 2023-01-29 14:27:23.768435993 +0100 +++ /var/tmp/diff_new_pack.Br7dVL/_new 2023-01-29 14:27:23.772436015 +0100 @@ -13,8 +13,8 @@ <service name="tar_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/denoland/deno</param> - <param name="revision">v1.26.2</param> - <param name="version">1.26.2</param> + <param name="revision">v1.30.0</param> + <param name="version">1.30.0</param> <!-- remove large docs --> <param name="exclude">docs</param> @@ -37,8 +37,8 @@ <service name="tar_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/denoland/rusty_v8</param> - <param name="revision">v0.53.1</param> - <param name="version">0.53.1</param> + <param name="revision">v0.60.1</param> + <param name="version">0.60.1</param> <param name="exclude">.github</param> <!-- @@ -139,6 +139,9 @@ <param name="file">*.tar</param> <param name="compression">xz</param> </service> + <service name="cargo_audit" mode="disabled"> + <param name="srcdir">deno</param> + </service> </services> ++++++ cargo_config ++++++ [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" ++++++ deno-1.26.2.tar.xz -> deno-1.30.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/deno/deno-1.26.2.tar.xz /work/SRC/openSUSE:Factory/.deno.new.32243/deno-1.30.0.tar.xz differ: char 15, line 1 ++++++ deno-disbale-lto.patch ++++++ --- deno-1.26.2/Cargo.toml.orig 2023-01-26 10:13:11.259679321 +0100 +++ deno-1.26.2/Cargo.toml 2023-01-26 10:13:28.467861544 +0100 @@ -37,14 +37,12 @@ exclude = ["test_util/std/hash/_wasm"] [profile.release] codegen-units = 1 incremental = true -lto = true opt-level = 'z' # Optimize for size # NB: the `bench` and `release` profiles must remain EXACTLY the same. [profile.bench] codegen-units = 1 incremental = true -lto = true opt-level = 'z' # Optimize for size # Key generation is too slow on `debug` ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/deno/vendor.tar.xz /work/SRC/openSUSE:Factory/.deno.new.32243/vendor.tar.xz differ: char 15, line 1
