]> git.pld-linux.org Git - packages/cryptsetup.git/commitdiff
disable test which requires pty; rel 2 auto/th/cryptsetup-2.4.3-2
authorJan Palus <atler@pld-linux.org>
Thu, 20 Jan 2022 09:58:47 +0000 (10:58 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 20 Jan 2022 09:58:47 +0000 (10:58 +0100)
cryptsetup.spec
no_pty_tests.patch [new file with mode: 0644]

index a1359c1413be28c29b4be24ff55b069132f73338..be69d698626b631712c86954ed75540c739a5177 100644 (file)
@@ -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 (file)
index 0000000..4355f1d
--- /dev/null
@@ -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
This page took 0.133601 seconds and 4 git commands to generate.