!48 use python3-file-magic instead of python3-magic

From: @noodlesland 
Reviewed-by: @liubo254 
Signed-off-by: @liubo254
This commit is contained in:
openeuler-ci-bot 2025-04-02 06:17:53 +00:00 committed by Gitee
commit be72774ce9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: file
Version: 5.45
Release: 1
Release: 2
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
* Tue Apr 1 2025 wang mian - <wangmian19@h-partners.com> - 5.45-2
- use python3-file-magic instead of python3-magic
* Mon Oct 23 2023 li weigang - <weigangli99@gmail.com> - 5.45-1
- update to version 5.45