specfile: Use '%{_bindir}' macro consistently
This commit is contained in:
parent
d953db3242
commit
9bad5ead52
6
ksh.spec
6
ksh.spec
@ -232,7 +232,7 @@ export CC=gcc
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}{/bin,%{_bindir},%{_mandir}/man1}
|
mkdir -p %{buildroot}{/bin,%{_bindir},%{_mandir}/man1}
|
||||||
install -p -m 755 arch/*/bin/ksh %{buildroot}/bin/ksh
|
install -p -m 755 arch/*/bin/ksh %{buildroot}%{_bindir}/ksh
|
||||||
install -p -m 755 arch/*/bin/shcomp %{buildroot}%{_bindir}/shcomp
|
install -p -m 755 arch/*/bin/shcomp %{buildroot}%{_bindir}/shcomp
|
||||||
install -p -m 644 arch/*/man/man1/sh.1 %{buildroot}%{_mandir}/man1/ksh.1
|
install -p -m 644 arch/*/man/man1/sh.1 %{buildroot}%{_mandir}/man1/ksh.1
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/skel
|
mkdir -p %{buildroot}%{_sysconfdir}/skel
|
||||||
@ -302,8 +302,8 @@ fi
|
|||||||
%files
|
%files
|
||||||
%doc src/cmd/ksh93/COMPATIBILITY src/cmd/ksh93/RELEASE src/cmd/ksh93/TYPES
|
%doc src/cmd/ksh93/COMPATIBILITY src/cmd/ksh93/RELEASE src/cmd/ksh93/TYPES
|
||||||
# LICENSE file is missing, temporarily?
|
# LICENSE file is missing, temporarily?
|
||||||
/bin/ksh
|
%{_bindir}/ksh
|
||||||
/usr/bin/shcomp
|
%{_bindir}/shcomp
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%config(noreplace) %{_sysconfdir}/skel/.kshrc
|
%config(noreplace) %{_sysconfdir}/skel/.kshrc
|
||||||
%config(noreplace) %{_sysconfdir}/kshrc
|
%config(noreplace) %{_sysconfdir}/kshrc
|
||||||
|
Loading…
Reference in New Issue
Block a user