public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/retext] rawhide: Update to 8.1.0 (Fedora#2554736)
@ 2026-10-23 17:01 Mattia Verga
0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-10-23 17:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/retext
Branch : rawhide
Commit : 789146221c9078e944fa13365077b63edb6ddef1
Author : Mattia Verga <mattia.verga@proton.me>
Date : 2026-10-23T19:00:56+02:00
Stats : +16/-10 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/retext/c/789146221c9078e944fa13365077b63edb6ddef1?branch=rawhide
Log:
Update to 8.1.0 (Fedora#2554736)
---
diff --git a/.gitignore b/.gitignore
index 77034e1..ccb99c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ clog
/retext-7.1.0.tar.gz
/retext-7.2.2.tar.gz
/retext-8.0.0.tar.gz
+/retext-8.1.0.tar.gz
diff --git a/retext.spec b/retext.spec
index 9fdaa63..dd1e1fe 100644
--- a/retext.spec
+++ b/retext.spec
@@ -1,12 +1,15 @@
%global modname ReText
Name: retext
-Version: 8.0.0
+Version: 8.1.0
Release: %autorelease
Summary: Simple editor for Markdown and reStructuredText
-# Automatically converted from old format: GPLv3+ - review is highly recommended.
-License: GPL-3.0-or-later
+# BSD-2-clause:
+# - ReText/mdx_posmap.py
+# GPL-3.0-or-later:
+# - ReText/icons/*-*.png
+License: GPL-2.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause
URL: https://github.com/retext-project/retext
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# Man pages are taken from the Debian package.
@@ -30,6 +33,9 @@ HTML.
%prep
%autosetup
+# Remove shebang from Python module
+sed -i '1{/^#!/d;}' ReText/__main__.py
+
%generate_buildrequires
%pyproject_buildrequires
@@ -41,7 +47,7 @@ HTML.
%install
%pyproject_install
-%pyproject_save_files %{modname}
+%pyproject_save_files -l %{modname}
mkdir -p %{buildroot}/%{_mandir}/man1
install -p -m 0644 %SOURCE1 %{buildroot}/%{_mandir}/man1
@@ -58,19 +64,18 @@ popd
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
- %{_builddir}/%{name}-%{version}/data/*.desktop
+ %{_builddir}/%{name}-%{version}/data/me.mitya57.ReText.desktop
%check
-appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/me.mitya57.ReText.metainfo.xml
%files -f %{pyproject_files}
%doc changelog.md configuration.md README.md
-%license LICENSE_GPL
%{_bindir}/%{name}
-%{_datadir}/metainfo/*.appdata.xml
-%{_datadir}/applications/*.desktop
+%{_datadir}/metainfo/me.mitya57.ReText.metainfo.xml
+%{_datadir}/applications/me.mitya57.ReText.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_mandir}/man1/*.1.*
diff --git a/sources b/sources
index f3f77f2..bc5086b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (retext-8.0.0.tar.gz) = 1a91eb4da647deb39e434865f03f1dcdd19420be421f8d921606c1e685feefde2426f85cac2e78693bac6065c1dbfcb3dbb9cfa08b4dae9df0d89bfd0ac7b7bf
+SHA512 (retext-8.1.0.tar.gz) = 019f49ede2727ce6281d22df3b2d01d35d666d4eb6538a8dd6ca6159f72199b3713d6f5c1e7f9ba95eddc941992ad0c4fb201587d9eed4e9d775d76aa7c73014
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 17:01 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:01 [rpms/retext] rawhide: Update to 8.1.0 (Fedora#2554736) Mattia Verga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox