From 2ba1a853a45fc77b6cfe817d6226ad3247351bb1 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 25 Jun 2020 16:41:02 +0100 Subject: [PATCH] Drop the automatic /usr/bin/python3 rpmbuild dependency We ship 4 *tiny* python scripts that are useful for ODMs and other people working with low level firmware blobs. These helper utilities do not warrant dragging Python onto the CoreOS image. --- contrib/fwupd.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/fwupd.spec.in b/contrib/fwupd.spec.in index 64465edd7..109498e25 100644 --- a/contrib/fwupd.spec.in +++ b/contrib/fwupd.spec.in @@ -6,6 +6,10 @@ %global systemd_version 231 %global json_glib_version 1.1.1 +# although we ship a few tiny python files these are utilities that 99.99% +# of users do not need -- use this to avoid dragging python onto CoreOS +%global __requires_exclude ^%{python3}$ + %define alphatag #ALPHATAG# %global enable_ci 0