Use %{buildroot} over $RPM_BUILD_ROOT
This commit is contained in:
parent
91fecef9f8
commit
c8e34467fc
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user