Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/file.git#d7c593dd29042d83c98bbc015557da927f328e71
This commit is contained in:
parent
092000eca2
commit
767b20b2c7
22
file.spec
22
file.spec
@ -12,12 +12,12 @@
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
Summary: A utility for determining file types
|
||||
Summary: Utility for determining file types
|
||||
Name: file
|
||||
Version: 5.39
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: BSD
|
||||
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
|
||||
Source0: http://ftp.astron.com/pub/file/file-%{version}.tar.gz
|
||||
|
||||
# Upstream says it's up to distributions to add a way to support local-magic.
|
||||
Patch0: file-localmagic.patch
|
||||
@ -29,10 +29,13 @@ Patch2: file-5.04-volume_key.patch
|
||||
# Fix close_on_exec multithreaded decompression issue (#1906751)
|
||||
Patch3: file-5.39-CLOEXEC.patch
|
||||
|
||||
URL: http://www.darwinsys.com/file/
|
||||
Requires: file-libs = %{version}-%{release}
|
||||
URL: https://www.darwinsys.com/file/
|
||||
Requires: file-libs%{?_isa} = %{version}-%{release}
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
The file command is used to identify a particular file according to the
|
||||
@ -158,7 +161,6 @@ cd %{py3dir}
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc ChangeLog README
|
||||
%{_bindir}/*
|
||||
@ -166,7 +168,6 @@ cd %{py3dir}
|
||||
%config(noreplace) %{_sysconfdir}/magic
|
||||
|
||||
%files libs
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc ChangeLog README
|
||||
%{_libdir}/*so.*
|
||||
@ -186,7 +187,6 @@ cd %{py3dir}
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-magic
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc python/README.md python/example.py
|
||||
%{python2_sitelib}/magic.py
|
||||
@ -199,7 +199,6 @@ cd %{py3dir}
|
||||
|
||||
%if %{with python3}
|
||||
%files -n python3-file-magic
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc python/README.md python/example.py
|
||||
%{python3_sitelib}/magic.py
|
||||
@ -208,6 +207,9 @@ cd %{py3dir}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.39-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Dec 16 2020 Vincent Mihalkovic <vmihalko@redhat.com> - 5.39-4
|
||||
- Fix close_on_exec multithreaded decompression issue (#1906751)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user