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=29d8c....
Change:
-%ifnarch i686 armv7hl
Thanks.
Full change:
============
commit 29d8cbeb9a561a44c0903cdf3fed6401c867b449
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Wed Mar 20 09:31:08 2019 +0100
Run tests in infrastructure
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..2c124b6
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+ pkgconfig(aom) >= 0.1.0
+lib.requires =
+ pkgconfig(aom) >= 0.1.0
diff --git a/aom-sys-fix-metadata.diff b/aom-sys-fix-metadata.diff
index 11b1cef..38ecb7d 100644
--- a/aom-sys-fix-metadata.diff
+++ b/aom-sys-fix-metadata.diff
@@ -1,5 +1,5 @@
---- 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
+--- aom-sys-0.1.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ aom-sys-0.1.0/Cargo.toml 2019-03-20T08:29:48.493400+00:00
@@ -24,7 +24,7 @@
[dependencies]
@@ -9,4 +9,3 @@
[build-dependencies.metadeps]
version = "1.1.2"
-
diff --git a/rust-aom-sys.spec b/rust-aom-sys.spec
index 730a7a9..be680aa 100644
--- a/rust-aom-sys.spec
+++ b/rust-aom-sys.spec
@@ -1,15 +1,13 @@
# Generated by rust2rpm
-#
https://github.com/rust-av/aom-rs/issues/13
-%ifnarch i686 armv7hl
-%bcond_without check
-%endif
+# * Tests are run in infrastructure
+%bcond_with check
%global debug_package %{nil}
%global crate aom-sys
Name: rust-%{crate}
Version: 0.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: FFI bindings to aom
License: MIT
@@ -27,14 +25,14 @@ BuildRequires: (crate(metadeps/default) >= 1.1.2 with
crate(metadeps/default) <
BuildRequires: pkgconfig(aom) >= 0.1.0
%global _description \
-FFI bindings to aom.
+FFI bindings to aom
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
-Requires: pkgconfig(aom) >= 0.1.0
+Requires: pkgconfig(aom) >= 0.1.0
%description devel %{_description}
@@ -85,5 +83,8 @@ which use "build_sources" feature of "%{crate}"
crate.
%endif
%changelog
+* Wed Mar 20 09:29:48 CET 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.1.0-2
+- Run tests in infrastructure
+
* Sat Mar 09 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0.1.0-1
- Initial package
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..936e1f8
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-aom-sys
commit c327b5808af9669cfddb9636e680cff7140b916e
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Wed Mar 20 09:28:46 2019 +0100
Binaries must go into lookaside
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index e69de29..db32846 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aom-sys-0.1.0.crate
diff --git a/aom-sys-0.1.0.crate b/aom-sys-0.1.0.crate
deleted file mode 100644
index b17db47..0000000
Binary files a/aom-sys-0.1.0.crate and /dev/null differ
diff --git a/sources b/sources
index e69de29..983f9d4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (aom-sys-0.1.0.crate) =
5497d628564c774de3d352515fec8827301ab49cd1a05df2758e5378c32cabc87d294ae86c6217913de008fe1acebd3fe855b1add665d0db4164715e6a0d5a07