[firefox] Preserve icon file timestamps

Christopher Aillon caillon at fedoraproject.org
Thu Apr 21 21:31:14 UTC 2011


commit b7c3ec432927e83e8440c0dcd11d463c61be24b3
Author: Christopher Aillon <caillon at redhat.com>
Date:   Sat Apr 16 09:15:59 2011 -0700

    Preserve icon file timestamps

 firefox.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/firefox.spec b/firefox.spec
index b570041..02da00e 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -237,8 +237,8 @@ XULRUNNER_DIR=`pkg-config --variable=libdir libxul | %{__sed} -e "s,%{_libdir},,
 
 for s in 16 22 24 32 48 256; do
     %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps
-    %{__cp} other-licenses/branding/%{name}/default${s}.png \
-            $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/firefox.png
+    %{__cp} -p other-licenses/branding/%{name}/default${s}.png \
+               $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/firefox.png
 done
 
 echo > ../%{name}.lang


More information about the scm-commits mailing list