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
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
|
mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}
|
||||||
install -p README $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/README
|
install -p README %{buildroot}/%{_docdir}/%{name}-%{version}/README
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
%{?ghc_lib_package}
|
||||||
|
Loading…
Reference in New Issue
Block a user