pkgImpl->_sourcesize = str::strtonum<unsigned long>(words[0]);
pkgImpl->_archivesize = str::strtonum<unsigned long>(words[1]);
}
+ if ( stag_r.name == "Loc" )
+ {
+ std::vector<std::string> words;
+ unsigned int howmany = str::split( stag_r.value, std::back_inserter(words) );
+ pkgImpl->_media_number = 1;
+ if ( howmany >= 2 )
+ {
+ pkgImpl->_media_number = str::strtonum<unsigned int>(words[0]);
+ pkgImpl->_location = Pathname(words[1]);
+ }
+ else
+ {
+ ZYPP_THROW( ParseException( "Loc" ) );
+ }
+ // ignore path
+ }
}
/* Consume MulitTag data. */
/** */
virtual bool installOnly() const;
- virtual License licenseToConfirm() const PURE_VIRTUAL;
+ virtual License licenseToConfirm() const;
PackageGroup _group;
std::list<std::string> _authors;
ByteCount _archivesize;
Label _license;
Date _buildtime;
- //=Tim: 1111489970
- // what is this property
+ unsigned int _media_number;
+ Pathname _location;
/*
=Grp: System/Base