The package rpms/rust-chlorine.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-chlorine.git/commit/?id=9e229f2....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 9e229f292897aa183a36a78444d2f2a209c0fa2d Author: Rémi Lauzier remilauzier@protonmail.com Date: Thu Jun 10 20:05:39 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1729b29 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/chlorine-1.0.7.crate diff --git a/rust-chlorine.spec b/rust-chlorine.spec new file mode 100644 index 0000000..f962e16 --- /dev/null +++ b/rust-chlorine.spec @@ -0,0 +1,87 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate chlorine + +Name: rust-%{crate} +Version: 1.0.7 +Release: 1%{?dist} +Summary: Just the C types for `no_std`, but builds faster + +# Upstream license specification: Zlib OR Apache-2.0 OR MIT +License: zlib or ASL 2.0 or MIT +URL: https://crates.io/crates/chlorine +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Just the C types for `no_std`, but builds faster.} + +%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 +%license LICENSE-ZLIB.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}+int_extras-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+int_extras-devel %{_description} + +This package contains library source intended for building other packages +which use "int_extras" feature of "%{crate}" crate. + +%files -n %{name}+int_extras-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 02:26:10 EDT 2021 Rémi Lauzier remilauzier@protonmail.com - 1.0.7-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..81c4f04 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (chlorine-1.0.7.crate) = cb86f01f1cb0421e65c52a412f5fffc9199818588cd663dccb09fe4e90032f0b19f1f9761e6eaddcd4845d0ecb3dd6a1f4f1998266af51a85a0080b73f5e86dc