]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
Xen: xen
authorBen Schweikert <trikolon@ipfire.org>
Thu, 9 Feb 2012 19:05:47 +0000 (20:05 +0100)
committerBen Schweikert <trikolon@ipfire.org>
Thu, 9 Feb 2012 19:05:47 +0000 (20:05 +0100)
- Fixes errors in the xen.nm file with "provides".

xen/xen.nm

index 8b774e541ec4ec7f9b6a1ffd7605620b09817593..66105cf61a161718b5e682393be631bc73ca0ba3 100644 (file)
@@ -119,14 +119,15 @@ packages
                end
 
                # Very hacky workaround for an improper name of libfsimage.
-               provides
-                       if [ "${DISTRO_ARCH}" = "x86_64" ]; then
+               if "%{DISTRO_ARCH}" == "x86_64"
+                       provides
                                libfsimage.so.1.0(libfsimage.so.1.0)(64bit)
-                       else
+                       end
+               else
+                       provides
                                libfsimage.so.1.0(libfsimage.so.1.0)
-                       fi
+                       end
                end
-
                files += %{libdir}/fs
        end