From 4be87e9faa0c1cee57f25e830d94df49b1eeafdb Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Jul 02 2014 10:31:03 +0000 Subject: 2.25-0.3: upgrade to -rc2 --- diff --git a/.gitignore b/.gitignore index 3280dbf..9ddb152 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ /util-linux-2.24.1.tar.xz /util-linux-2.24.2.tar.xz /util-linux-2.25-rc1.tar.xz +/util-linux-2.25-rc2.tar.xz diff --git a/sources b/sources index 221284a..24abd48 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fd0c219f2c2cc765a9c6a29cd96fb091 util-linux-2.25-rc1.tar.xz +9df5663b5b302a5219c2b7ba38868071 util-linux-2.25-rc2.tar.xz diff --git a/util-linux-squashfs-probe.patch b/util-linux-squashfs-probe.patch deleted file mode 100644 index 2e3779d..0000000 --- a/util-linux-squashfs-probe.patch +++ /dev/null @@ -1,46 +0,0 @@ -From cbccd7a4f8ffcded136e83fb7c3aeedc393d312d Mon Sep 17 00:00:00 2001 -From: David Shea -Date: Mon, 23 Jun 2014 13:41:48 -0400 -Subject: [PATCH] libblkid: correct the return values in squashfs probe - -Returning -1 can cause squashfs v3 detection to make v4 detection fail. - -Signed-off-by: Karel Zak ---- - libblkid/src/superblocks/squashfs.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/libblkid/src/superblocks/squashfs.c b/libblkid/src/superblocks/squashfs.c -index a35d60f..8ed2838 100644 ---- a/libblkid/src/superblocks/squashfs.c -+++ b/libblkid/src/superblocks/squashfs.c -@@ -41,7 +41,7 @@ static int probe_squashfs(blkid_probe pr, const struct blkid_idmag *mag) - major = le16_to_cpu(sq->s_major); - minor = le16_to_cpu(sq->s_minor); - if (major < 4) -- return -1; -+ return 1; - - blkid_probe_sprintf_version(pr, "%u.%u", major, minor); - -@@ -56,7 +56,7 @@ static int probe_squashfs3(blkid_probe pr, const struct blkid_idmag *mag) - - sq = blkid_probe_get_sb(pr, mag, struct sqsh_super_block); - if (!sq) -- return -1; -+ return errno ? -errno : 1; - - if (strcmp(mag->magic, "sqsh") == 0) { - major = be16_to_cpu(sq->s_major); -@@ -67,7 +67,7 @@ static int probe_squashfs3(blkid_probe pr, const struct blkid_idmag *mag) - } - - if (major > 3) -- return -1; -+ return 1; - - blkid_probe_sprintf_version(pr, "%u.%u", major, minor); - --- -1.9.3 - diff --git a/util-linux.spec b/util-linux.spec index 8701e6c..48c5f4b 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -2,12 +2,12 @@ Summary: A collection of basic system utilities Name: util-linux Version: 2.25 -Release: 0.2%{?dist} +Release: 0.3%{?dist} License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain Group: System Environment/Base URL: http://en.wikipedia.org/wiki/Util-linux -%define upstream_version %{version}-rc1 +%define upstream_version %{version}-rc2 ### Macros %define compldir %{_datadir}/bash-completion/completions/ @@ -77,9 +77,6 @@ Requires: libsmartcols = %{version}-%{release} # 151635 - makeing /var/log/lastlog Patch0: 2.23-login-lastlog-create.patch -# 1112315 - libblkid: correct the return values in squashfs probe -Patch1: util-linux-squashfs-probe.patch - %description The util-linux package contains a large variety of low-level system utilities that are necessary for a Linux system to function. Among @@ -833,6 +830,9 @@ exit 0 %{_libdir}/python*/site-packages/libmount/* %changelog +* Thu Jul 02 2014 Karel Zak 2.25-0.3 +- upgrade to release 2.25-rc2 + * Wed Jun 25 2014 Peter Jones - 2.25-0.2 - Fix libblkid's squashfs probe return checking. Related: rhbz#1112315