The package rpms/rust-rawpointer.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-rawpointer.git/commit/?id=cffb2....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit cffb247c1d693cae6db4d50c8b36fa8ba45d9575 Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Mon Sep 10 19:23:20 2018 +0200
initial import
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62f6b1f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rawpointer-0.1.0.crate diff --git a/rust-rawpointer.spec b/rust-rawpointer.spec new file mode 100644 index 0000000..2eb3674 --- /dev/null +++ b/rust-rawpointer.spec @@ -0,0 +1,59 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate rawpointer + +Name: rust-%{crate} +Version: 0.1.0 +Release: 1%{?dist} +Summary: Extra methods for raw pointers + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/rawpointer +Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +Extra methods for raw pointers. + +For example `.post_inc()` and `.pre_dec()` (c.f. `ptr++` and `--ptr`) +and `ptrdistance`. + +This package contains library source intended for building other packages +which use %{crate} from crates.io. + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.rst +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Mon Sep 10 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 0.1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..6bed4f7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rawpointer-0.1.0.crate) = c5316d4db8167f381bb842d5b7b5b01bf5bde24f6a61afa90d4d9c027e276e23fd53b4ceaae031caeb7cffe7fa9a0d87c1f43bb9b3c1d046161c081b1ac4f2c0
arch-excludes@lists.fedoraproject.org