Don't BuildRequire pygtk2 if building without Python

This commit is contained in:
Petr Viktorin 2020-02-20 13:05:31 +01:00
parent 09c496e9c0
commit cbce6b24de

View File

@ -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 <pviktori@redhat.com> - 0.7-24
- Don't BuildRequire pygtk2 if building without Python
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild