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=70229be....
Change:
+%ifarch %{ix86} %{arm}
Thanks.
Full change:
============
commit 70229be76d9b65f8516c6e03155be0c69f2a1ce0
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Jul 28 23:25:28 2022 +0200
Update to version 0.10.4; Fixes RHBZ#2108594
diff --git a/prost-fix-metadata.diff b/prost-fix-metadata.diff
new file mode 100644
index 0000000..42aa131
--- /dev/null
+++ b/prost-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- 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
+@@ -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 5e8696f..847b556 100644
--- a/rust-prost.spec
+++ b/rust-prost.spec
@@ -1,22 +1,29 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 22
+# * 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-%{crate}
-Version: 0.8.0
+Name: rust-prost
+Version: 0.10.4
Release: %autorelease
Summary: Protocol Buffers implementation for the Rust Language
-# Upstream license specification: Apache-2.0
-License: ASL 2.0
+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
+Patch: prost-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Protocol Buffers implementation for the Rust Language.}
@@ -33,9 +40,10 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc FUZZING.md README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/FUZZING.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,7 +55,7 @@ This package contains library source intended for building other
packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no-recursion-limit-devel
Summary: %{summary}
@@ -59,7 +67,7 @@ This package contains library source intended for building other
packages which
use the "no-recursion-limit" feature of the "%{crate}" crate.
%files -n %{name}+no-recursion-limit-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+prost-derive-devel
Summary: %{summary}
@@ -71,7 +79,7 @@ This package contains library source intended for building other
packages which
use the "prost-derive" feature of the "%{crate}" crate.
%files -n %{name}+prost-derive-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@@ -83,13 +91,10 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-%if 0%{?__isa_bits} == 32
-sed -i -e '/lto/d' Cargo.toml
-%endif
%cargo_prep
%generate_buildrequires
diff --git a/sources b/sources
index c4693f3..a77c1d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (prost-0.8.0.crate) =
6a1502d868a6140576e28ba72dca83cf316ab2f3da32a1ed489444480dce3b7844dfd0b5d5895d6f5cf7f3b35ff317023aa91562ae1c11b9f1ba27357a7ab6f4
+SHA512 (prost-0.10.4.crate) =
4cc62a3a13f12ae03cc278c6e9c2e52bf7700028b070f0e79bd038be35f41aceabfd6bb3b540eb714da334d5fd8943da5cc9d8e3b4ff8bcc0b6e10eca3d8c83d
commit 0a4cddb83dff8159bba5c8fbaa6dc8af6b9ec1b2
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Jul 28 20:32:46 2022 +0200
Convert to rpmautospec
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..09acf18
--- /dev/null
+++ b/changelog
@@ -0,0 +1,20 @@
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Sun Feb 20 2022 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.8.0-1
+- Update to 0.8.0
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Sun Jan 03 2021 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.7.0-1
+- Update to 0.7.0
+
+* Sun Aug 02 2020 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.6.1-1
+- Initial package
diff --git a/rust-prost.spec b/rust-prost.spec
index cac85d7..5e8696f 100644
--- a/rust-prost.spec
+++ b/rust-prost.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.8.0
-Release: 2%{?dist}
+Release: %autorelease
Summary: Protocol Buffers implementation for the Rust Language
# Upstream license specification: Apache-2.0
@@ -107,23 +107,4 @@ sed -i -e '/lto/d' Cargo.toml
%endif
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Sun Feb 20 2022 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.8.0-1
-- Update to 0.8.0
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Sun Jan 03 2021 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.7.0-1
-- Update to 0.7.0
-
-* Sun Aug 02 2020 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.6.1-1
-- Initial package
+%autochangelog
commit 4e2b1f6fdff7ec8868d0a20b60579ee24ab62445
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 05:56:59 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-prost.spec b/rust-prost.spec
index d10be28..cac85d7 100644
--- a/rust-prost.spec
+++ b/rust-prost.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Protocol Buffers implementation for the Rust Language
# Upstream license specification: Apache-2.0
@@ -107,6 +107,9 @@ sed -i -e '/lto/d' Cargo.toml
%endif
%changelog
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
* Sun Feb 20 2022 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.8.0-1
- Update to 0.8.0
commit 001ce440402712e6dc726924751cde9f4ab08bc3
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Sun Feb 20 23:34:01 2022 +0000
0.8.0
diff --git a/rust-prost.spec b/rust-prost.spec
index 4feee5c..d10be28 100644
--- a/rust-prost.spec
+++ b/rust-prost.spec
@@ -1,12 +1,12 @@
-# Generated by rust2rpm 16
+# Generated by rust2rpm 20
%bcond_with check
%global debug_package %{nil}
%global crate prost
Name: rust-%{crate}
-Version: 0.7.0
-Release: 4%{?dist}
+Version: 0.8.0
+Release: 1%{?dist}
Summary: Protocol Buffers implementation for the Rust Language
# Upstream license specification: Apache-2.0
@@ -15,9 +15,6 @@ URL:
https://crates.io/crates/prost
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
BuildRequires: rust-packaging
@@ -32,12 +29,12 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
%license LICENSE
-%doc README.md
+%doc FUZZING.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
@@ -46,8 +43,8 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -58,8 +55,8 @@ BuildArch: noarch
%description -n %{name}+no-recursion-limit-devel %{_description}
-This package contains library source intended for building other packages
-which use "no-recursion-limit" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "no-recursion-limit" feature of the "%{crate}" crate.
%files -n %{name}+no-recursion-limit-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -70,8 +67,8 @@ BuildArch: noarch
%description -n %{name}+prost-derive-devel %{_description}
-This package contains library source intended for building other packages
-which use "prost-derive" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "prost-derive" feature of the "%{crate}" crate.
%files -n %{name}+prost-derive-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -82,8 +79,8 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description}
-This package contains library source intended for building other packages
-which use "std" feature of "%{crate}" crate.
+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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -110,6 +107,9 @@ sed -i -e '/lto/d' Cargo.toml
%endif
%changelog
+* Sun Feb 20 2022 Peter Robinson <pbrobinson(a)fedorapeople.org> - 0.8.0-1
+- Update to 0.8.0
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index 2072fe3..c4693f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (prost-0.7.0.crate) =
ee080e005f908dc6eac0b583db018498edf2306c9d4a01106cde944eff2418de3024874a9d691336e4d0e3816b2f274195ea86dc0f4d7b9b3f29bb4029c63dec
+SHA512 (prost-0.8.0.crate) =
6a1502d868a6140576e28ba72dca83cf316ab2f3da32a1ed489444480dce3b7844dfd0b5d5895d6f5cf7f3b35ff317023aa91562ae1c11b9f1ba27357a7ab6f4
commit f6e554bc06a342fd6e4fcd377ffed6e87f85f102
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 22:28:29 2022 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-prost.spec b/rust-prost.spec
index f38f4a0..4feee5c 100644
--- a/rust-prost.spec
+++ b/rust-prost.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.7.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Protocol Buffers implementation for the Rust Language
# Upstream license specification: Apache-2.0
@@ -110,6 +110,9 @@ sed -i -e '/lto/d' Cargo.toml
%endif
%changelog
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.0-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild