From 22a64968b8086784e03bb2294734deaa39d743a2d9efd5b29a3c975dc2b69849 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sun, 1 Apr 2012 21:55:25 +0000 Subject: [PATCH] add workaround for broken xz in Archiving repo OBS-URL: https://build.opensuse.org/package/show/Archiving/innoextract?expand=0&rev=2 --- innoextract.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/innoextract.spec b/innoextract.spec index 491a530..af6350e 100644 --- a/innoextract.spec +++ b/innoextract.spec @@ -41,7 +41,7 @@ supports installers created by Inno Setup 1.2.10 to 5.4.3. # => crude workaround: %if 0%{?suse_version} == 1210 %__install -d lzma/lib -matches=$(/bin/ls -1 /%{_lib}/liblzma.so.*.*.* | wc -l) +matches=$(/bin/ls -1 /%{_lib}/liblzma.so.*.*.* %{_libdir}/liblzma.so.*.*.* | wc -l) [ $matches -gt 0 ] || { echo 'ERROR: failed to find any match for /%{_lib}/liblzma.so.*.*.*' >&2; exit 1; } [ $matches -gt 1 ] && { echo 'ERROR: found too many matches for /%{_lib}/liblzma.so.*.*.*' >&2; exit 1; } #'