Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=d301f67cc204925a7d16f697e7c7c66094e19435

commit d301f67cc204925a7d16f697e7c7c66094e19435
Author: Michel Hermier <herm...@frugalware.org>
Date:   Mon Aug 9 22:51:49 2010 +0200

rpm2fpm

* Maake i*86 packed as i686 since we only support this.

diff --git a/rpm2fpm b/rpm2fpm
index 6133f0e..286600f 100755
--- a/rpm2fpm
+++ b/rpm2fpm
@@ -82,6 +82,12 @@ SIZE=$(rpm -q --queryformat=%{size} -p ${RPMPKG})
ARCH=$(rpm -q --queryformat=%{arch} -p ${RPMPKG})
GROUP=$(rpm -q --queryformat=%{group} -p ${RPMPKG} | tr [:upper:] [:lower:] | 
tr / - | tr \  _)

+# Correct some archs
+case "$ARCH" in
+i386|i486|i586)
+       ARCH="i686";;
+esac
+
# Write the .PKGINFO file for the fpm archive.
Fmessage "Generating .PKGINFO... "
echo "# Generated by rpm2fpm
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to