From 6319294089dfe1b018f75d391d51e0223c5a5a46 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 27 Feb 2020 08:30:29 -0600 Subject: [PATCH] Drop libglade. --- pygtk2.spec | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/pygtk2.spec b/pygtk2.spec index 19ae951..3fc0203 100644 --- a/pygtk2.spec +++ b/pygtk2.spec @@ -6,7 +6,6 @@ %define glib2_version 2.8.0 %define pango_version 1.16.0 %define gtk2_version 2.9.0 -%define libglade2_version 2.5.0 %define pycairo_version 1.0.2 %define pygobject2_version 2.21.3 %define python2_version 2.3.5 @@ -15,7 +14,7 @@ Name: pygtk2 Version: 2.24.0 -Release: 29%{?dist} +Release: 30%{?dist} License: LGPLv2+ Summary: Python bindings for GTK+ URL: http://www.pygtk.org/ @@ -46,13 +45,14 @@ BuildRequires: automake BuildRequires: docbook-style-xsl BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gtk2-devel >= %{gtk2_version} -BuildRequires: libglade2-devel >= %{libglade2_version} BuildRequires: libtool BuildRequires: libxslt BuildRequires: pango-devel >= %{pango_version} BuildRequires: pycairo-devel >= %{pycairo_version} BuildRequires: pygobject2-devel >= %{pygobject2_version} BuildRequires: python2-devel >= %{python2_version} +Provides: pygtk2-libglade = %{version}-%{release} +Obsoletes: pygtk2-libglade < %{version}-%{release} %description PyGTK is an extension module for Python that gives you access to the GTK+ @@ -66,15 +66,6 @@ Summary: The code generation program for PyGTK %description codegen This package contains the C code generation program for PyGTK. -%package libglade -Summary: A wrapper for the libglade library for use with PyGTK -Requires: %{name} = %{version}-%{release} - -%description libglade -This module contains a wrapper for the libglade library. Libglade allows -a program to construct its user interface from an XML description, which -allows the programmer to keep the UI and program logic separate. - %package devel Summary: Development files for building add-on libraries Requires: %{name} = %{version}-%{release} @@ -128,9 +119,6 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f %{python2_sitearch}/gtk-2.0/gtk/_gtk.so %{python2_sitearch}/gtk-2.0/*.so -%files libglade -%{python2_sitearch}/gtk-2.0/gtk/glade.so - %files codegen %{_bindir}/pygtk-codegen-2.0 @@ -144,6 +132,9 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f %{_datadir}/gtk-doc/html/pygtk/ %changelog +* Thu Feb 27 2020 Gwyn Ciesla - 2.24.0-30 +- Drop libglade subpackage. + * Thu Jan 30 2020 Fedora Release Engineering - 2.24.0-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild