{
pkgImpl->_group = stag_r.value;
}
+ if ( stag_r.name == "Lic" )
+ {
+ pkgImpl->_license = stag_r.value;
+ }
+ if ( stag_r.name == "Tim" )
+ {
+ pkgImpl->_buildtime = Date(str::strtonum<time_t>(stag_r.value));
+ }
if ( stag_r.name == "Siz" )
{
std::vector<std::string> words;
{
collectDeps( mtag_r.values, nvrad[Dep::OBSOLETES] );
}
+ else if ( mtag_r.name == "Key" )
+ {
+ pkgImpl->_keywords = std::list<std::string>(mtag_r.values.begin(), mtag_r.values.end());
+ }
else if ( mtag_r.name == "Aut" )
{
// MultiTag is a Set but author is a list
{ return std::string(); }
Date SuseTagsPackageImpl::installtime() const
- { return Date(); }
+ { return _buildtime; }
std::string SuseTagsPackageImpl::distribution() const
{ return std::string(); }
{ return Vendor(); }
Label SuseTagsPackageImpl::license() const
- { return Label(); }
+ { return _license; }
std::string SuseTagsPackageImpl::packager() const
{ return std::string(); }
virtual License licenseToConfirm() const PURE_VIRTUAL;
- License _license;
PackageGroup _group;
std::list<std::string> _authors;
+ std::list<std::string> _keywords;
ByteCount _sourcesize;
ByteCount _archivesize;
+ Label _license;
+ Date _buildtime;
//=Tim: 1111489970
// what is this property
=Src: 3ddiag 0.724 3 src
=Tim: 1111489970
=Loc: 1 3ddiag-0.724-3.i586.rpm
-=Siz: 28015 46735
-+Aut:
-Stefan Dirsch <sndirsch@suse.de>
--Aut:
+
*/
};