The package rpms/rust-tokio-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-tokio-rustls.git/commit/?id=f1a....
Change: -%ifarch %{supported_arches}
Thanks.
Full change: ============
commit f1a5f3ca6be7853d38a5b92c600da28995548635 Author: Fabio Valentini decathorpe@gmail.com Date: Wed Oct 25 21:28:42 2023 +0200
Disable tests due to outdated dev-dependencies
diff --git a/rust-tokio-rustls.spec b/rust-tokio-rustls.spec index 8720a63..7ce6afc 100644 --- a/rust-tokio-rustls.spec +++ b/rust-tokio-rustls.spec @@ -1,12 +1,10 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 25 +# * outdated dev-dependencies: rustls-webpki, webpki-roots +%bcond_with check %global debug_package %{nil}
%global crate tokio-rustls
-# compile and run tests only on supported architectures -%global supported_arches x86_64 %{ix86} aarch64 %{arm} - Name: rust-tokio-rustls Version: 0.24.1 Release: %autorelease @@ -17,7 +15,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/tokio-rustls Source: %{crates_source}
-BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: Asynchronous TLS/SSL streams for Tokio using Rustls.} @@ -112,27 +110,21 @@ 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 -# * skip tests that require an internet connection -# * skip tests that fail due to expired certificates -%cargo_test -- -- --exact --skip test_modern --skip test_tls12 --skip common::test_stream::stream_bad --skip common::test_stream::stream_buffered_handshake --skip common::test_stream::stream_eof --skip common::test_stream::stream_good --skip common::test_stream::stream_handshake --skip test_lazy_config_acceptor --skip pass -%endif +%cargo_test %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..85b5fd1 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["outdated dev-dependencies: rustls-webpki, webpki-roots"] +
arch-excludes@lists.fedoraproject.org