Browse files

Preserve timestamps.

  • Loading branch information...
1 parent 654441f commit b662c75d97ac43083ec3bbe52adf3d37f65d6736 @voxik voxik committed Aug 3, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 templates/fedora-17-rawhide.spec.erb
  2. +2 −2 templates/fedora.spec.erb
View
4 templates/fedora-17-rawhide.spec.erb
@@ -68,7 +68,7 @@ gem install --local --install-dir .%{gem_dir} \
%install
mkdir -p %{buildroot}%{gem_dir}
-cp -a .%{gem_dir}/* \
+cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
<% unless spec.extensions.empty? -%>
@@ -79,7 +79,7 @@ mkdir -p %{buildroot}%{gem_extdir}/<%= spec.require_paths.first %>
<% unless spec.executables.nil? or spec.executables.empty? -%>
mkdir -p %{buildroot}%{_bindir}
-cp -a .%{_bindir}/* \
+cp -pa .%{_bindir}/* \
%{buildroot}%{_bindir}/
<% end -%>
View
4 templates/fedora.spec.erb
@@ -86,12 +86,12 @@ gem install --local --install-dir .%{gemdir} \
%install
mkdir -p %{buildroot}%{gemdir}
-cp -a .%{gemdir}/* \
+cp -pa .%{gemdir}/* \
%{buildroot}%{gemdir}/
<% unless spec.executables.nil? or spec.executables.empty? -%>
mkdir -p %{buildroot}%{_bindir}
-cp -a .%{_bindir}/* \
+cp -pa .%{_bindir}/* \
%{buildroot}%{_bindir}/
<% end -%>

0 comments on commit b662c75

Please sign in to comment.