Disable JLink support

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1948597
This commit is contained in:
Richard Hughes 2021-04-12 16:59:39 +01:00
parent 5230e57625
commit e73fbb379e

View File

@ -1,6 +1,6 @@
Name: flashrom
Version: 1.2
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Simple program for reading/writing flash chips content
License: GPLv2
URL: https://flashrom.org
@ -18,7 +18,6 @@ BuildRequires: gnupg2
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pciutils-devel
BuildRequires: libjaylink-devel
BuildRequires: libftdi-devel
BuildRequires: libusb-devel
# Used for new programmers (libusb0 will eventually be removed)
@ -56,7 +55,6 @@ sed -e 's/MODE="[0-9]*", GROUP="plugdev"/TAG+="uaccess"/g' util/z60_flashrom.rul
%build
%meson \
%ifarch %{ix86} x86_64
-Dconfig_jlink_spi=true \
-Dconfig_internal=true
%else
-Dconfig_atahpt=false \
@ -106,6 +104,10 @@ install -D -p -m 0644 util/z60_flashrom.rules %{buildroot}/%{_udevrulesdir}/60_f
%{_libdir}/pkgconfig/flashrom.pc
%changelog
* Mon Apr 12 2021 Richard Hughes <richard@hughsie.com> 1.2-7
- Disable JLink support to remove one extra dep we are not going to support
- Resolves: rhbz#1948597
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild