The package rpms/rust-gitui.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-gitui.git/commit/?id=7ed5a701d1....
Change: -%ifarch %{ix86}
Thanks.
Full change: ============
commit 7ed5a701d12ddbe46b0d05b4b63a70f19c7edabc Author: Fabio Valentini decathorpe@gmail.com Date: Sun Jun 2 19:18:30 2024 +0200
Update to version 0.26.3; Fixes RHBZ#2265325
diff --git a/gitui-fix-metadata.diff b/gitui-fix-metadata.diff index 525ac46..e7184fe 100644 --- a/gitui-fix-metadata.diff +++ b/gitui-fix-metadata.diff @@ -1,14 +1,24 @@ ---- gitui-0.24.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gitui-0.24.3/Cargo.toml 2023-11-13T14:13:11.806406+00:00 -@@ -185,14 +185,12 @@ +--- gitui-0.26.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ gitui-0.26.3/Cargo.toml 2024-06-02T16:54:41.267692+00:00 +@@ -122,7 +122,7 @@ + version = "1" + + [dependencies.parking_lot_core] +-version = "=0.9.9" ++version = "0.9.9" + + [dependencies.ratatui] + version = "0.26" +@@ -205,7 +205,6 @@ "ghemoji", "regex-fancy", "trace-libgit", - "vendor-openssl", ] ghemoji = ["gh-emoji"] - regex-fancy = ["syntect/regex-fancy"] - regex-onig = ["syntect/regex-onig"] + regex-fancy = [ +@@ -218,7 +217,6 @@ + ] timing = ["scopetime/enabled"] trace-libgit = ["asyncgit/trace-libgit"] -vendor-openssl = ["asyncgit/vendor-openssl"] diff --git a/rust-gitui.spec b/rust-gitui.spec index 7c089b7..a8ac959 100644 --- a/rust-gitui.spec +++ b/rust-gitui.spec @@ -1,15 +1,10 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check
-# reduce debuginfo verbosity to work around OOM problems on 32-bit arches -%ifarch %{ix86} -%global rustflags_debuginfo 1 -%endif - %global crate gitui
Name: rust-gitui -Version: 0.24.3 +Version: 0.26.3 Release: %autorelease Summary: Blazing fast terminal-ui for git
@@ -17,10 +12,12 @@ License: MIT URL: https://crates.io/crates/gitui Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop feature for building against vendored OpenSSL sources +# * remove feature for building / statically linking vendored OpenSSL sources +# * relax parking_lot_core dependency from =0.9.9 to ^0.9.9 Patch: gitui-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: /usr/bin/git
%global _description %{expand: Blazing fast terminal-ui for git.} @@ -29,6 +26,7 @@ Blazing fast terminal-ui for git.}
%package -n %{crate} Summary: %{summary} +# (MIT OR Apache-2.0) AND Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND MIT AND Unlicense AND WTFPL # (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD OR MIT OR Apache-2.0 @@ -37,6 +35,8 @@ Summary: %{summary} # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause +# BSD-2-Clause OR Apache-2.0 OR MIT +# BSD-3-Clause # CC0-1.0 # ISC # MIT @@ -47,7 +47,7 @@ Summary: %{summary} # MPL-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT -License: MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only WITH GCC-exception-2.0 AND ISC AND MPL-2.0 AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR GPL-3.0-or-later) AND (Unlicense OR MIT) +License: MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only WITH GCC-exception-2.0 AND ISC AND MPL-2.0 AND Unicode-DFS-2016 AND Unlicense AND WTFPL AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR GPL-3.0-or-later) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description} @@ -56,8 +56,10 @@ License: MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1. %license LICENSE.md %license LICENSE.dependencies %doc CHANGELOG.md +%doc CONTRIBUTING.md %doc FAQ.md %doc KEY_CONFIG.md +%doc NIGHTLIES.md %doc README.md %doc THEMES.md %{_bindir}/gitui @@ -70,15 +72,18 @@ License: MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1. %cargo_generate_buildrequires
%build +export GITUI_RELEASE=1 %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies
%install +export GITUI_RELEASE=1 %cargo_install
%if %{with check} %check +export GITUI_RELEASE=1 %cargo_test %endif
diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..f2e0d39 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,25 @@ +[package] +cargo-toml-patch-comments = [ + "remove feature for building / statically linking vendored OpenSSL sources", + "relax parking_lot_core dependency from =0.9.9 to ^0.9.9", +] + +[requires] +# build script fails hard if git is not available +# with git available, the commit hash embedded in the binary is "" +build = [ + "/usr/bin/git", +] + +[scripts] +# embedded version string is "nightly" if GITUI_RELEASE is not set +build.pre = [ + "export GITUI_RELEASE=1", +] +install.pre = [ + "export GITUI_RELEASE=1", +] +check.pre = [ + "export GITUI_RELEASE=1", +] + diff --git a/sources b/sources index 4ca482e..516ec62 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gitui-0.24.3.crate) = 6a7042a2792d0daf3404d05ebe14e28f3ea077aeb576cb31993b952af21bce90d9534aed902fc0f8e7a9142d680133074ff4e51607bd9472d4094788b0322192 +SHA512 (gitui-0.26.3.crate) = e20029aa001ce8a88353ab06e5cfcfe94ef33599f87c0870500f4af487f34ad1519dae14d0d120caa02f052c3603aba0485fbf183cb7aed105a7ba827009a0a1
arch-excludes@lists.fedoraproject.org