public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] parted: Update to 3.2.
Date: Wed, 05 Oct 2016 13:40:33 +0200	[thread overview]
Message-ID: <1475667633-23754-1-git-send-email-stefan.schantl@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1625 bytes --]

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(a)ipfire.org>
---
 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 @@
 ###############################################################################
 
 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
-- 
2.7.4


                 reply	other threads:[~2016-10-05 11:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475667633-23754-1-git-send-email-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox