From f3c3504d8bdbcf06a5b521ad61ee92cb02b980a4 Mon Sep 17 00:00:00 2001 From: Wang_M <815543835@qq.com> Date: Fri, 12 Dec 2025 11:48:30 +0800 Subject: [PATCH] use python3-file-magic instead of python3-magic --- file.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/file.spec b/file.spec index a071b46..36af639 100644 --- a/file.spec +++ b/file.spec @@ -1,6 +1,6 @@ Name: file Version: 5.45 -Release: 2 +Release: 3 Summary: A tool to identify the type of a particular file type License: BSD URL: http://www.darwinsys.com/file/ @@ -43,13 +43,13 @@ Requires: man %description help This contains man files for the using of file -%package -n python3-magic +%package -n python3-file-magic Summary: Python 3 bindings for the libmagic API Requires: %{name} = %{version}-%{release} BuildRequires: python3-devel BuildArch: noarch -%description -n python3-magic +%description -n python3-file-magic This package contains the Python 3 bindings to access to the libmagic API. The libmagic library is also used by the familiar file(1) command. @@ -121,7 +121,7 @@ make -C tests check %files help %{_mandir}/man* -%files -n python3-magic +%files -n python3-file-magic %doc python/README.md python/example.py %{!?_licensedir:%global license %%doc} %license COPYING @@ -130,6 +130,9 @@ make -C tests check %{python3_sitelib}/__pycache__/* %changelog +* Fri Dec 12 2025 wangmian - 5.45-3 +- use python3-file-magic instead of python3-maigc + * Tue Jul 01 2025 wangmian - 5.45-2 - Fixed bug for macros in Changelog -- Gitee