From 7698de8741f3c56c61e44985fe9549a0c96bfc5b4e9f174642dc82144157caa8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 8 Nov 2021 07:07:11 +0000 Subject: [PATCH] Accepting request 929191 from home:pgajdos - %check: really test the package [bsc#1191736] OBS-URL: https://build.opensuse.org/request/show/929191 OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=57 --- cracklib.changes | 5 +++++ cracklib.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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