test
OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=124
This commit is contained in:
parent
056b01ba70
commit
9d87fd688d
12
wine.spec
12
wine.spec
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with hal
|
%bcond_with hal
|
||||||
|
|
||||||
Name: wine
|
Name: wine
|
||||||
@ -195,6 +196,17 @@ cd ..
|
|||||||
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
|
echo >my-find-requires.sh <<EOF
|
||||||
|
%{__find_requires}
|
||||||
|
%ifarch x86_64
|
||||||
|
grep SONAME_ config.log|grep -v 'so"'|sed -e 's/^.*\(".*"\).*$/\1()(64bit)/;'|sort -u
|
||||||
|
%else
|
||||||
|
grep SONAME_ config.log|grep -v 'so"'|sed -e 's/^.*\(".*"\).*$/\1/;'|sort -u
|
||||||
|
%endif
|
||||||
|
EOF
|
||||||
|
chmod 755 my-find-requires.sh
|
||||||
|
%define __find_requires my-find-requires.sh
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user