SHA256
1
0
forked from pool/wine
Marcus Meissner 2021-05-24 16:37:13 +00:00 committed by Git OBS Bridge
parent 1446b89e17
commit 178c488b2b

View File

@ -317,8 +317,13 @@ make %{?_smp_mflags} all
make install DESTDIR=%{buildroot}
%ifarch x86_64
ln -s /usr/lib/wine/i386-windows %buildroot/usr/%_lib/wine/
ln -s /usr/lib/wine/i386-unix %buildroot/usr/%_lib/wine/
mkdir -p \
%{buildroot}/usr/lib/wine/i386-windows \
%{buildroot}/usr/lib/wine/i386-unix
ln -s \
/usr/lib/wine/i386-windows \
/usr/lib/wine/i386-unix \
%buildroot/usr/%_lib/wine/
%endif
# install desktop file
@ -440,10 +445,6 @@ chmod 755 %winedir/my-find-requires.sh
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%ifarch x86_64
%ghost %dir /usr/lib/wine/i386-windows
%ghost %dir /usr/lib/wine/i386-unix
%endif
%ifarch %ix86
%{_bindir}/wine
%{_bindir}/wine-preloader
@ -462,6 +463,10 @@ chmod 755 %winedir/my-find-requires.sh
%{_libdir}/wine/*-windows/*.acm
%dir %{_libdir}/wine/*-unix
%{_libdir}/wine/*-unix/*.so*
%ifarch x86_64
%dir /usr/lib/wine/i386-windows
%dir /usr/lib/wine/i386-unix
%endif
%files devel
%defattr(-,root,root)