diff --git a/xmlcopyeditor-wx3.2.patch b/xmlcopyeditor-wx3.2.patch new file mode 100644 index 0000000..6e95a09 --- /dev/null +++ b/xmlcopyeditor-wx3.2.patch @@ -0,0 +1,11 @@ +diff -up xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp.wx32 xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp +--- xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp.wx32 2014-09-05 21:54:53.000000000 -0400 ++++ xmlcopyeditor-1.2.1.3/src/xmlcopyeditor.cpp 2022-08-04 19:57:04.794351751 -0400 +@@ -276,7 +276,6 @@ bool MyApp::OnInit() + case wxLANGUAGE_SPANISH_GUATEMALA: + case wxLANGUAGE_SPANISH_HONDURAS: + case wxLANGUAGE_SPANISH_MEXICAN: +- case wxLANGUAGE_SPANISH_MODERN: + case wxLANGUAGE_SPANISH_NICARAGUA: + case wxLANGUAGE_SPANISH_PANAMA: + case wxLANGUAGE_SPANISH_PARAGUAY: diff --git a/xmlcopyeditor.spec b/xmlcopyeditor.spec index e351d20..cb63804 100644 --- a/xmlcopyeditor.spec +++ b/xmlcopyeditor.spec @@ -1,22 +1,23 @@ Name: xmlcopyeditor Version: 1.2.1.3 -Release: 19%{?dist} +Release: 20%{?dist} Summary: A fast, free, validating XML editor License: GPLv2 URL: http://xml-copy-editor.sourceforge.net/ Source0: http://downloads.sourceforge.net/xml-copy-editor/%name-%version.tar.gz +Patch0: xmlcopyeditor-wx3.2.patch BuildRequires: make BuildRequires: gcc gcc-c++ -BuildRequires: wxGTK3-devel pcre-devel aspell-devel boost-devel intltool +BuildRequires: wxGTK-devel pcre-devel aspell-devel boost-devel intltool BuildRequires: xerces-c-devel libxslt-devel expat-devel desktop-file-utils libappstream-glib %description XML Copy Editor is a fast, free, validating XML editor. %prep -%setup -q +%autosetup -p1 find src -type f -print0 | xargs -0 chmod a-x tr -d '\r' < src/copying/gpl.txt > COPYING chmod a-x AUTHORS COPYING NEWS @@ -46,6 +47,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.a %{_mandir}/man1/%{name}* %changelog +* Thu Aug 04 2022 Scott Talbert - 1.2.1.3-20 +- Rebuild with wxWidgets 3.2 + * Sat Jul 23 2022 Fedora Release Engineering - 1.2.1.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild