]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
parted: Update to 3.2.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 5 Oct 2016 11:40:33 +0000 (13:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 Oct 2016 12:17:42 +0000 (13:17 +0100)
This is an major update to the latest stable version of parted.

* Drop SELinux support.
* Enable testsuite.

Fixes #11220.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
parted/parted.nm

index 3beb58a9774b74e49e09c71ce72f8e99a3ffb14b..a37b1f863efe9f340750399ba6165fc7d6bc7477 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = parted
-version    = 3.1
+version    = 3.2
 release    = 1
 
 groups     = Applications/System
@@ -24,18 +24,37 @@ sources    = %{thisapp}.tar.xz
 
 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
 
+       export LD_LIBRARY_PATH=%{DIR_APP}/libparted/.libs:%{DIR_APP}/libparted/fs/.libs
+
        configure_options += \
-               --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
 
 packages