From: Jakub Bogusz Date: Wed, 25 Feb 2004 10:33:49 +0000 (+0000) Subject: - maybe this workaround will work...? X-Git-Tag: auto/ac/wine-20040813-0_1~25 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=e4e6172070c5cdf0866ee39f4c3e9a1ffb671cc0;p=packages%2Fwine.git - maybe this workaround will work...? Changed files: wine.spec -> 1.163 --- diff --git a/wine.spec b/wine.spec index 03647bd..600760e 100644 --- a/wine.spec +++ b/wine.spec @@ -91,7 +91,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _winedir %{_datadir}/%{name} -%define getsoname() %((objdump -p %{1} 2>/dev/null || echo SONAME ERROR) | awk '/SONAME/ { print $2 }' | sed -e 's/^$/ERROR/') +%define getsoname() %((objdump -p %{1} 2>/dev/null || echo SONAME ERROR) | awk '/SONAME/ { print $2; s=1 }; END { if(s==0) print "ERROR" }') %description Wine is a program which allows running Microsoft Windows programs