The package rpms/rust-cpufeatures.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-cpufeatures.git/commit/?id=d52d....
Change: +ExclusiveArch: x86_64 aarch64
Thanks.
Full change: ============
commit d52d119ece71dba55b1ec52a2ce1f1a4bfe98fcf Author: Fabio Valentini decathorpe@gmail.com Date: Tue Jul 27 12:33:58 2021 +0200
Initial import (#1981110)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a9eff67 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/cpufeatures-0.1.5.crate diff --git a/rust-cpufeatures.spec b/rust-cpufeatures.spec new file mode 100644 index 0000000..9cd3a0b --- /dev/null +++ b/rust-cpufeatures.spec @@ -0,0 +1,76 @@ +# Generated by rust2rpm 18 +%bcond_without check +%global debug_package %{nil} + +%global crate cpufeatures + +Name: rust-%{crate} +Version: 0.1.5 +Release: %autorelease +Summary: No-std compatible alternative to the is_x86_feature_detected! macro + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/cpufeatures +Source: %{crates_source} + +# cpufeatures crate only supports x86_64 and aarch64 +ExclusiveArch: x86_64 aarch64 +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Lightweight and efficient no-std compatible alternative to the +is_x86_feature_detected! macro.} + +%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-MIT LICENSE-APACHE +%doc README.md CHANGELOG.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 +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..f1f1b3d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cpufeatures-0.1.5.crate) = 700c31a677867df05c69ab098575c66d4d9f2de077431f938c1e0036492e00e876e6c563b705e22cc82c937fa01049b42d577c9b4c84ede4fee774ac30362478
arch-excludes@lists.fedoraproject.org