From f3d10871300498150c41f3acc154688f1ee48ceb Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Wed, 26 Aug 2020 17:02:25 +0300 Subject: [PATCH] deps: Require `nss-tools` for make's fasttest target Otherwise, tests fail with: ``` E FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/certutil' ... =================================== short test summary info =================================== FAILED test_ipapython/test_certdb.py::test_dbm_tmp - FileNotFoundError: [Errno 2] No such fi... FAILED test_ipapython/test_certdb.py::test_sql_tmp - FileNotFoundError: [Errno 2] No such fi... FAILED test_ipapython/test_certdb.py::test_convert_db - FileNotFoundError: [Errno 2] No such... FAILED test_ipapython/test_certdb.py::test_convert_db_nokey - FileNotFoundError: [Errno 2] N... FAILED test_ipapython/test_certdb.py::test_auto_db - FileNotFoundError: [Errno 2] No such fi... FAILED test_ipapython/test_certdb.py::test_delete_cert_and_key - FileNotFoundError: [Errno 2... FAILED test_ipapython/test_certdb.py::test_check_validity - FileNotFoundError: [Errno 2] No ... ... ``` Signed-off-by: Stanislav Levin Reviewed-By: Alexander Bokovoy --- freeipa.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/freeipa.spec.in b/freeipa.spec.in index 2d4a96d90..0e7a51f44 100755 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -269,6 +269,7 @@ BuildRequires: python3-m2r # %if 0%{?with_lint} BuildRequires: jsl +BuildRequires: nss-tools BuildRequires: rpmlint BuildRequires: softhsm BuildRequires: keyutils