diff --git a/0001-replace-python-magic-with-file-magic.patch b/0001-replace-python-magic-with-file-magic.patch new file mode 100644 index 0000000..9958290 --- /dev/null +++ b/0001-replace-python-magic-with-file-magic.patch @@ -0,0 +1,25 @@ +From a187328cd232124c49b60954f970a8566869cfbb Mon Sep 17 00:00:00 2001 +From: Dick Marinus +Date: Tue, 22 Apr 2025 20:32:23 +0200 +Subject: [PATCH] replace python-magic with file-magic + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index ac26a7b2..a54dabff 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -30,7 +30,7 @@ dependencies = [ + "urwid>=1.3.0", + "urwidtrees>=1.0.3", + "twisted>=18.4.0", +- "python-magic", ++ "file-magic", + "configobj>=4.7.0", + "gpg>1.10.0", + ] +-- +2.49.0 + diff --git a/alot.spec b/alot.spec index 8802560..0c8611f 100644 --- a/alot.spec +++ b/alot.spec @@ -1,12 +1,13 @@ Name: alot Version: 0.11 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Experimental terminal MUA based on notmuch mail # Automatically converted from old format: GPLv3+ - review is highly recommended. License: GPL-3.0-or-later URL: https://github.com/pazz/alot Source0: %{url}/archive/%{version}/%{version}.tar.gz +Patch: 0001-replace-python-magic-with-file-magic.patch BuildArch: noarch @@ -53,6 +54,9 @@ install -Dpm0644 alot/defaults/* -t %{buildroot}/%{python3_sitelib}/alot/default %{python3_sitelib}/alot/defaults %changelog +* Tue Apr 29 2025 Dick Marinus - 0.11-7 +- Replace python-magic with file-magic + * Mon Apr 28 2025 Dick Marinus - 0.11-6 - Add unittest