diff --git a/cracklib.changes b/cracklib.changes index 783954c..a20df21 100644 --- a/cracklib.changes +++ b/cracklib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 4 13:45:06 UTC 2021 - pgajdos@suse.com + +- %check: really test the package [bsc#1191736] + ------------------------------------------------------------------- Wed Aug 11 15:25:32 UTC 2021 - Jan Engelhardt diff --git a/cracklib.spec b/cracklib.spec index 33182b4..f3a8174 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -120,7 +120,8 @@ nm -C -D %{buildroot}%{_libdir}/libcrack.so.2 | grep ' T ' %endif %check -%make_build check +sed -i 's:\(util/cracklib-check\):\1 %{buildroot}/usr/lib/cracklib_dict:' Makefile +%make_build test %post -n libcrack2 -p /sbin/ldconfig %postun -n libcrack2 -p /sbin/ldconfig