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=abb4a619c....
Change: +ExcludeArch: ppc64le s390x
Thanks.
Full change: ============
commit abb4a619c576304543918820ec9bc6446e8342cc Author: Fabio Valentini decathorpe@gmail.com Date: Thu May 20 17:14:04 2021 +0200
initial import (#1960974)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b925b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/rustls-0.19.1.crate diff --git a/README.md b/README.md deleted file mode 100644 index e35a0d9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-rustls - -The rust-rustls package diff --git a/rust-rustls.spec b/rust-rustls.spec new file mode 100644 index 0000000..a56f03c --- /dev/null +++ b/rust-rustls.spec @@ -0,0 +1,126 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate rustls + +Name: rust-%{crate} +Version: 0.19.1 +Release: 1%{?dist} +Summary: Modern TLS library written in Rust + +# Upstream license specification: Apache-2.0/ISC/MIT +# https://github.com/ctz/rustls/pull/686 +License: ASL 2.0 or ISC or MIT +URL: https://crates.io/crates/rustls +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +# ring is not available on ppc64le and s390x +ExcludeArch: ppc64le s390x +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Modern TLS library written in Rust.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+dangerous_configuration-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dangerous_configuration-devel %{_description} + +This package contains library source intended for building other packages +which use "dangerous_configuration" feature of "%{crate}" crate. + +%files -n %{name}+dangerous_configuration-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages +which use "log" feature of "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+logging-devel %{_description} + +This package contains library source intended for building other packages +which use "logging" feature of "%{crate}" crate. + +%files -n %{name}+logging-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+quic-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+quic-devel %{_description} + +This package contains library source intended for building other packages +which use "quic" feature of "%{crate}" crate. + +%files -n %{name}+quic-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +# files needed for integration tests are not shipped with the crate +# FIXME: skip two failing tests +%cargo_test -- --lib -- --skip msgs::message_test::test_read_fuzz_corpus --skip verifybench::test_google_cert +%endif + +%changelog +* Sun May 16 2021 Fabio Valentini decathorpe@gmail.com - 0.19.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..ec9165d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rustls-0.19.1.crate) = c86b0809f7cb2b31cf9c87d7744334ea3a0c743e26303026ab48194435289b1face6a7009aa4971f719cf31d7f84bb0e56e923cfd326ce0bc4ed990b8c9aeab9
arch-excludes@lists.fedoraproject.org