The package rpms/rust-rustls.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-rustls.git/commit/?id=dd1604....
Change:
-%ifarch %{supported_arches}
Thanks.
Full change:
============
commit dd1604b817fab2f532848cb68c800480be9259f1
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Oct 27 17:15:35 2023 +0200
Update to version 0.21.8; Fixes RHBZ#2219880
diff --git a/.gitignore b/.gitignore
index 1a68013..fc4d20d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/rustls-0.19.1.crate
/rustls-0.20.8.crate
/rustls-0.21.1.crate
+/rustls-0.21.8.crate
diff --git a/rust-rustls.spec b/rust-rustls.spec
index d4b006c..5bd132d 100644
--- a/rust-rustls.spec
+++ b/rust-rustls.spec
@@ -1,14 +1,11 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate rustls
-# compile and run tests only on supported architectures
-%global supported_arches x86_64 %{ix86} aarch64 %{arm}
-
Name: rust-rustls
-Version: 0.21.1
+Version: 0.21.8
Release: %autorelease
Summary: Modern TLS library written in Rust
@@ -16,7 +13,7 @@ License: Apache-2.0 OR ISC OR MIT
URL:
https://crates.io/crates/rustls
Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rustls is a modern TLS library written in Rust.}
@@ -148,27 +145,23 @@ use the "tls12" 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
%cargo_generate_buildrequires
%build
-%ifarch %{supported_arches}
%cargo_build
-%endif
%install
%cargo_install
%if %{with check}
-%ifarch %{supported_arches}
%check
# * files needed for integration tests are not included in published crates
-%cargo_test -- --lib -- --skip msgs::message_test::test_read_fuzz_corpus
-%cargo_test -- --doc
-%endif
+%cargo_test -- --lib -- --exact --skip msgs::message_test::test_read_fuzz_corpus
+%cargo_test -- --doc -- --exact --skip msgs::message_test::test_read_fuzz_corpus
%endif
%changelog
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 53a9929..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-[DEFAULT]
-supported-arches =
- x86_64
- %{ix86}
- aarch64
- %{arm}
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..82c20d0
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[tests]
+run = ["lib", "doc"]
+skip = ["msgs::message_test::test_read_fuzz_corpus"]
+skip-exact = true
+comments = ["files needed for integration tests are not included in published
crates"]
diff --git a/sources b/sources
index a22f5c6..a76bf5e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustls-0.21.1.crate) =
df07a0612841f94c81d73334f4c38f887bc58ce5e4190a465c124ff56e1c6ca7051fffc754bbd314d4e6ddae50b0ad75511547e7505bcbaea7cf07ba1e2ea4dc
+SHA512 (rustls-0.21.8.crate) =
ca1034b531187a14abead63eb3e132bde260dc2d5e8262372879830f0db9d1960f39b0f29f132254b375155ca430ef085e081a87d642c7f90ed8a894660257ea
commit 18491314584c106b6e9a30cea39768a892f51327
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 21 23:16:06 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>