rename the same bag
This commit is contained in:
parent
fb12936000
commit
faa6d7b9d1
11
file.spec
11
file.spec
@ -1,6 +1,6 @@
|
|||||||
Name: file
|
Name: file
|
||||||
Version: 5.41
|
Version: 5.41
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A tool to identify the type of a particular file type
|
Summary: A tool to identify the type of a particular file type
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.darwinsys.com/file/
|
URL: http://www.darwinsys.com/file/
|
||||||
@ -46,13 +46,13 @@ Requires: man
|
|||||||
%description help
|
%description help
|
||||||
This contains man files for the using of file
|
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
|
Summary: Python 3 bindings for the libmagic API
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description -n python3-magic
|
%description -n python3-file-magic
|
||||||
This package contains the Python 3 bindings to access to the libmagic
|
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.
|
API. The libmagic library is also used by the familiar file(1) command.
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ make -C tests check
|
|||||||
%files help
|
%files help
|
||||||
%{_mandir}/man*
|
%{_mandir}/man*
|
||||||
|
|
||||||
%files -n python3-magic
|
%files -n python3-file-magic
|
||||||
%doc python/README.md python/example.py
|
%doc python/README.md python/example.py
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -133,6 +133,9 @@ make -C tests check
|
|||||||
%{python3_sitelib}/__pycache__/*
|
%{python3_sitelib}/__pycache__/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 1 2025 wangmian <wangmian19@h-partners.com> - 5.41-5
|
||||||
|
- use python3-file-magic instead of python3-magic
|
||||||
|
|
||||||
* Tue Apr 9 2024 tangyuchen <tangyuchen5@huawei.com> - 5.41-4
|
* Tue Apr 9 2024 tangyuchen <tangyuchen5@huawei.com> - 5.41-4
|
||||||
- fix a memory leak problem
|
- fix a memory leak problem
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user