diff --git a/pygtk2.spec b/pygtk2.spec index 16466f5..bdc23ec 100644 --- a/pygtk2.spec +++ b/pygtk2.spec @@ -7,13 +7,11 @@ %define pygobject2_version 2.21.3 %define python2_version 2.3.5 -%define buildglade %(pkg-config libglade-2.0 && echo 1 || echo 0) - ### Abstract ### Name: pygtk2 Version: 2.24.0 -Release: 23%{?dist} +Release: 24%{?dist} License: LGPLv2+ Summary: Python bindings for GTK+ URL: http://www.pygtk.org/ @@ -126,10 +124,8 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f %{python2_sitearch}/gtk-2.0/gtk/_gtk.so %{python2_sitearch}/gtk-2.0/*.so -%if %{buildglade} %files libglade %{python2_sitearch}/gtk-2.0/gtk/glade.so -%endif %files codegen %{_bindir}/pygtk-codegen-2.0 @@ -144,6 +140,10 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f %{_datadir}/gtk-doc/html/pygtk/ %changelog +* Tue Oct 2 2018 Owen Taylor - 2.24.0-24 +- Don't check for libglade - we require it. There was left-over conditionalization + of unclear purpose based on the results of 'pkg-config libglade-2.0' + * Mon Jul 16 2018 Leigh Scott - 2.24.0-23 - Swap to python2 sitearch macro