specfile: small refactoring in %install section

This commit is contained in:
David Kaspar [Dee'Kej] 2016-09-07 14:08:23 +02:00
parent 1b9580c99e
commit 1cff742e6e
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,8 @@ make check
%install
mkdir -p %{buildroot}%{_mandir}/man1 %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -p -m 755 tcsh %{buildroot}%{_bindir}/tcsh
install -p -m 644 tcsh.man %{buildroot}%{_mandir}/man1/tcsh.1
ln -sf tcsh %{buildroot}%{_bindir}/csh