The package rpms/rust-atom.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-atom.git/commit/?id=b4a2dfee92a....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit b4a2dfee92a070e3a632fe1c4f173c02430d5b32 Author: Artem Polishchuk ego.cordatus@gmail.com Date: Mon Mar 18 16:44:19 2019 +0200
Initial import (#1679547).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/atom-0.3.5.crate b/atom-0.3.5.crate new file mode 100644 index 0000000..0729831 Binary files /dev/null and b/atom-0.3.5.crate differ diff --git a/rust-atom.spec b/rust-atom.spec new file mode 100644 index 0000000..01193a4 --- /dev/null +++ b/rust-atom.spec @@ -0,0 +1,68 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate atom + +Name: rust-%{crate} +Version: 0.3.5 +Release: 1%{?dist} +Summary: A safe abstraction around AtomicPtr + +License: ASL 2.0 +URL: https://crates.io/crates/atom +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description \ +A safe abstraction around AtomicPtr. + +%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 +%{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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Tue Feb 19 2019 Artem Polishchuk ego.cordatus@gmail.com - 0.3.5-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29