From 87005d5144a1d35de00fc8bb24c3978de66f1471 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Mon, 24 May 2021 19:51:37 +0800 Subject: [PATCH] Add "%config(noreplace)" for pw_dict --- cracklib.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cracklib.spec b/cracklib.spec index d537a21..0c1276e 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -5,7 +5,7 @@ Name: cracklib Version: 2.9.7 -Release: 5 +Release: 6 Summary: A password-checking library License: LGPLv2+ @@ -131,7 +131,7 @@ make test %{_libdir}/libcrack.so.* %{_libdir}/cracklib_dict.* %dir %{_datadir}/cracklib -%{_datadir}/cracklib/pw_dict.* +%config(noreplace) %{_datadir}/cracklib/pw_dict.* %{_datadir}/cracklib/cracklib-small.* %{_datadir}/cracklib/cracklib.magic @@ -150,6 +150,9 @@ make test %endif %changelog +* Mon May 24 2021 yixiangzhike - 2.9.7-6 +- add %%config(noreplace) for pw_dict + * Thu Oct 22 2020 yangzhuangzhuang - 2.9.7-5 - remove python2 -- Gitee