public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/retext] f45: Patch for enchant, fixes RHBZ #1309365
@ 2026-10-23 17:04
0 siblings, 0 replies; only message in thread
From: @ 2026-10-23 17:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/retext
Branch : f45
Commit : c7826daad4add16f1b52cb4734aa561b40f4e30f
Author : Mario Blättermann <mario.blaettermann@gmail.com>
Date : 2016-02-17T17:19:10+01:00
Stats : +15/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/retext/c/c7826daad4add16f1b52cb4734aa561b40f4e30f?branch=f45
Log:
Patch for enchant, fixes RHBZ #1309365
---
diff --git a/retext-tab.py.diff b/retext-tab.py.diff
new file mode 100644
index 0000000..c1a2e7e
--- /dev/null
+++ b/retext-tab.py.diff
@@ -0,0 +1,11 @@
+--- ReText/tab.py 2015-12-20 15:08:38.000000000 +0100
++++ ReText/tab.py 2016-02-17 17:02:07.827669258 +0100
+@@ -48,7 +48,7 @@
+ textDocument = self.editBox.document()
+ self.highlighter = ReTextHighlighter(textDocument)
+ if enchant_available and parent.actionEnableSC.isChecked():
+- self.highlighter.dictionary = enchant.Dict(parent.sl)
++ self.highlighter.dictionary = enchant.Dict(parent.sl or None)
+ self.highlighter.rehighlight()
+ self.highlighter.docType = self.markup.name
+
diff --git a/retext.spec b/retext.spec
index 88bb951..b9b0997 100644
--- a/retext.spec
+++ b/retext.spec
@@ -15,6 +15,7 @@ Source0: http://downloads.sourceforge.net/project/%{name}/%{srcname}-5.0/
# English man pages are taken from the Debian package.
Source1: https://mariobl.fedorapeople.org/Retext/%{name}-man-de.po
Source2: https://mariobl.fedorapeople.org/Retext/%{name}.1
+Patch0: %{name}-tab.py.diff
BuildArch: noarch
@@ -54,6 +55,7 @@ für Markdown und reStructuredText.
%prep
%setup -q -n ReText-%{version}
+%patch0
%build
%{__python3} setup.py build
@@ -126,8 +128,8 @@ fi
%{python3_sitelib}/*egg-info
%changelog
-* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+* Wed Feb 17 2016 Mario Blättermann <mario.blaettermann@gmail.com> - 5.3.0-2
+- Patch for Enchant (RHBZ #1309365)
* Sat Jan 23 2016 Mario Blättermann <mario.blaettermann@gmail.com> - 5.3.0-1
- New upstream version
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 17:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 17:04 [rpms/retext] f45: Patch for enchant, fixes RHBZ #1309365
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox