[java-1.7.0-openjdk/f19] Icons now points through full path and have verisonin name

jiri vanek jvanek at fedoraproject.org
Mon May 13 18:17:20 UTC 2013


commit e330f99549fb489b3b78bf1b63a070e4a7d97bf0
Author: Jiri Vanek work <jvanek at judovana.home>
Date:   Mon May 13 20:20:23 2013 +0200

    Icons now points through full path and have verisonin name

 java-1.7.0-openjdk.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec
index c144d29..324108b 100644
--- a/java-1.7.0-openjdk.spec
+++ b/java-1.7.0-openjdk.spec
@@ -778,7 +778,8 @@ done
 # Install desktop files.
 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
 for e in jconsole policytool ; do
-    sed -i "s/#ARCH#/%{_arch}/g" $e.desktop
+    sed -i "s/#ARCH#/%{_arch}-%{release}/g" $e.desktop
+    sed -i "s|/usr/bin|%{sdkbindir}/|g" $e.desktop
     desktop-file-install --vendor=%{name} --mode=644 \
         --dir=$RPM_BUILD_ROOT%{_datadir}/applications $e.desktop
 done
@@ -1155,6 +1156,11 @@ exit 0
 %{_jvmdir}/%{jredir}/lib/accessibility.properties
 
 %changelog
+* Mon May 13 2013 Jiri Vanek <jvanek at redhat.com>
+- enhancements to icons
+ - now points to openjdk directly instead though alternatives
+ - contains full version id
+
 * Fri May 10 2013 Adam Williamson <awilliam at redhat.com>
 - update scriptlets to follow current guidelines for updating icon cache
 


More information about the scm-commits mailing list