From fb259d8223f79c37e8024d70f144ed612be4b74e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 8 Jan 2020 09:23:32 +0100 Subject: cpan-testers: fix an error on FreeBSD commit 1089a6c113c53cd77147808ebeb4f6d0ef03fa89 really was about silencing a warning, so let's not break other OSes who do not have that lib or not in this location --- t/data/SPECS/rpm-query-in-scriptlet.spec | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/data/SPECS/rpm-query-in-scriptlet.spec b/t/data/SPECS/rpm-query-in-scriptlet.spec index f7e28f91..2df8c227 100644 --- a/t/data/SPECS/rpm-query-in-scriptlet.spec +++ b/t/data/SPECS/rpm-query-in-scriptlet.spec @@ -13,7 +13,9 @@ x %install rm -rf %buildroot # Fix a testsuite warning ("warning: %post(rpm-query-in-scriptlet-1-1.x86_64) scriptlet failed" b/c of: "error: Failed to initialize NSS library") +%ifos linux echo %{_libdir}/libnss3.so > list +%endif # Find out needed deps: for i in sh rpm; do -- cgit v1.2.1