]> sourceware.org Git - systemtap.git/commitdiff
Actually add the i386 portions of the spec file fix
authorLukas Berk <lberk@redhat.com>
Thu, 22 Aug 2013 03:37:38 +0000 (23:37 -0400)
committerLukas Berk <lberk@redhat.com>
Thu, 22 Aug 2013 03:37:38 +0000 (23:37 -0400)
systemtap.spec - add the i386 portions of the arch symlink fix.

systemtap.spec

index f9b86e981dd5af56db7146f6b88d1455c69bd1c2..a5b32d822d2eaf7adffd188a480640d7085a0325 100644 (file)
@@ -596,8 +596,12 @@ exit 0
 
 %triggerin runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
-    %ifarch ppc64
-        arch=ppc64
+    %ifarch %{ix86} ppc64
+        %ifarch ppc64
+            arch=ppc64
+       %else
+           arch=i386
+       %endif
     %else
         arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
     %endif
@@ -609,8 +613,12 @@ done
 
 %triggerun runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
-    %ifarch ppc64
-        arch=ppc64
+    %ifarch %{ix86} ppc64
+        %ifarch ppc64
+            arch=ppc64
+       %else
+           arch=i386
+       %endif
     %else
         arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
     %endif
@@ -623,8 +631,12 @@ done
 %triggerpostun runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
 # Restore links for any JDKs remaining after a package removal:
 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
-    %ifarch ppc64
-        arch=ppc64
+    %ifarch %{ix86} ppc64
+        %ifarch ppc64
+            arch=ppc64
+       %else
+           arch=i386
+       %endif
     %else
         arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
     %endif
This page took 0.027128 seconds and 5 git commands to generate.