Use %{buildroot} over $RPM_BUILD_ROOT

This commit is contained in:
Ben Boeckel 2010-09-03 17:55:27 -04:00
parent 91fecef9f8
commit c8e34467fc

View File

@ -46,14 +46,14 @@ This package provides the shared library.
%install
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%ghc_lib_install
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
install -p README $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/README
mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}
install -p README %{buildroot}/%{_docdir}/%{name}-%{version}/README
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%{?ghc_lib_package}