The package rpms/rust-environment.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-environment.git/commit/?id=aa1f....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit aa1f0a9438103d82fbd8e84c7ab0adffb704f997 Author: Artem Polishchuk ego.cordatus@gmail.com Date: Fri Jul 3 11:19:33 2020 +0300
Initial import
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd50ac1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/environment-0.1.1.crate diff --git a/rust-environment.spec b/rust-environment.spec new file mode 100644 index 0000000..aefef64 --- /dev/null +++ b/rust-environment.spec @@ -0,0 +1,75 @@ +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} + +%global crate environment + +Name: rust-%{crate} +Version: 0.1.1 +Release: 1%{?dist} +Summary: Helper to deal with environment variables + +# Upstream license specification: MIT OR Apache-2.0 +# * https://github.com/Freyskeyd/environment/issues/16 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/environment +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Helper to deal with environment variables.} + +%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 + +%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 +* Thu Jul 02 15:01:47 EEST 2020 Artem Polishchuk ego.cordatus@gmail.com - 0.1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..25865de --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (environment-0.1.1.crate) = 17c38ebc23e559f1507b55d81dfb32122e285ce1b2a8fcaf5f37bf8fec20f5d9c485a0f9e6563b73d38bb608962f42a3203c1879680d664bd7bc7b8cdb4d7a9e