From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] parted: Update to 3.2. Date: Wed, 05 Oct 2016 13:40:33 +0200 Message-ID: <1475667633-23754-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6083094856319522474==" List-Id: --===============6083094856319522474== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an major update to the latest stable version of parted. * Drop SELinux support. * Enable testsuite. Fixes #11220. Signed-off-by: Stefan Schantl --- parted/parted.nm | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/parted/parted.nm b/parted/parted.nm index 3beb58a..a37b1f8 100644 --- a/parted/parted.nm +++ b/parted/parted.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D parted -version =3D 3.1 +version =3D 3.2 release =3D 1 =20 groups =3D Applications/System @@ -24,18 +24,37 @@ sources =3D %{thisapp}.tar.xz =20 build requires + # Testsuite + /usr/sbin/mkswap + /usr/bin/udevadm + + # Build dependencies libdevmapper-devel - libselinux-devel - libsepol-devel libuuid-devel ncurses-devel pkg-config readline-devel end =20 + export LD_LIBRARY_PATH=3D%{DIR_APP}/libparted/.libs:%{DIR_APP}/libparted/fs= /.libs + configure_options +=3D \ - --enable-selinux \ --disable-Werror + + test + # Disable test because it needs a locale C.UTF-8. + sed -i '/t0251-gpt-unicode.sh/d' tests/Makefile + + # Disable tests because they force to require loopback devices. + sed -i '/t6001-psep.sh/d' tests/Makefile + sed -i '/t6002-dm-busy.sh/d' tests/Makefile + sed -i '/t6003-dm-hide.sh/d' tests/Makefile + sed -i '/t6004-dm-many-partitions.sh/d' tests/Makefile + sed -i '/t6005-dm-uuid.sh/d' tests/Makefile + + # Run testsuite. + make check + end end =20 packages --=20 2.7.4 --===============6083094856319522474==--