Marcus Meissner 2024-12-09 08:37:34 +00:00 committed by Git OBS Bridge
parent efe2956b07
commit 0ae9dd08ee

View File

@ -194,10 +194,10 @@ This RPM contains the header files and development tools for the WINE
libraries. libraries.
%prep %prep
%autosetup -n wine-%{version} %autosetup -n wine-%{downloadver}
%if %{staging} %if %{staging}
tar xf %{SOURCE3} tar xf %{SOURCE3}
python3 wine-staging-%{version}/staging/patchinstall.py --all python3 wine-staging-%{downloadver}/staging/patchinstall.py --all
%endif %endif
%build %build
@ -270,7 +270,7 @@ find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {}
rm -rf %{buildroot}%{_mandir}/{pl,de,fr}.UTF-8 rm -rf %{buildroot}%{_mandir}/{pl,de,fr}.UTF-8
# find the implicit dependencies # find the implicit dependencies
%define winedir %_builddir/%projectname-%realver %define winedir %_builddir/%projectname-%downloadver
cat >%winedir/my-find-requires.sh <<EOF cat >%winedir/my-find-requires.sh <<EOF
#!/bin/bash #!/bin/bash
%{__find_requires} %{__find_requires}