specfile: 'rm -rf $RPM_BUILD_ROOT' in %install and %clean sections removed
See 'Tags and Sections' for more info: https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections
This commit is contained in:
parent
07d75b9cfc
commit
aa1dd1fc9a
@ -51,7 +51,6 @@ make %{?_smp_mflags}
|
||||
make check
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=${RPM_BUILD_ROOT}
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
@ -62,9 +61,6 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/{,p}gawk-%{version}* $RPM_BUILD_ROOT%{_infodir}
|
||||
|
||||
%find_lang %name
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
if [ -f %{_infodir}/gawk.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/gawk.info.gz %{_infodir}/dir || :
|
||||
|
Loading…
Reference in New Issue
Block a user