From 24f2574ebe6d3815da697a73e2c831c28b07738c Mon Sep 17 00:00:00 2001 From: Wang_M <815543835@qq.com> Date: Wed, 2 Apr 2025 02:05:26 +0000 Subject: [PATCH] rename the same bag --- file.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/file.spec b/file.spec index 003811b..72ed45d 100644 --- a/file.spec +++ b/file.spec @@ -1,6 +1,6 @@ Name: file Version: 5.39 -Release: 8 +Release: 9 Summary: A tool to identify the type of a particular file type License: BSD URL: http://www.darwinsys.com/file/ @@ -57,13 +57,13 @@ BuildArch: noarch This package contains the Python 2 bindings to access the libmagic API. The libmagic library is also used by the familiar file(1) command. -%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. @@ -146,7 +146,7 @@ make check %{python2_sitelib}/magic.pyo %{python2_sitelib}/*egg-info -%files -n python3-magic +%files -n python3-file-magic %doc python/README.md python/example.py %{!?_licensedir:%global license %%doc} %license COPYING @@ -155,6 +155,9 @@ make check %{python3_sitelib}/__pycache__/* %changelog +* Tue Apr 1 2025 wangmian - 5.39-9 +- use python3-file-magic instead of python3-magic + * Tue Apr 9 2024 tangyuchen - 5.39-8 - fix a memory leak problem -- Gitee