Do not remove Source2 and Source3, only disable their installation.

This commit is contained in:
gvm 2018-03-11 00:03:17 +03:00
parent 6bb8ff3915
commit ab3140b6ea

View file

@ -32,10 +32,10 @@ Url: http://www.winehq.com/
Source0: http://mirrors.ibiblio.org/wine/source/%(echo %{version} |cut -d. -f1-2)/%{name}-%{version}.tar.xz
Source1: http://mirrors.ibiblio.org/wine/source/%(echo %{version} |cut -d. -f1-2)/%{name}-%{version}.tar.xz.sign
# Old RH stuff for %%{mdvver} <= 201410
#Source2: wine.init
Source2: wine.init
# New solution for %%{mdvver} >= 201610
# See: https://wiki.archlinux.org/index.php/wine (Using Wine as an interpreter for Win16/Win32 binaries)
#Source3: wine.systemd
Source3: wine.systemd
# Wine-Compholio, from github by tag
# https://github.com/compholio/wine-compholio/archive/v%%{version}.tar.gz
Source4: wine-staging-%{version}.tar.gz
@ -329,7 +329,7 @@ autoreconf -vfi
install -m 0755 %{SOURCE11} %{buildroot}%{_bindir}/
install -m 0755 %{SOURCE12} %{buildroot}%{_bindir}/
# Disabled binfmt, becuase its insecure, see https://nixtux.ru/450
# Disabled binfmt, because its insecure, see https://nixtux.ru/450
## Allow users to launch Windows programs by just clicking on the .exe file...
#%if %{with_systemd}
## ... using systemd (>= 230)