From: Michael Tremer Date: Tue, 22 Feb 2011 16:06:50 +0000 (+0100) Subject: Add arch information to package database. X-Git-Tag: 0.9.3~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c560c27a550bd0eaa923c67681a0c884b8a0612d;p=pakfire.git Add arch information to package database. Simply forgot that. Oops. --- diff --git a/pakfire/database.py b/pakfire/database.py index 0531db577..aacd1e7c7 100644 --- a/pakfire/database.py +++ b/pakfire/database.py @@ -72,6 +72,7 @@ class PackageDatabase(Database): epoch INTEGER, version TEXT, release TEXT, + arch TEXT, filename TEXT, hash1 TEXT, provides TEXT, @@ -141,6 +142,7 @@ class RemotePackageDatabase(PackageDatabase): epoch, version, release, + arch, filename, hash1, provides, @@ -153,12 +155,13 @@ class RemotePackageDatabase(PackageDatabase): build_id, build_host, build_date - ) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""", + ) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""", ( pkg.name, pkg.epoch, pkg.version, pkg.release, + pkg.arch, filename, pkg.hash1, " ".join(pkg.provides), diff --git a/po/pakfire.pot b/po/pakfire.pot index 125bf24e4..a6e45965a 100644 --- a/po/pakfire.pot +++ b/po/pakfire.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-02-21 21:53+0100\n" +"POT-Creation-Date: 2011-02-22 17:02+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"