The package rpms/rust-blake2.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-blake2.git/commit/?id=531097e11....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 531097e110721f508d28742ecb8739e70a4f5c07 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Wed Mar 20 02:18:18 2019 +0100
Initial import (#1689545)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/blake2-0.8.0.crate b/blake2-0.8.0.crate new file mode 100644 index 0000000..919725b Binary files /dev/null and b/blake2-0.8.0.crate differ diff --git a/rust-blake2.spec b/rust-blake2.spec new file mode 100644 index 0000000..a2e42e0 --- /dev/null +++ b/rust-blake2.spec @@ -0,0 +1,131 @@ +# Generated by rust2rpm +# We wait for https://github.com/RustCrypto/utils/issues/19 +# https://github.com/RustCrypto/utils/pull/13 +%bcond_with check +%global debug_package %{nil} + +%global crate blake2 + +Name: rust-%{crate} +Version: 0.8.0 +Release: 1%{?dist} +Summary: BLAKE2 hash functions + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/blake2 +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +BuildRequires: (crate(byte-tools/default) >= 0.3.0 with crate(byte-tools/default) < 0.4.0) +BuildRequires: (crate(crypto-mac/default) >= 0.7.0 with crate(crypto-mac/default) < 0.8.0) +BuildRequires: (crate(crypto-mac/std) >= 0.7.0 with crate(crypto-mac/std) < 0.8.0) +BuildRequires: (crate(digest/default) >= 0.8.0 with crate(digest/default) < 0.9.0) +BuildRequires: (crate(digest/std) >= 0.8.0 with crate(digest/std) < 0.9.0) +BuildRequires: (crate(opaque-debug/default) >= 0.2.0 with crate(opaque-debug/default) < 0.3.0) +%if %{with check} +BuildRequires: (crate(crypto-mac/default) >= 0.7.0 with crate(crypto-mac/default) < 0.8.0) +BuildRequires: (crate(crypto-mac/dev) >= 0.7.0 with crate(crypto-mac/dev) < 0.8.0) +BuildRequires: (crate(digest/default) >= 0.8.0 with crate(digest/default) < 0.9.0) +BuildRequires: (crate(digest/dev) >= 0.8.0 with crate(digest/dev) < 0.9.0) +BuildRequires: (crate(hex-literal/default) >= 0.1.0 with crate(hex-literal/default) < 0.2.0) +%endif + +%global _description \ +BLAKE2 hash functions. + +%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-APACHE LICENSE-MIT +%{cargo_registry}/%{crate}-%{version}/ + +%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}/Cargo.toml + +%package -n %{name}+simd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-devel %{_description} + +This package contains library source intended for building other packages +which use "simd" feature of "%{crate}" crate. + +%files -n %{name}+simd-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+simd_asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd_asm-devel %{_description} + +This package contains library source intended for building other packages +which use "simd_asm" feature of "%{crate}" crate. + +%files -n %{name}+simd_asm-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+simd_opt-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd_opt-devel %{_description} + +This package contains library source intended for building other packages +which use "simd_opt" feature of "%{crate}" crate. + +%files -n %{name}+simd_opt-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +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. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Sat Mar 16 2019 Robert-Andr Mauchin zebob.m@gmail.com - 0.8.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29
arch-excludes@lists.fedoraproject.org