The package rpms/rust-ctr.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-ctr.git/commit/?id=6889ff17a807....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 025278aae7e9b476ee1e18ea37de66539b97e6fa Author: Benjamin A. Beasley code@musicinmybrain.net Date: Fri Aug 28 08:53:24 2026 +0100
Update to version 0.10.1; Fixes RHBZ#2457383
diff --git a/.gitignore b/.gitignore index 416aaa1..ecbdc6b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /ctr-0.8.0.crate /ctr-0.9.1.crate /ctr-0.9.2.crate +/ctr-0.10.1.crate diff --git a/ctr-fix-metadata.diff b/ctr-fix-metadata.diff index 8d96cfd..47ac35c 100644 --- a/ctr-fix-metadata.diff +++ b/ctr-fix-metadata.diff @@ -1,15 +1,15 @@ ---- ctr-0.9.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ ctr-0.9.2/Cargo.toml 2026-08-28T07:51:15.377600+00:00 -@@ -52,12 +52,6 @@ +--- ctr-0.10.1/Cargo.toml 2006-07-24T01:21:28+00:00 ++++ ctr-0.10.1/Cargo.toml 2026-08-28T07:52:45.579646+00:00 +@@ -71,12 +71,6 @@ [dev-dependencies.hex-literal] - version = "0.3.3" + version = "1"
-[dev-dependencies.kuznyechik] --version = "0.8" +-version = "0.9" - -[dev-dependencies.magma] --version = "0.8" +-version = "0.10" - - [features] - alloc = ["cipher/alloc"] - block-padding = ["cipher/block-padding"] + [lints.clippy] + borrow_as_ptr = "warn" + cast_lossless = "warn" diff --git a/rust-ctr.spec b/rust-ctr.spec index f37716d..80d8e79 100644 --- a/rust-ctr.spec +++ b/rust-ctr.spec @@ -5,7 +5,7 @@ %global crate ctr
Name: rust-ctr -Version: 0.9.2 +Version: 0.10.1 Release: %autorelease Summary: CTR block modes of operation
@@ -75,18 +75,6 @@ use the "block-padding" feature of the "%{crate}" crate. %files -n %{name}+block-padding-devel %ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+std-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+std-devel %{_description} - -This package contains library source intended for building other packages which -use the "std" feature of the "%{crate}" crate. - -%files -n %{name}+std-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+zeroize-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 921dfbf..4ea4fcc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ctr-0.9.2.crate) = 6a027f4e3881e51e3dbcb89348c961a2086bb63e70652c49107f49b7d021e31f74ec8c6ae91fd1605928f93f5ffa27889f257c166669e18508995168f17b46a5 +SHA512 (ctr-0.10.1.crate) = 4f0c608fc1355e78f66c9a0c581720652f52c48c0425af2c940c6b77fe1e9552ba21c674b4ec36e538eb86b8162e5bf656e13435ab4546a67199cd5895f07b88
commit e0217ae8f4edca4f6437010798ef4a154732cbc4 Author: Benjamin A. Beasley code@musicinmybrain.net Date: Fri Aug 28 08:46:36 2026 +0100
Run most of the tests
diff --git a/ctr-fix-metadata.diff b/ctr-fix-metadata.diff new file mode 100644 index 0000000..8d96cfd --- /dev/null +++ b/ctr-fix-metadata.diff @@ -0,0 +1,15 @@ +--- ctr-0.9.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ctr-0.9.2/Cargo.toml 2026-08-28T07:51:15.377600+00:00 +@@ -52,12 +52,6 @@ + [dev-dependencies.hex-literal] + version = "0.3.3" + +-[dev-dependencies.kuznyechik] +-version = "0.8" +- +-[dev-dependencies.magma] +-version = "0.8" +- + [features] + alloc = ["cipher/alloc"] + block-padding = ["cipher/block-padding"] diff --git a/rust-ctr.spec b/rust-ctr.spec index 12f1228..f37716d 100644 --- a/rust-ctr.spec +++ b/rust-ctr.spec @@ -1,6 +1,5 @@ # Generated by rust2rpm 28 -# * missing dev-dependencies: kuznyechik, magma -%bcond check 0 +%bcond check 1 %global debug_package %{nil}
%global crate ctr @@ -13,6 +12,9 @@ Summary: CTR block modes of operation License: MIT OR Apache-2.0 URL: https://crates.io/crates/ctr Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * omit unpackaged dev-deps. on kuznyechik, magma, only for test:gost +Patch: ctr-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -100,6 +102,8 @@ use the "zeroize" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep +# Unpackaged dev-dependencies for gost tests: kuznyechik, magma +sed --regexp-extended --in-place 's@^mod gost;$@// &@' tests/mod.rs
%generate_buildrequires %cargo_generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml index 4c1a549..aa12c85 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,4 +1,10 @@ -[tests] -run = false -comments = ["missing dev-dependencies: kuznyechik, magma"] +[package] +cargo-toml-patch-comments = [ + "omit unpackaged dev-deps. on kuznyechik, magma, only for test:gost", +]
+[scripts.prep] +post = [ + "# Unpackaged dev-dependencies for gost tests: kuznyechik, magma", + "sed --regexp-extended --in-place 's@^mod gost;$@// &@' tests/mod.rs", +]
commit 6889ff17a80786b3bacadb328506a6487d33389f Author: Fabio Valentini decathorpe@gmail.com Date: Wed Jul 29 22:51:13 2026 +0200
Regenerate with rust2rpm v28
diff --git a/rust-ctr.spec b/rust-ctr.spec index 7e6c9cf..12f1228 100644 --- a/rust-ctr.spec +++ b/rust-ctr.spec @@ -1,6 +1,6 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 28 # * missing dev-dependencies: kuznyechik, magma -%bcond_with check +%bcond check 0 %global debug_package %{nil}
%global crate ctr @@ -14,9 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/ctr Source: %{crates_source}
-ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: CTR block modes of operation.} @@ -100,7 +98,7 @@ use the "zeroize" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml
%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep
%generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..4c1a549 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = false +comments = ["missing dev-dependencies: kuznyechik, magma"] +
commit c89a36d671ebb50ac599e26e199e66e29c90c5a5 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jul 17 01:25:51 2026 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
arch-excludes@lists.fedoraproject.org