More spec cleanups
This commit is contained in:
parent
aed1a87248
commit
f59caa59f7
@ -71,7 +71,7 @@ Static version of the MinGW Windows expat XML parser library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n expat-%{version}
|
||||
%autosetup -p1 -n expat-%{version}
|
||||
|
||||
|
||||
%build
|
||||
@ -80,14 +80,15 @@ Static version of the MinGW Windows expat XML parser library.
|
||||
|
||||
|
||||
%install
|
||||
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%mingw_make_install
|
||||
|
||||
# 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.
|
||||
rm -r $RPM_BUILD_ROOT%{mingw32_docdir}
|
||||
rm -r $RPM_BUILD_ROOT%{mingw64_docdir}
|
||||
rm -r %{buildroot}%{mingw32_docdir}
|
||||
rm -r %{buildroot}%{mingw64_docdir}
|
||||
|
||||
|
||||
# Win32
|
||||
%files -n mingw32-expat
|
||||
|
Loading…
Reference in New Issue
Block a user