From 51ac5da7a084d9fbec7112ac7e6fae362423c1d3 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Tue, 30 Sep 2025 16:18:44 +0800 Subject: [PATCH] enable python binding testcase --- cracklib.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cracklib.spec b/cracklib.spec index 7dd02e7..89b2e66 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -3,7 +3,7 @@ Name: cracklib Version: 2.10.2 -Release: 1 +Release: 2 Summary: A password-checking library License: LGPL-2.1-or-later @@ -13,6 +13,8 @@ Source1: https://github.com/cracklib/cracklib/releases/download/v%{version}/crac BuildRequires: gcc, words, gettext, gettext-autopoint, zlib-devel, chrpath BuildRequires: python3-devel +# for python binding test +BuildRequires: python3-pytest Conflicts: cracklib-dicts < 2.8 Requires: gzip @@ -95,6 +97,8 @@ fi %check %make_build test +# run python binding testcase +%pytest python %files -f %{name}.lang %doc AUTHORS @@ -124,6 +128,9 @@ fi %{python3_sitelib}/__pycache__ %changelog +* Tue Sep 30 2025 yixiangzhike - 2.10.2-2 +- enable python binding testcase + * Mon Aug 05 2024 Funda Wang - 2.10.2-1 - update to 2.10.2 - force words as gz compressed -- Gitee