summaryrefslogtreecommitdiff
path: root/classes/package_ipk.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-12-11 23:22:42 +0000
committerPhil Blundell <philb@gnu.org>2009-12-11 23:22:42 +0000
commitfb775893cb35b709d20af1afaeb13bbeb5ee4abf (patch)
tree8dfb48d3a3196e7b341acc9922265939be7934b1 /classes/package_ipk.bbclass
parentb9a72d944e5cce4a96a8207620197ea7d7caa676 (diff)
package, package_ipk: add PKGV, to PV as PKG is to PN.
Diffstat (limited to 'classes/package_ipk.bbclass')
-rw-r--r--classes/package_ipk.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass
index 3582195393..420c892f10 100644
--- a/classes/package_ipk.bbclass
+++ b/classes/package_ipk.bbclass
@@ -208,9 +208,9 @@ python do_package_ipk () {
fields = []
pe = bb.data.getVar('PE', d, 1)
if pe and int(pe) > 0:
- fields.append(["Version: %s:%s-%s%s\n", ['PE', 'PV', 'PR', 'DISTRO_PR']])
+ fields.append(["Version: %s:%s-%s\n", ['PE', 'PKGV', 'PKGR']])
else:
- fields.append(["Version: %s-%s%s\n", ['PV', 'PR', 'DISTRO_PR']])
+ fields.append(["Version: %s-%s\n", ['PKGV', 'PKGR']])
fields.append(["Description: %s\n", ['DESCRIPTION']])
fields.append(["Section: %s\n", ['SECTION']])
fields.append(["Priority: %s\n", ['PRIORITY']])