From 342a7066e8ec296f242db4372862b42aa11ea203 Mon Sep 17 00:00:00 2001 From: duyiwei Date: Tue, 23 Aug 2022 09:58:33 +0800 Subject: [PATCH] Remove the python installation dependency of fwupd --- fwupd.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/fwupd.spec b/fwupd.spec index 39d790b..fb02274 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: 2 +Release: 3 Summary: Make updating firmware on Linux automatic, safe and reliable License: LGPLv2+ URL: https://github.com/fwupd/fwupd/releases @@ -43,8 +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 +178,9 @@ mkdir -pm 0700 %{buildroot}%{_localstatedir}/lib/%{name}/gnupg %{_datadir}/man/man1/* %changelog +* Tue Aug 23 2022 duyiwei - 1.5.8-3 +- Remove the python installation dependency of fwupd + * Wed Jul 27 2022 wulei - 1.5.8-2 - Fix file conflicts between fwupd and dbxtool -- Gitee