From 2b435f288f8e99fcc6e35c680938c505df91678e Mon Sep 17 00:00:00 2001 From: duyiwei Date: Fri, 12 Nov 2021 06:28:23 +0000 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 ec8ee5d..5088eab 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.2.9 -Release: 3 +Release: 4 Summary: Make updating firmware on Linux automatic, safe and reliable License: LGPLv2+ URL: https://github.com/fwupd/fwupd/releases @@ -43,8 +47,6 @@ Requires(post):systemd Requires(preun):systemd Requires(postun):systemd -Recommends: python3 - %description %{name} aims to make updating firmware on Linux automatic, safe and reliable. @@ -175,6 +177,9 @@ mkdir -pm 0700 %{buildroot}%{_localstatedir}/lib/%{name}/gnupg %{_datadir}/man/man1/* %changelog +* Thu Feb 17 2022 fushanqing - 1.2.9-4 +- Remove the python installation dependency of fwupd + * Sun Jun 28 2020 huanghaitao - 1.2.9-3 - Solve build problem with check -- Gitee