The package rpms/fwts.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/fwts.git/commit/?id=4d507c35ab046....
Change:
+ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 s390x %{power64}
Thanks.
Full change:
============
commit 4d507c35ab0466f6e194870ec4415ad10887655b
Author: Benjamin Berg <bberg(a)redhat.com>
Date: Mon Oct 2 12:00:22 2017 +0200
Initial import of FWTS version 17.09.00
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8a15c74
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fwts-V17.09.00.tar.gz
diff --git a/README.md b/README.md
index b123d8b..c158764 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,8 @@
# fwts
-The fwts package
\ No newline at end of file
+Firmware Test Suite (FWTS) is a test suite that performs sanity checks on
+Intel/AMD PC firmware. It is intended to identify BIOS and ACPI errors and if
+appropriate it will try to explain the errors and give advice to help
+workaround or fix firmware bugs. It is primarily intended to be a Linux-specific
+firmware troubleshooting tool.
+
diff --git a/fwts-Remove-Werror-from-build.patch b/fwts-Remove-Werror-from-build.patch
new file mode 100644
index 0000000..2348c3c
--- /dev/null
+++ b/fwts-Remove-Werror-from-build.patch
@@ -0,0 +1,53 @@
+From 1748a7b83f6d888e42584f02a8bc25377873fa91 Mon Sep 17 00:00:00 2001
+From: Benjamin Berg <bberg(a)redhat.com>
+Date: Mon, 21 Aug 2017 10:34:40 +0200
+Subject: [PATCH 1/3] Remove -Werror from build
+
+---
+ src/Makefile.am | 2 +-
+ src/lib/src/Makefile.am | 2 +-
+ src/utilities/Makefile.am | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index ca0a4492..d91a4e85 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -14,7 +14,7 @@ AM_CPPFLAGS = \
+ `pkg-config --silence-errors --cflags json` \
+ `pkg-config --silence-errors --cflags json-c` \
+ -pthread `pkg-config --cflags glib-2.0 gio-2.0` \
+- -Wall -Werror -Wextra
++ -Wall -Wextra
+
+ bin_PROGRAMS = fwts
+
+diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am
+index 19a986fc..f2b28f99 100644
+--- a/src/lib/src/Makefile.am
++++ b/src/lib/src/Makefile.am
+@@ -24,7 +24,7 @@ AM_CPPFLAGS = \
+ `pkg-config --silence-errors --cflags json-c` \
+ `pkg-config --cflags glib-2.0 gio-2.0` \
+ -DDATAROOTDIR=\"$(datarootdir)\" \
+- -Wall -Werror -Wextra
++ -Wall -Wextra
+
+ pkglib_LTLIBRARIES = libfwts.la
+
+diff --git a/src/utilities/Makefile.am b/src/utilities/Makefile.am
+index 4400ec12..a4988719 100644
+--- a/src/utilities/Makefile.am
++++ b/src/utilities/Makefile.am
+@@ -16,7 +16,7 @@
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ #
+
+-AM_CPPFLAGS = -Wall -Werror -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \
++AM_CPPFLAGS = -Wall -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \
+ `pkg-config --silence-errors --cflags json` \
+ `pkg-config --silence-errors --cflags json-c`
+
+--
+2.13.5
+
diff --git a/fwts.spec b/fwts.spec
new file mode 100644
index 0000000..ef7ae4b
--- /dev/null
+++ b/fwts.spec
@@ -0,0 +1,58 @@
+Summary: Firmware Test Suite
+
+Name: fwts
+Version: 17.09.00
+Release: 1%{?dist}
+# Asked upstream for inclusion of full license texts:
+#
https://bugs.launchpad.net/bugs/1712604
+# The ACPICA code is licensed under both GPLv2 and Intel ACPI, a few
+# files are licensed under the LGPL. Please see copyright file for details.
+License: GPLv2 and LGPLv2 and (GPLv2 or Intel ACPI)
+URL:
https://wiki.ubuntu.com/FirmwareTestSuite
+Source0:
http://fwts.ubuntu.com/release/fwts-V%{version}.tar.gz
+# Upstream refuses to remove -Werror:
https://bugs.launchpad.net/bugs/1687052
+Patch0: fwts-Remove-Werror-from-build.patch
+BuildRequires: acpica-tools glib-devel glib2-devel glib json-c-devel libtool automake
autoconf dkms kernel-devel git bison flex
+# The tests in this package only make sense on the below architectures.
+ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 s390x %{power64}
+
+%description
+Firmware Test Suite (FWTS) is a test suite that performs sanity checks on
+Intel/AMD PC firmware. It is intended to identify BIOS and ACPI errors and if
+appropriate it will try to explain the errors and give advice to help
+workaround or fix firmware bugs. It is primarily intended to be a Linux-specific
+firmware troubleshooting tool.
+
+%prep
+%setup -a 0 -c
+%patch0 -p1
+
+%build
+autoreconf -ivf
+%configure
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+
+%files
+%{_bindir}/*
+%{_datadir}/fwts*
+%{_libdir}/*
+%exclude %{_libdir}/fwts/*.so
+%exclude %{_libdir}/fwts/*.la
+%exclude %{_libdir}/fwts/*.a
+%{_mandir}/*/*
+%doc README
+%doc README_ACPICA.txt
+# README_SOURCE.txt is not useful in the binary package
+# per-file specific copyright information:
+%doc debian/copyright
+
+%changelog
+* Mon Aug 21 2017 Benjamin Berg <bberg(a)redhat.com> - 17.09.00-1
+- Initial package version for 17.09.00.
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..6ebea0a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fwts-V17.09.00.tar.gz) =
008728643f20d3a3026eb8794c2d08807bd0e538f20276f60f4064a9744b52716de5faa3223db50b1e045df40bb5c14902d3af69cdf5d88057aea63654025e2e