The package rpms/rust-dav1d-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-dav1d-sys.git/commit/?id=959a97....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 959a97cb9d6581237752d399712b2a312a7caef8 Author: Robert-Andr Mauchin zebob.m@gmail.com Date: Wed Mar 20 02:53:21 2019 +0100
Initial import (#1689582)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/dav1d-sys-0.1.2.crate b/dav1d-sys-0.1.2.crate new file mode 100644 index 0000000..312ef01 Binary files /dev/null and b/dav1d-sys-0.1.2.crate differ diff --git a/dav1d-sys-fix-metadata.diff b/dav1d-sys-fix-metadata.diff new file mode 100644 index 0000000..b4d708e --- /dev/null +++ b/dav1d-sys-fix-metadata.diff @@ -0,0 +1,12 @@ +--- dav1d-sys-0.1.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ dav1d-sys-0.1.2/Cargo.toml 2019-03-16T20:53:42.999961+01:00 +@@ -23,7 +23,7 @@ + + [dependencies] + [build-dependencies.bindgen] +-version = "0.47" ++version = "0.48" + + [build-dependencies.metadeps] + version = "1.1.2" + diff --git a/rust-dav1d-sys.spec b/rust-dav1d-sys.spec new file mode 100644 index 0000000..cb5d6d7 --- /dev/null +++ b/rust-dav1d-sys.spec @@ -0,0 +1,75 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate dav1d-sys + +Name: rust-%{crate} +Version: 0.1.2 +Release: 1%{?dist} +Summary: FFI bindings to dav1d + +License: MIT +URL: https://crates.io/crates/dav1d-sys +Source: %{crates_source} +# Initial patched metadata +# - Bump bindgen to 0.48 https://github.com/rust-av/dav1d-rs/pull/7 +Patch0: dav1d-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: (crate(pkg-config/default) >= 0.3.12 with crate(pkg-config/default) < 0.4.0) +BuildRequires: pkgconfig(dav1d) >= 0.1.0 + +%global _description \ +FFI bindings to dav1d. + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch +Requires: pkgconfig(dav1d) >= 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 + +%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.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29
arch-excludes@lists.fedoraproject.org