SHA256
6
0
forked from pool/file

Update to file file-5.41

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=226
This commit is contained in:
2021-10-19 09:56:46 +00:00
committed by Git OBS Bridge
parent 4b0a77ed1a
commit 5f1e54f96a
25 changed files with 157 additions and 530 deletions

View File

@@ -33,7 +33,7 @@ Obsoletes: file-64bit
%endif
#
# Set Version also in python-magic.spec
Version: 5.40
Version: 5.41
Release: 0
Summary: A Tool to Determine File Types
License: BSD-2-Clause
@@ -43,7 +43,7 @@ Source2: baselibs.conf
Source3: file-rpmlintrc
Source4: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz.asc
Source5: file.keyring
Patch: file-5.39.dif
Patch: file-5.41.dif
Patch1: file-5.19-misc.dif
Patch4: file-4.24-autoconf.dif
Patch5: file-5.14-tex.dif
@@ -65,17 +65,6 @@ Patch37: file-secure_getenv.patch
Patch39: file-5.28-btrfs-image.dif
Patch40: file-5.38-allow-readlinkat.dif
# Upstream commits as patches
Patch41: file-5.40-1c677c04.patch
Patch42: file-5.40-9e2becec.patch
Patch43: file-5.40-6b34436a.patch
Patch44: file-5.40-9b0459af.patch
Patch45: file-5.40-f0601504.patch
Patch46: file-5.40-3096f87f.patch
Patch47: file-5.40-f7705dca.patch
Patch48: file-5.40-749e1ecf.patch
Patch49: file-5.40-4c5fe1ad.patch
# My fix of the ASCII count bug
Patch60: file-5.40-ascii.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
@@ -119,16 +108,6 @@ to develop applications that require the magic "file" interface.
%prep
%setup -q -n file-%{version}
%patch41 -p0
%patch42 -p0
%patch43 -p0
%patch44 -p0
%patch45 -p0
%patch46 -p0
%patch47 -p0
%patch48 -p0
%patch49 -p0
%patch60 -p0
%patch1 -p0 -b .misc
%patch4 -p0 -b .conf
%patch5 -p0 -b .tex
@@ -223,6 +202,6 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_libdir}/pkgconfig/libmagic.pc
%doc %{_mandir}/man3/libmagic.3.gz
%license COPYING
%doc README AUTHORS NEWS ChangeLog
%doc README.DEVELOPER AUTHORS NEWS ChangeLog
%changelog