[packages/cryptsetup] disable test which requires pty; rel 2
atler
atler at pld-linux.org
Thu Jan 20 10:59:24 CET 2022
commit b3d74a9a6341de22e1997548a2b6283c701ab474
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jan 20 10:58:47 2022 +0100
disable test which requires pty; rel 2
cryptsetup.spec | 4 +++-
no_pty_tests.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/cryptsetup.spec b/cryptsetup.spec
index a1359c1..be69d69 100644
--- a/cryptsetup.spec
+++ b/cryptsetup.spec
@@ -11,12 +11,13 @@ Summary: LUKS for dm-crypt implemented in cryptsetup
Summary(pl.UTF-8): LUKS dla dm-crypta zaimplementowany w cryptsetup
Name: cryptsetup
Version: 2.4.3
-Release: 1
+Release: 2
License: GPL v2
Group: Base
Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.4/%{name}-%{version}.tar.xz
# Source0-md5: 2303d57e78d4977344188a46e125095c
Patch0: diet.patch
+Patch1: no_pty_tests.patch
URL: https://gitlab.com/cryptsetup/cryptsetup
BuildRequires: autoconf >= 2.67
BuildRequires: automake >= 1:1.12
@@ -146,6 +147,7 @@ cryptsetup - wersję statycznie zlinkowaną dla initrd.
%prep
%setup -q
%{?with_diet:%patch0 -p1}
+%patch1 -p1
%{__rm} po/stamp-po
diff --git a/no_pty_tests.patch b/no_pty_tests.patch
new file mode 100644
index 0000000..4355f1d
--- /dev/null
+++ b/no_pty_tests.patch
@@ -0,0 +1,11 @@
+--- cryptsetup-2.4.3/tests/Makefile.am.orig 2022-01-13 10:23:53.000000000 +0100
++++ cryptsetup-2.4.3/tests/Makefile.am 2022-01-20 10:56:51.933912924 +0100
+@@ -27,7 +27,7 @@
+ endif
+
+ if REENCRYPT
+-TESTS += reencryption-compat-test reencryption-compat-test2 luks2-reencryption-test luks2-reencryption-mangle-test
++TESTS += reencryption-compat-test reencryption-compat-test2 luks2-reencryption-test
+ endif
+
+ if INTEGRITYSETUP
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cryptsetup.git/commitdiff/b3d74a9a6341de22e1997548a2b6283c701ab474
More information about the pld-cvs-commit
mailing list