diff --git a/mingw-pcre2.spec b/mingw-pcre2.spec index c5d9071..bb75cb4 100644 --- a/mingw-pcre2.spec +++ b/mingw-pcre2.spec @@ -108,11 +108,11 @@ autoreconf -vif --enable-static \ --enable-unicode \ --disable-valgrind -%mingw_make %{?_smp_mflags} +%mingw_make_build %install -%mingw_make DESTDIR=%{buildroot} install +%mingw_make_install rm -rf %{buildroot}%{mingw32_datadir}/doc/* rm -rf %{buildroot}%{mingw64_datadir}/doc/*