More spec cleanups

This commit is contained in:
Sandro Mani 2020-11-13 00:48:57 +01:00
parent aed1a87248
commit f59caa59f7

View File

@ -71,7 +71,7 @@ Static version of the MinGW Windows expat XML parser library.
%prep %prep
%setup -q -n expat-%{version} %autosetup -p1 -n expat-%{version}
%build %build
@ -80,14 +80,15 @@ Static version of the MinGW Windows expat XML parser library.
%install %install
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT %mingw_make_install
# Remove .la files # Remove .la files
find $RPM_BUILD_ROOT -name "*.la" -delete find %{buildroot} -name "*.la" -delete
# Remove documentation which duplicates that found in the native package. # Remove documentation which duplicates that found in the native package.
rm -r $RPM_BUILD_ROOT%{mingw32_docdir} rm -r %{buildroot}%{mingw32_docdir}
rm -r $RPM_BUILD_ROOT%{mingw64_docdir} rm -r %{buildroot}%{mingw64_docdir}
# Win32 # Win32
%files -n mingw32-expat %files -n mingw32-expat