[Libreoffice-commits] .: solenv/bin

Petr Mladek pmladek at kemper.freedesktop.org
Mon Oct 18 08:57:11 PDT 2010


 solenv/bin/modules/installer/epmfile.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0df7e9ee8d179294ea715c8e61f1244488e8ec99
Author: Petr Mladek <pmladek at suse.cz>
Date:   Mon Oct 18 17:54:27 2010 +0200

    fix build failure when creating i586 rpms in instsetoo_native
    
    there was used "if" instead of "elsif" for the AIX variant

diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm
index 1aa66b1..264e3fa 100644
--- a/solenv/bin/modules/installer/epmfile.pm
+++ b/solenv/bin/modules/installer/epmfile.pm
@@ -2571,7 +2571,7 @@ sub create_packages_without_epm
 
         my $target = "";
         if ( $installer::globals::compiler =~ /unxlngi/) { $target = "i586"; }
-        if ( $installer::globals::compiler =~ /unxaigppc/) { $target = "ppc"; }
+        elsif ( $installer::globals::compiler =~ /unxaigppc/) { $target = "ppc"; }
         elsif ( $installer::globals::compiler =~ /unxlng/) {$target = (POSIX::uname())[4]; }
         
         # rpm 4.6 ignores buildroot tag in spec file


More information about the Libreoffice-commits mailing list