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:
parent
34f892b876
commit
3eed2c0e9a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user