Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rav1e for openSUSE:Factory checked in at 2021-10-04 18:38:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rav1e (Old) and /work/SRC/openSUSE:Factory/.rav1e.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rav1e" Mon Oct 4 18:38:53 2021 rev:10 rq:921943 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rav1e/rav1e.changes 2021-07-16 22:12:54.594759085 +0200 +++ /work/SRC/openSUSE:Factory/.rav1e.new.2443/rav1e.changes 2021-10-04 18:38:54.305954224 +0200 @@ -1,0 +2,5 @@ +Tue Sep 28 04:37:57 UTC 2021 - William Brown <william.br...@suse.com> + +- Replace rust-packaging with cargo-packaging + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rav1e.spec ++++++ --- /var/tmp/diff_new_pack.PdbI3U/_old 2021-10-04 18:38:55.013955373 +0200 +++ /var/tmp/diff_new_pack.PdbI3U/_new 2021-10-04 18:38:55.017955380 +0200 @@ -17,7 +17,6 @@ # -%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' Name: rav1e Version: 0.4.1 Release: 0 @@ -35,10 +34,9 @@ # Fix squared artefacts on image when converting to AVIF Patch0: https://github.com/xiph/rav1e/commit/f553646d70fba8e265d436103a73520eb7adec8c.patch # -BuildRequires: cargo BuildRequires: cargo-c +BuildRequires: cargo-packaging BuildRequires: nasm -BuildRequires: rust-packaging %description rav1e is an AV1 video encoder. @@ -91,10 +89,6 @@ replace-with = 'vendored-sources' [source.vendored-sources] directory = './vendor' -[build] -rustc = "%{__rustc}" -rustdoc = "%{__rustdoc}" -rustflags = %{__global_rustflags_toml} [term] verbose = true EOF @@ -104,13 +98,11 @@ sed -i 's/"rav1e_js", //' Cargo.toml %build -export RUSTFLAGS=%{rustflags} -cargo build --offline --release +%{cargo_build} CFLAGS="%{optflags}" cargo cbuild %install -export RUSTFLAGS=%{rustflags} -cargo install --offline --root=%{buildroot}%{_prefix} --path . +%{cargo_install} rm -rf %{buildroot}%{_datadir}/cargo cargo cinstall \