From 89a83b9a38c9a17ed2b0f212b7f98f880e617b81 Mon Sep 17 00:00:00 2001 From: Nicola Sella Date: Fri, 6 Jan 2023 15:27:25 +0100 Subject: [PATCH] Remove python3-distro Resolves: rhbz#2131288 Resolves: rhbz#2139326 --- dnf-plugins-core.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec index 0d13c44..9ab5bf3 100644 --- a/dnf-plugins-core.spec +++ b/dnf-plugins-core.spec @@ -34,7 +34,7 @@ Name: dnf-plugins-core Version: 4.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Core Plugins for DNF License: GPLv2+ URL: https://github.com/rpm-software-management/dnf-plugins-core @@ -154,13 +154,14 @@ Summary: Core Plugins for DNF %{?python_provide:%python_provide python3-%{name}} BuildRequires: python3-dbus BuildRequires: python3-devel -BuildRequires: python3-distro BuildRequires: python3-dnf >= %{dnf_lowest_compatible} BuildRequires: python3-systemd BuildRequires: pkgconfig(systemd) BuildRequires: systemd %{?systemd_ordering} +%if 0%{?fedora} Requires: python3-distro +%endif Requires: python3-dbus Requires: python3-dnf >= %{dnf_lowest_compatible} Requires: python3-hawkey >= %{hawkey_version} @@ -818,6 +819,9 @@ ln -sf %{_mandir}/man1/%{yum_utils_subpackage_name}.1.gz %{buildroot}%{_mandir}/ %endif %changelog +* Fri Jan 06 2023 Nicola Sella - 4.3.0-4 +- Remove requirement of python3-distro (fix specfile) + * Thu Jan 05 2023 Nicola Sella - 4.3.0-3 - Remove requirement of python3-distro