From 8415d7b829b0177372d8f0f7f19f7de3021e0bf0 Mon Sep 17 00:00:00 2001 From: Stefan Haas Date: Mon, 27 Aug 2007 15:40:31 +0000 Subject: [PATCH] Added several additional flags from rpm-header to package object --- zypp/parser/plaindir/RepoParser.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zypp/parser/plaindir/RepoParser.cc b/zypp/parser/plaindir/RepoParser.cc index 8f0b10c..61b0b97 100644 --- a/zypp/parser/plaindir/RepoParser.cc +++ b/zypp/parser/plaindir/RepoParser.cc @@ -121,7 +121,13 @@ data::Package_Ptr makePackageDataFromHeader( const RpmHeader::constPtr header, pkg->deps[Dep::OBSOLETES] = header->tag_obsoletes( filerequires ); pkg->deps[Dep::ENHANCES] = header->tag_enhances( filerequires ); pkg->deps[Dep::SUPPLEMENTS] = header->tag_supplements( filerequires ); - + pkg->vendor = header->tag_vendor(); + pkg->installedSize = header->tag_size(); + pkg->buildTime = header->tag_buildtime(); + pkg->summary = (TranslatedText)header->tag_summary(); + pkg->description = (TranslatedText)header->tag_description(); + pkg->licenseToConfirm = (TranslatedText)header->tag_license(); + // Dependencies deps; // RecordId shareDataWith; -- 2.7.4