specfile: Preserve timestamps with install
This commit is contained in:
parent
9b5e426527
commit
d953db3242
12
ksh.spec
12
ksh.spec
@ -232,13 +232,13 @@ export CC=gcc
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}{/bin,%{_bindir},%{_mandir}/man1}
|
mkdir -p %{buildroot}{/bin,%{_bindir},%{_mandir}/man1}
|
||||||
install -c -m 755 arch/*/bin/ksh %{buildroot}/bin/ksh
|
install -p -m 755 arch/*/bin/ksh %{buildroot}/bin/ksh
|
||||||
install -c -m 755 arch/*/bin/shcomp %{buildroot}%{_bindir}/shcomp
|
install -p -m 755 arch/*/bin/shcomp %{buildroot}%{_bindir}/shcomp
|
||||||
install -c -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
|
||||||
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/skel/.kshrc
|
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/skel/.kshrc
|
||||||
install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/kshrc
|
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/kshrc
|
||||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/binfmt.d/kshcomp.conf
|
install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/binfmt.d/kshcomp.conf
|
||||||
|
|
||||||
%check
|
%check
|
||||||
[ -f ./skipcheck -o -f ./../skipcheck ] && exit 0 ||:
|
[ -f ./skipcheck -o -f ./../skipcheck ] && exit 0 ||:
|
||||||
|
Loading…
Reference in New Issue
Block a user