From 290e0815f12e932e7785ef5da647511823d476c9 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mon, 16 Apr 2018 15:48:58 +0200 Subject: [PATCH] update to new version 5.33 ... and drop file-5.04-man-return-code.patch because the exit status is now properly explained upstream. --- file-5.04-man-return-code.patch | 29 ----------------------------- file-5.32.tar.gz.asc | 6 ------ file-5.33.tar.gz.asc | 6 ++++++ file.spec | 8 +++++--- sources | 2 +- 5 files changed, 12 insertions(+), 39 deletions(-) delete mode 100644 file-5.04-man-return-code.patch delete mode 100644 file-5.32.tar.gz.asc create mode 100644 file-5.33.tar.gz.asc diff --git a/file-5.04-man-return-code.patch b/file-5.04-man-return-code.patch deleted file mode 100644 index a46d9f5..0000000 --- a/file-5.04-man-return-code.patch +++ /dev/null @@ -1,29 +0,0 @@ -From bf25a22d163daee728f3075652b246ca1c32bd79 Mon Sep 17 00:00:00 2001 -From: Jan Kaluza -Date: Tue, 4 Dec 2012 12:07:36 +0100 -Subject: [PATCH] file-5.04-man-return-code.patch - -Signed-off-by: Kamil Dudka ---- - 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 - diff --git a/file-5.32.tar.gz.asc b/file-5.32.tar.gz.asc deleted file mode 100644 index 5187306..0000000 --- a/file-5.32.tar.gz.asc +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iEYEABECAAYFAlmqdRAACgkQcREqsWyzOzpNIgCdF72HRFOdlkHZJbFS/l9bd3lf -3I4AoIZXgEDPf6vfVtAnSuWz+hPxDjxb -=oLAQ ------END PGP SIGNATURE----- diff --git a/file-5.33.tar.gz.asc b/file-5.33.tar.gz.asc new file mode 100644 index 0000000..e8901c6 --- /dev/null +++ b/file-5.33.tar.gz.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iEYEABECAAYFAlrToaMACgkQcREqsWyzOzrTHwCdG6Qlc1qsB9YcfZXYwRfXQivE +9SkAn0/ecDZhfJzgHtQM59gCgNXG4S9h +=nWes +-----END PGP SIGNATURE----- diff --git a/file.spec b/file.spec index 5c590de..f7a7684 100644 --- a/file.spec +++ b/file.spec @@ -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 - 5.33-1 +- update to new version 5.33 + * Wed Mar 28 2018 Kamil Dudka - 5.32-4 - make the python2-magic subpackage optional diff --git a/sources b/sources index d2bb2af..fef9376 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (file-5.32.tar.gz) = 315343229fa196335389544ee8010e9e80995ef4721938492dedcfb0465dfc45e1feb96f26dfe53cab484fb5d9bac54d2d72917fbfd28a1d998c6ad8c8f9792f +SHA512 (file-5.33.tar.gz) = 36c9f2e2aa814b5557eef114fdd3de159688c7a3c9632a9f5c6355c4d2a5694cee81279bda80897616fca07289a7fedb1f797439a2903c76dc84870694773c9e