diff --git a/glade3-delete-bg-uk-po.patch b/glade3-delete-bg-uk-po.patch
index 1aa5969..44978e4 100644
--- a/glade3-delete-bg-uk-po.patch
+++ b/glade3-delete-bg-uk-po.patch
@@ -1,16 +1,28 @@
-diff -Naur glade3-a/help/Makefile.am glade3-3.8.6/help/Makefile.am
---- glade3-a/help/Makefile.am 2019-11-25 22:26:48.737052503 -0500
-+++ glade3-3.8.6/help/Makefile.am 2019-11-25 22:27:18.261566436 -0500
-@@ -9,4 +9,4 @@
+From 5323e4ffca4feb91ce8bf3798e3ca0fce78f83e2 Mon Sep 17 00:00:00 2001
+From: tanyulong2021
+Date: Mon, 13 Jun 2022 15:18:24 +0800
+Subject: [PATCH] glade3 delete bg uk po
+
+---
+ help/Makefile.am | 2 +-
+ help/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/help/Makefile.am b/help/Makefile.am
+index db5a323..20b7509 100644
+--- a/help/Makefile.am
++++ b/help/Makefile.am
+@@ -9,4 +9,4 @@ HELP_FILES = \
HELP_MEDIA = figures/main-window.png
-HELP_LINGUAS = bg cs de el en_GB es eu fr hi it ja oc pt_BR ru sl sv uk zh_CN
+HELP_LINGUAS = cs de el en_GB es eu fr hi it ja oc pt_BR ru sl sv zh_CN
-diff -Naur glade3-a/help/Makefile.in glade3-3.8.6/help/Makefile.in
---- glade3-a/help/Makefile.in 2019-11-25 22:26:48.737052503 -0500
-+++ glade3-3.8.6/help/Makefile.in 2019-11-25 22:27:46.958065957 -0500
-@@ -336,7 +336,7 @@
+diff --git a/help/Makefile.in b/help/Makefile.in
+index fb4a114..c9a011b 100644
+--- a/help/Makefile.in
++++ b/help/Makefile.in
+@@ -336,7 +336,7 @@ HELP_FILES = \
$(NULL)
HELP_MEDIA = figures/main-window.png
@@ -19,3 +31,6 @@ diff -Naur glade3-a/help/Makefile.in glade3-3.8.6/help/Makefile.in
all: all-am
.SUFFIXES:
+--
+2.33.0
+
diff --git a/glade3.spec b/glade3.spec
index aa5b297..24bafb3 100644
--- a/glade3.spec
+++ b/glade3.spec
@@ -1,7 +1,7 @@
Name: glade3
Epoch: 2
Version: 3.8.6
-Release: 6%{?dist}
+Release: 7
Summary: User Interface Designer for GTK+ 2
License: GPLv2+
@@ -18,8 +18,6 @@ BuildRequires: intltool
BuildRequires: itstool
BuildRequires: libgnomeui-devel
BuildRequires: libxml2-devel
-BuildRequires: pygtk2-devel
-BuildRequires: python2-devel
BuildRequires: chrpath
Requires: hicolor-icon-theme
@@ -30,7 +28,7 @@ Glade is a RAD tool to enable quick and easy development of user interfaces for
the GTK+ 2 toolkit and the GNOME desktop environment.
The user interfaces designed in Glade are saved as XML, which can be used in
-numerous programming languages including C, C++, Java, Perl, Python, C#, Pike,
+numerous programming languages including C, C++, Java, Perl, C#, Pike,
Ruby, Haskell, Objective Caml and Scheme. Adding support for other languages
is easy too.
@@ -116,7 +114,7 @@ UpstreamURL: https://git.gnome.org/browse/glade/plain/data/glade.appdata.xml.in
The user interfaces designed in Glade are saved as XML, and can be loaded
dynamically into applications by using GtkBuilder.
Those files can be used in many programming languages including C, C++, C#, Vala,
- Java, Perl, Python, and others.
+ Java, Perl, and others.
Glade's ability to connect widget signals with corresponding functions makes the
integration of user interfaces into code even simpler.
@@ -138,7 +136,7 @@ EOF
# Rpath
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade3/modules/libgladegnome.so
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade3/modules/libgladegtk.so
-chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade3/modules/libgladepython.so
+#chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade3/modules/libgladepython.so
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glade-3.desktop
@@ -191,6 +189,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glade-3.desktop
%{_includedir}/libgladeui-1.0/gladeui
%changelog
+* Mon Jun 13 2022 tanyulong - 2:3.8.6-7
+- rebuild and solve compile error
+
* Thu Jul 25 2019 Fedora Release Engineering - 2:3.8.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild