The package rpms/rust-aom-sys.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-aom-sys.git/commit/?id=ae0f3da9....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit ae0f3da9b8d942206c9159d874a992ff9d57c21d Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Wed Mar 20 00:16:46 2019 +0100
Initial import (#1689584)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/aom-sys-0.1.0.crate b/aom-sys-0.1.0.crate new file mode 100644 index 0000000..b17db47 Binary files /dev/null and b/aom-sys-0.1.0.crate differ diff --git a/aom-sys-fix-metadata.diff b/aom-sys-fix-metadata.diff new file mode 100644 index 0000000..11b1cef --- /dev/null +++ b/aom-sys-fix-metadata.diff @@ -0,0 +1,12 @@ +--- aom-sys-0.1.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ aom-sys-0.1.0/Cargo.toml 2019-03-16T20:36:41.621751+01:00 +@@ -24,7 +24,7 @@ + + [dependencies] + [build-dependencies.bindgen] +-version = "0.47.2" ++version = "0.48.0" + + [build-dependencies.metadeps] + version = "1.1.2" + diff --git a/rust-aom-sys.spec b/rust-aom-sys.spec new file mode 100644 index 0000000..e335b5a --- /dev/null +++ b/rust-aom-sys.spec @@ -0,0 +1,86 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate aom-sys + +Name: rust-%{crate} +Version: 0.1.0 +Release: 1%{?dist} +Summary: FFI bindings to aom + +License: MIT +URL: https://crates.io/crates/aom-sys +Source: %{crates_source} +# Initial patched metadata +# - Bump bindgen to 0.48 https://github.com/rust-av/aom-rs/pull/12 +Patch0: aom-sys-fix-metadata.diff + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +BuildRequires: (crate(bindgen/default) >= 0.48.0 with crate(bindgen/default) < 0.49.0) +BuildRequires: (crate(metadeps/default) >= 1.1.2 with crate(metadeps/default) < 2.0.0) +BuildRequires: pkgconfig(aom) >= 0.1.0 + +%global _description \ +FFI bindings to aom. + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(aom) >= 0.1.0 + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%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 + +%package -n %{name}+build_sources-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+build_sources-devel %{_description} + +This package contains library source intended for building other packages +which use "build_sources" feature of "%{crate}" crate. + +%files -n %{name}+build_sources-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 +* Sat Mar 09 2019 Robert-Andr Mauchin zebob.m@gmail.com - 0.1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29
arch-excludes@lists.fedoraproject.org