The package rpms/rust-ct-logs.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-ct-logs.git/commit/?id=3345b3ed....
Change: +ExcludeArch: ppc64le s390x
Thanks.
Full change: ============
commit 3345b3ed5f39a260044ebc0fab4fc4695fb71c39 Author: Fabio Valentini decathorpe@gmail.com Date: Fri Jun 11 19:49:51 2021 +0200
initial import (#1968633)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..89d2810 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/ct-logs-0.8.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index f89d48f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-ct-logs - -The rust-ct-logs package diff --git a/rust-ct-logs.spec b/rust-ct-logs.spec new file mode 100644 index 0000000..99a84d8 --- /dev/null +++ b/rust-ct-logs.spec @@ -0,0 +1,77 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate ct-logs + +Name: rust-%{crate} +Version: 0.8.0 +Release: 1%{?dist} +Summary: Google's list of Certificate Transparency logs for use with sct crate + +# Upstream license specification: Apache-2.0/ISC/MIT +License: ASL 2.0 or ISC or MIT +URL: https://crates.io/crates/ct-logs +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: +Google's list of Certificate Transparency logs for use with sct crate.} + +%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 +%license LICENSE LICENSE-APACHE LICENSE-ISC LICENSE-MIT +%doc README.md +%{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 + +%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 +%cargo_test +%endif + +%changelog +* Mon Jun 07 2021 Fabio Valentini decathorpe@gmail.com - 0.8.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..b6e1636 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ct-logs-0.8.0.crate) = bacbfd9bd29ab2932e2ee4af00f90298b858b9a4b9d92221b5ed98025aa88bca0f9861cf1294787acffabf8494df98ccc1ab0634ee66428d5c78576a5062aa9f
arch-excludes@lists.fedoraproject.org