-------------------------------------------------------------------
+Thu May 22 02:22:29 CEST 2008 - dmacvicar@suse.de
+
+- fix filelist for installed packages (bnc#392544)
+
+-------------------------------------------------------------------
Wed May 21 13:50:00 CEST 2008 - dmacvicar@suse.de
- deprecate Repository::name() and use alias() to
*
*/
#include "zypp/Package.h"
+#include "zypp/sat/LookupAttr.h"
using namespace std;
return ret;
}
- /** */
-#warning DUMMY filenames
std::list<std::string> Package::filenames() const
- { return std::list<std::string>(); }
+ {
+ std::list<std::string> files;
+ sat::LookupAttr q( sat::SolvAttr::filelist, *this );
+ for_( it, q.begin(), q.end() )
+ {
+ files.push_back(it.asString());
+ }
+ return files;
+ }
CheckSum Package::checksum() const
{ return lookupCheckSumAttribute( sat::SolvAttr::checksum ); }