From 66be60e9f09a6af573015f81c5c8a6d49b3302b1 Mon Sep 17 00:00:00 2001 From: duyiwei Date: Wed, 2 Nov 2022 08:35:01 +0000 Subject: [PATCH] Remove the python installation dependency of fwupd Signed-off-by: duyiwei --- fwupd.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fwupd.spec b/fwupd.spec index 64c5479..c569fbf 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -3,13 +3,17 @@ %bcond_without libsmbios %endif +# 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 NestOS +%global __requires_exclude ^/usr/bin/python3 + %ifarch x86_64 aarch64 %bcond_without uefi %endif Name: fwupd Version: 1.5.8 -Release: 1 +Release: 2 Summary: Make updating firmware on Linux automatic, safe and reliable License: LGPLv2+ URL: https://github.com/fwupd/fwupd/releases @@ -43,7 +47,6 @@ Requires(postun):systemd Obsoletes: dbxtool < 9 dbxtool-help < 9 Provides: dbxtool -Recommends: python3 %description %{name} aims to make updating firmware on Linux automatic, safe and reliable. @@ -176,6 +179,9 @@ mkdir -pm 0700 %{buildroot}%{_localstatedir}/lib/%{name}/gnupg %{_datadir}/man/man1/* %changelog +* Wed Nov 2 2022 duyiwei - 1.5.8-2 +- Remove the python installation dependency of fwupd + * Mon Oct 31 2022 yaoxin - 1.5.8-1 - Upgrade to 1.5.8 -- Gitee