From 7abd2a819bcd1a46087282b1fb4e85b9f373a531 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Thu, 13 Apr 2023 17:18:48 +0800 Subject: [PATCH] bugfix for daily compile fail, sync upstream patch --- ...ily-compile-fail-sync-upstream-patch.patch | 32 +++++++++++++++++++ gedit.spec | 6 +++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 bugfix-for-daily-compile-fail-sync-upstream-patch.patch diff --git a/bugfix-for-daily-compile-fail-sync-upstream-patch.patch b/bugfix-for-daily-compile-fail-sync-upstream-patch.patch new file mode 100644 index 0000000..7f42877 --- /dev/null +++ b/bugfix-for-daily-compile-fail-sync-upstream-patch.patch @@ -0,0 +1,32 @@ +From d60bcb692907449d89b38464edb447c2710cffc2 Mon Sep 17 00:00:00 2001 +From: desert-sailor +Date: Thu, 13 Apr 2023 17:09:53 +0800 +Subject: [PATCH] bugfix for daily compile fail sync upstream patch + +--- + data/meson.build | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/data/meson.build b/data/meson.build +index bb61387..28d72a1 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -4,7 +4,6 @@ install_man('gedit.1') + + appdata = 'org.gnome.gedit.appdata.xml' + appdata_file = i18n.merge_file( +- appdata, + input: appdata + '.in', + output: appdata, + po_dir: '../po/', +@@ -23,7 +22,6 @@ endif + + desktop_file = 'org.gnome.gedit.desktop' + desktop_output_file = i18n.merge_file( +- desktop_file, + type: 'desktop', + input: desktop_file + '.in', + output: desktop_file, +-- +2.33.0 + diff --git a/gedit.spec b/gedit.spec index 6408980..7d51e4f 100644 --- a/gedit.spec +++ b/gedit.spec @@ -4,12 +4,13 @@ Name: gedit Version: 3.38.2 Epoch: 1 -Release: 3 +Release: 4 Summary: Text editor for the GNOME desktop License: GPLv2+ and GFDL-1.1-or-later URL: https://wiki.gnome.org/Apps/Gedit Source0: https://download.gnome.org/sources/gedit/3.38/gedit-%{version}.tar.xz Patch1: python3-install-path-fix.patch +Patch2: bugfix-for-daily-compile-fail-sync-upstream-patch.patch BuildRequires: gnome-common pkgconfig(glib-2.0) >= 2.64 pkgconfig(gtk+-3.0) >= 3.22.0 BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(gsettings-desktop-schemas) @@ -98,6 +99,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.gedit.de %{_mandir}/man1/* %changelog +* Thu Apr 13 2023 Dongxing Wang - 1:3.38.2-4 +- fix daily compile fail, sync upstream patch + * Mon Jun 27 2022 lin zhang - 1:3.38.2-3 - add BuildRequires procps-ng - modify add missing changelog in spec file by wenlong.ding@turbolinux.com.cn