80a9e4e053
* klog.json: add an "IOAPIC .. not in IVRS" message * utilities: kernelscan: add AMD iommu for IVRS errors * acpi/method: check levels on full power and battery power * acpi: add address space types according to mantis 1965 (ACPI 6.2b) * acpi/pptt: check flags by revision (mantis 1870 for ACPI 6.2b) * acpi: pdtt: update flags defintion according to mantis 1867 (ACPI 6.3) * acpi/nfit: update memory mapping attributes (mantis 1873 for ACPI 6.3) * acpi/hmat: update for hmat revision 2 (mantis 1914 for ACPI 6.3) * acpi/madt: remove two reserved bytes (mantis 1934 for ACPI 6.3) * acpi/madt: update for Local APIC Flags (mantis 1948 for ACPI 6.3) * acpi/hmat: update System Locality Latency (mantis 1959 for ACPI 6.3) * acpi/method: add tests for NVDIMM control methods for ACPI 6.3 * acpiinfo: update ACPI and ACPICA versions * acpi/srat: add test for Generic Initiator (mantis 1904 for ACPI 6.3) * ACPICA: Update to version 20190215 * acpi: fix a typo in comment * fwts: fix up a handful of spelling mistakes * efi_runtime: fix access_ok build issues on 5.0 kernels * Makefiles: workaround address-of-packed-member warnings with gcc-9 * acpica: utdecode: fix missing comma in array declaration AcpiGbl_GenericNotify - Update to version 19.01.00: OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=87
91 lines
3.0 KiB
RPMSpec
91 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package fwts
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: fwts
|
|
Version: 19.02.00
|
|
Release: 0
|
|
Summary: Firmware Test Suite
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/Other
|
|
URL: https://wiki.ubuntu.com/Kernel/Reference/fwts
|
|
Source0: http://fwts.ubuntu.com/release/%{name}-V%{version}.tar.gz
|
|
# PATCH-FIX-OPENSUSE fwts-no-compiletime.patch
|
|
Patch1: fwts-no-compiletime.patch
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: bison
|
|
BuildRequires: flex
|
|
BuildRequires: libfdt-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(bash-completion)
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(json)
|
|
BuildRequires: pkgconfig(libbsd)
|
|
BuildRequires: pkgconfig(libpci)
|
|
BuildRequires: pkgconfig(libpcre)
|
|
Requires: bash-completion
|
|
Recommends: acpica
|
|
Recommends: dmidecode
|
|
Recommends: pciutils
|
|
|
|
%description
|
|
The FirmWare Test Suite (fwts) is a tool to do automatic testing of a PC's
|
|
firmware. There can be a lot of subtle or vexing Linux Kernel/firmware issues
|
|
caused when firmware is buggy, so it's useful to have a tool that can
|
|
automatically check for common BIOS and ACPI errors. Where possible the tool
|
|
will give some form of advice on how to fix issues or workaround firmware
|
|
issues.
|
|
|
|
%prep
|
|
%setup -q -c %{name}-%{version}
|
|
%patch1 -p1
|
|
|
|
%build
|
|
find . -name Makefile.am -exec sed -i "s|-Werror||g" {} +
|
|
autoreconf -fiv
|
|
%configure \
|
|
--disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
install -D -p -m 0644 data/klog.json %{buildroot}%{_datadir}/%{name}/klog.json
|
|
install -D -p -m 0644 data/syntaxcheck.json %{buildroot}%{_datadir}/%{name}/syntaxcheck.json
|
|
# There are no headers, so drop remaining development files
|
|
rm -f "%{buildroot}/%{_libdir}/%{name}"/*.so
|
|
|
|
%files
|
|
%doc README README_ACPICA.txt README_SOURCE.txt ./data/README_JSON.txt
|
|
%{_bindir}/fwts
|
|
%{_bindir}/kernelscan
|
|
%{_libdir}/fwts
|
|
%{_mandir}/man1/fwts-collect.1%{?ext_man}
|
|
%{_mandir}/man1/fwts-frontend-text.1%{?ext_man}
|
|
%{_mandir}/man1/fwts.1%{?ext_man}
|
|
%{_datadir}/bash-completion/completions/fwts
|
|
%dir %{_datadir}/%{name}
|
|
%{_datadir}/fwts/clog.json
|
|
%{_datadir}/fwts/klog.json
|
|
%{_datadir}/fwts/syntaxcheck.json
|
|
%{_datadir}/fwts/olog.json
|
|
|
|
%changelog
|