update to new version 5.33

... and drop file-5.04-man-return-code.patch because the exit status
is now properly explained upstream.
This commit is contained in:
Kamil Dudka 2018-04-16 15:48:58 +02:00
parent e2641f9095
commit 290e0815f1
5 changed files with 12 additions and 39 deletions

View File

@ -1,29 +0,0 @@
From bf25a22d163daee728f3075652b246ca1c32bd79 Mon Sep 17 00:00:00 2001
From: Jan Kaluza <jkaluza@redhat.com>
Date: Tue, 4 Dec 2012 12:07:36 +0100
Subject: [PATCH] file-5.04-man-return-code.patch
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
---
doc/file.man | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/file.man b/doc/file.man
index fff7730..3a524f5 100644
--- a/doc/file.man
+++ b/doc/file.man
@@ -585,6 +585,11 @@ program, and are not covered by the above license.
.Sh RETURN CODE
.Nm
returns 0 on success, and non-zero on error.
+.Pp
+If the file named by the file
+operand does not exist, cannot be read, or the type of the file named by
+the file operand cannot be determined, this is not be considered an error
+that affects the exit status.
.Sh BUGS
Please report bugs and send patches to the bug tracker at
.Pa http://bugs.gw.com/
--
2.5.5

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iEYEABECAAYFAlmqdRAACgkQcREqsWyzOzpNIgCdF72HRFOdlkHZJbFS/l9bd3lf
3I4AoIZXgEDPf6vfVtAnSuWz+hPxDjxb
=oLAQ
-----END PGP SIGNATURE-----

6
file-5.33.tar.gz.asc Normal file
View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iEYEABECAAYFAlrToaMACgkQcREqsWyzOzrTHwCdG6Qlc1qsB9YcfZXYwRfXQivE
9SkAn0/ecDZhfJzgHtQM59gCgNXG4S9h
=nWes
-----END PGP SIGNATURE-----

View File

@ -14,8 +14,8 @@
Summary: A utility for determining file types
Name: file
Version: 5.32
Release: 4%{?dist}
Version: 5.33
Release: 1%{?dist}
License: BSD
Group: Applications/File
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@ -26,7 +26,6 @@ Patch0: file-localmagic.patch
# not yet upstream
Patch3: file-4.17-rpm-name.patch
Patch4: file-5.04-volume_key.patch
Patch5: file-5.04-man-return-code.patch
# picked from upstream
@ -200,6 +199,9 @@ cd %{py3dir}
%endif
%changelog
* Mon Apr 16 2018 Kamil Dudka <kdudka@redhat.com> - 5.33-1
- update to new version 5.33
* Wed Mar 28 2018 Kamil Dudka <kdudka@redhat.com> - 5.32-4
- make the python2-magic subpackage optional

View File

@ -1 +1 @@
SHA512 (file-5.32.tar.gz) = 315343229fa196335389544ee8010e9e80995ef4721938492dedcfb0465dfc45e1feb96f26dfe53cab484fb5d9bac54d2d72917fbfd28a1d998c6ad8c8f9792f
SHA512 (file-5.33.tar.gz) = 36c9f2e2aa814b5557eef114fdd3de159688c7a3c9632a9f5c6355c4d2a5694cee81279bda80897616fca07289a7fedb1f797439a2903c76dc84870694773c9e