diff --git a/file.spec b/file.spec index d62fc2f178f8863130a11fe8e00714f62dcc7fdd..283f533cdee858b0040e55a0b3a3cbd50cebdf6a 100644 --- a/file.spec +++ b/file.spec @@ -1,6 +1,6 @@ Name: file Version: 5.45 -Release: 3 +Release: 4 Summary: A tool to identify the type of a particular file type License: BSD URL: http://www.darwinsys.com/file/ @@ -48,6 +48,9 @@ Summary: Python 3 bindings for the libmagic API Requires: %{name} = %{version}-%{release} BuildRequires: python3-devel BuildArch: noarch +Provides: python3-magic = %{version}-%{release} +Obsoletes: python3-magic < %{version}-%{release} +Conflicts: python3-magic < %{version}-%{release} %description -n python3-file-magic This package contains the Python 3 bindings to access to the libmagic @@ -130,6 +133,9 @@ make -C tests check %{python3_sitelib}/__pycache__/* %changelog +* Fri Dec 12 2025 wangmian - - 5.45-4 +- Fixed the requirment error after using python3-file-magic instead of python3-magic + * Tue Dec 9 2025 wangmian - - 5.45-3 - use python3-file-magic instead of python3-magic