The package rpms/rust-unic-locale-impl.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-unic-locale-impl.git/commit/?id....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 8f5cd5ded583d3e7a71e0364d572dd1397929655 Author: Link Dupont link@sub-pop.net Date: Mon Nov 15 12:13:12 2021 -0500
initial package
Relates: RHBZ#2022204
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..895ab12 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/unic-locale-impl-0.9.0.crate diff --git a/rust-unic-locale-impl.spec b/rust-unic-locale-impl.spec new file mode 100644 index 0000000..3922aae --- /dev/null +++ b/rust-unic-locale-impl.spec @@ -0,0 +1,86 @@ +# Generated by rust2rpm 18 +%bcond_without check +%global debug_package %{nil} + +%global crate unic-locale-impl + +Name: rust-%{crate} +Version: 0.9.0 +Release: 1%{?dist} +Summary: API for managing Unicode Locale Identifiers + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/unic-locale-impl +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +API for managing Unicode Locale Identifiers.} + +%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 +%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 + +%package -n %{name}+likelysubtags-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+likelysubtags-devel %{_description} + +This package contains library source intended for building other packages +which use "likelysubtags" feature of "%{crate}" crate. + +%files -n %{name}+likelysubtags-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 +* Sat Oct 02 2021 Link Dupont linkdupont@fedoraproject.org - 0.9.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..b23e49c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (unic-locale-impl-0.9.0.crate) = 58bcc0bc04fed7bdcc9578d031b7bad897bd74a20d84ff8407ce759c4e1a168c332ac5004fc913deb513d19a5cf55efa7fbf8a9215f0bec7e030574e6ef9aeec
arch-excludes@lists.fedoraproject.org