The package rpms/aom.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/aom.git/commit/?id=9cc47c917de38d....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit 9cc47c917de38df630537935a4c2f42677340505
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Tue Jun 26 02:51:20 2018 +0200
Initial import (#1558224)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5794953
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/aom-1.0.0.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 85cab1a..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# aom
-
-The aom package
\ No newline at end of file
diff --git a/aom.spec b/aom.spec
new file mode 100644
index 0000000..8501374
--- /dev/null
+++ b/aom.spec
@@ -0,0 +1,105 @@
+%global sover 0
+
+Name: aom
+Version: 1.0.0
+Release: 1%{?dist}
+Summary: Royalty-free next-generation video format
+
+License: BSD
+URL:
http://aomedia.org/
+Source0:
https://aomedia.googlesource.com/aom/+archive/v%{version}.tar.gz#/%{name}...
+
+BuildRequires: gcc
+BuildRequires: cmake3
+BuildRequires: doxygen
+BuildRequires: git-core
+BuildRequires: graphviz
+BuildRequires: perl-interpreter
+BuildRequires: perl(Getopt::Long)
+BuildRequires: wxGTK3-devel
+BuildRequires: yasm
+
+Provides: av1 = %{version}-%{release}
+
+
+%description
+The Alliance for Open Media’s focus is to deliver a next-generation
+video format that is:
+
+ - Interoperable and open;
+ - Optimized for the Internet;
+ - Scalable to any modern device at any bandwidth;
+ - Designed with a low computational footprint and optimized for hardware;
+ - Capable of consistent, highest-quality, real-time video delivery; and
+ - Flexible for both commercial and non-commercial content, including
+ user-generated content.
+
+
+%package devel
+Summary: Development files for aom
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for aom the royalty-free next-generation
+video format.
+
+
+%prep
+%autosetup -p1 -c %{name}-%{version}
+
+
+%build
+cd build
+%cmake3 ../ -DENABLE_CCACHE=1 \
+ -DCMAKE_SKIP_RPATH=1 \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+%ifnarch aarch64 %{arm} %{ix86} x86_64
+ -DAOM_TARGET_CPU=generic \
+%endif
+%ifarch %{arm}
+ -DAOM_TARGET_CPU=arm \
+%endif
+%ifarch aarch64
+ -DAOM_TARGET_CPU=arm64 \
+%endif
+%ifarch %{ix86}
+ -DAOM_TARGET_CPU=x86 \
+%endif
+%ifarch x86_64
+ -DAOM_TARGET_CPU=x86_64 \
+%endif
+ -DCONFIG_WEBM_IO=1 \
+ -DENABLE_DOCS=1 \
+ -DCONFIG_ANALYZER=1
+%make_build
+
+
+%install
+cd build
+%make_install
+install -pm 0755 examples/analyzer %{buildroot}%{_bindir}/aomanalyzer
+
+
+%ldconfig_scriptlets
+
+
+%files
+%doc AUTHORS CHANGELOG README.md
+%license LICENSE PATENTS
+%{_bindir}/aomanalyzer
+%{_bindir}/aomdec
+%{_bindir}/aomenc
+%{_libdir}/libaom.so.%{sover}
+
+
+%files devel
+%doc build/docs/html/
+%{_includedir}/%{name}
+%{_libdir}/libaom.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+
+%changelog
+* Wed Mar 07 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.0.0-1
+- First RPM release
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..4a5a564
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (aom-1.0.0.tar.gz) =
85bca7eff7a247efd0772bcbbba2e8d1bc10390c64551b4a63ecf95b89bca3ad899e4aa04b8cb5d3ed3aaa42ab5e0b7f5612b085106375088062b38a2121d203