specfile: 'rm -f $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:
David Kaspar [Dee'Kej] 2016-08-12 14:01:57 +02:00
parent 34f892b876
commit 3eed2c0e9a
1 changed files with 0 additions and 5 deletions

View File

@ -114,7 +114,6 @@ make %{?_smp_mflags} -C nls catalogs
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 ${RPM_BUILD_ROOT}%{_bindir}
install -p -m 755 tcsh ${RPM_BUILD_ROOT}%{_bindir}/tcsh
install -p -m 644 tcsh.man ${RPM_BUILD_ROOT}%{_mandir}/man1/tcsh.1
@ -148,10 +147,6 @@ _EOF
make check
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ ! -f /etc/shells ]; then
echo "%{_bindir}/tcsh" >> /etc/shells