summaryrefslogtreecommitdiffstats
path: root/t/data
diff options
context:
space:
mode:
Diffstat (limited to 't/data')
-rw-r--r--t/data/SPECS/rpm-query-in-scriptlet.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/data/SPECS/rpm-query-in-scriptlet.spec b/t/data/SPECS/rpm-query-in-scriptlet.spec
index d7c08f1a..630d036d 100644
--- a/t/data/SPECS/rpm-query-in-scriptlet.spec
+++ b/t/data/SPECS/rpm-query-in-scriptlet.spec
@@ -13,9 +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
+if [ -e %{_libdir}/libnss3.so ]; then
echo %{_libdir}/libnss3.so > list
-%endif
+fi
# Find out needed deps:
for i in sh rpm; do