]> git.pld-linux.org Git - packages/wine.git/commitdiff
- maybe this workaround will work...?
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 25 Feb 2004 10:33:49 +0000 (10:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wine.spec -> 1.163

wine.spec

index 03647bdccb1dfd219940ef6faa9341f1770f107e..600760eb42e9c6fe0dca39db5a9f15dcf399d5f0 100644 (file)
--- 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
This page took 0.25986 seconds and 4 git commands to generate.