The package rpms/rust-prost.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-prost.git/commit/?id=1d85bed...
https://src.fedoraproject.org/cgit/rpms/rust-prost.git/commit/?id=853e6d1....
Change:
-%ifarch %{ix86} %{arm}
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1d85bed91ff0d20e532daddc6bf52244e6817672
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Fri Jan 19 15:42:34 2024 +0000
0.12.3
diff --git a/prost-fix-metadata.diff b/prost-fix-metadata.diff
deleted file mode 100644
index 8f58568..0000000
--- a/prost-fix-metadata.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- prost-0.10.4/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ prost-0.10.4/Cargo.toml 2023-10-28T17:47:42.629128+00:00
-@@ -46,9 +46,6 @@
- version = "0.10.0"
- optional = true
-
--[dev-dependencies.criterion]
--version = "0.3"
--
- [dev-dependencies.env_logger]
- version = "0.8"
- default-features = false
diff --git a/rust-prost.spec b/rust-prost.spec
index 06011a1..7a876c2 100644
--- a/rust-prost.spec
+++ b/rust-prost.spec
@@ -1,25 +1,17 @@
# Generated by rust2rpm 25
-# * compiling tests fails with OOM issues on 32-bit architectures
-%ifarch %{ix86} %{arm}
%bcond_with check
-%else
-%bcond_without check
-%endif
%global debug_package %{nil}
%global crate prost
Name: rust-prost
-Version: 0.10.4
+Version: 0.12.3
Release: %autorelease
Summary: Protocol Buffers implementation for the Rust Language
License: Apache-2.0
URL:
https://crates.io/crates/prost
Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * drop unused, benchmark-only criterion dev-dependency
-Patch: prost-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -40,6 +32,7 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/FUZZING.md
+%doc %{crate_instdir}/KANI.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
diff --git a/sources b/sources
index a77c1d5..d1a0039 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (prost-0.10.4.crate) =
4cc62a3a13f12ae03cc278c6e9c2e52bf7700028b070f0e79bd038be35f41aceabfd6bb3b540eb714da334d5fd8943da5cc9d8e3b4ff8bcc0b6e10eca3d8c83d
+SHA512 (prost-0.12.3.crate) =
08a910897ba623e2773964a016a16f5b40b8f95037825fd6b2160912346ef83522482745ff3a17a77a634867b9dece8d5c10a22ac1cf779e632c5c7501897f24
commit 853e6d1910f70bff430b1400f5a3fc24ee635777
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Oct 28 19:56:23 2023 +0200
Regenerate with rust2rpm v25
diff --git a/README.md b/README.md
deleted file mode 100644
index 43d5491..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-prost
-
-The rust-prost package
diff --git a/prost-fix-metadata.diff b/prost-fix-metadata.diff
index 42aa131..8f58568 100644
--- a/prost-fix-metadata.diff
+++ b/prost-fix-metadata.diff
@@ -1,5 +1,5 @@
--- prost-0.10.4/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ prost-0.10.4/Cargo.toml 2022-07-28T19:04:54.269199+00:00
++++ prost-0.10.4/Cargo.toml 2023-10-28T17:47:42.629128+00:00
@@ -46,9 +46,6 @@
version = "0.10.0"
optional = true
diff --git a/rust-prost.spec b/rust-prost.spec
index 847b556..06011a1 100644
--- a/rust-prost.spec
+++ b/rust-prost.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 25
# * compiling tests fails with OOM issues on 32-bit architectures
%ifarch %{ix86} %{arm}
%bcond_with check
@@ -18,15 +18,13 @@ License: Apache-2.0
URL:
https://crates.io/crates/prost
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * drop unused, benchmark-only criterion dev-dependency to speed up builds
+# * drop unused, benchmark-only criterion dev-dependency
Patch: prost-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
-Protocol Buffers implementation for the Rust Language.}
+A Protocol Buffers implementation for the Rust Language.}
%description %{_description}
@@ -94,7 +92,7 @@ use the "std" 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