From cbce6b24de7eae9c736ee9c55fbf94d9f8247b8a Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 20 Feb 2020 13:05:31 +0100 Subject: [PATCH] Don't BuildRequire pygtk2 if building without Python --- avahi.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/avahi.spec b/avahi.spec index 32abd6a..f37a264 100644 --- a/avahi.spec +++ b/avahi.spec @@ -32,7 +32,7 @@ Name: avahi Version: 0.7 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Local network service discovery License: LGPLv2+ URL: http://avahi.org @@ -79,10 +79,10 @@ BuildRequires: python3-devel Obsoletes: python2-avahi < %{version}-%{release} Obsoletes: python3-avahi < %{version}-%{release} Obsoletes: avahi-ui-tools < %{version}-%{release} +BuildRequires: pygtk2 %endif BuildRequires: gdbm-devel BuildRequires: pkgconfig(pygobject-3.0) -BuildRequires: pygtk2 BuildRequires: intltool BuildRequires: perl-XML-Parser BuildRequires: xmltoman @@ -730,6 +730,9 @@ exit 0 %changelog +* Thu Feb 20 2020 Petr Viktorin - 0.7-24 +- Don't BuildRequire pygtk2 if building without Python + * Tue Jan 28 2020 Fedora Release Engineering - 0.7-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild