diff --git a/wine.spec b/wine.spec index 1e827c9..9664fb5 100644 --- a/wine.spec +++ b/wine.spec @@ -194,10 +194,10 @@ This RPM contains the header files and development tools for the WINE libraries. %prep -%autosetup -n wine-%{version} +%autosetup -n wine-%{downloadver} %if %{staging} tar xf %{SOURCE3} -python3 wine-staging-%{version}/staging/patchinstall.py --all +python3 wine-staging-%{downloadver}/staging/patchinstall.py --all %endif %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 # find the implicit dependencies -%define winedir %_builddir/%projectname-%realver +%define winedir %_builddir/%projectname-%downloadver cat >%winedir/my-find-requires.sh <