diff options
author | Jan Palus | 2022-01-20 09:58:47 (GMT) |
---|---|---|
committer | Jan Palus | 2022-01-20 09:58:47 (GMT) |
commit | b3d74a9a6341de22e1997548a2b6283c701ab474 (patch) | |
tree | a9c2f1ec4b66e2e7ffd7c95ae01debe24fa9e648 | |
parent | f485fa8f76bb3d7672492f75c5c6a46ffc9cc34c (diff) | |
download | cryptsetup-b3d74a9a6341de22e1997548a2b6283c701ab474.zip cryptsetup-b3d74a9a6341de22e1997548a2b6283c701ab474.tar.gz |
disable test which requires pty; rel 2auto/th/cryptsetup-2.4.3-2
-rw-r--r-- | cryptsetup.spec | 4 | ||||
-rw-r--r-- | no_pty_tests.patch | 11 |
2 files changed, 14 insertions, 1 deletions
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 |