public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/retext] f45: Patch for enchant, fixes RHBZ #1309365
Date: Fri, 23 Oct 2026 17:04:49 GMT [thread overview]
Message-ID: <179277508956.1.1904986900006813929.rpms-retext-c7826daad4ad@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-23 17:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179277508956.1.1904986900006813929.rpms-retext-c7826daad4ad@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox