client/tools/rhnpush/solaris2mpm.py | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit fc99e702084ed4305fba981bf3f2bb9bcf02083d
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Tue Mar 31 18:06:44 2009 +0200
241221 - add release of the package (if it exists) to Provides.
diff --git a/client/tools/rhnpush/solaris2mpm.py b/client/tools/rhnpush/solaris2mpm.py
index a54cdda..299f849 100644
--- a/client/tools/rhnpush/solaris2mpm.py
+++ b/client/tools/rhnpush/solaris2mpm.py
@@ -657,6 +657,8 @@ def provide_self(header):
header['provides'] = []
header['provides'].insert(0, dct)
+ if header.has_key('release'):
+ header['provides'].insert(1, { 'name' : dct['name'],
'flags' : 8, 'version' : "%s-%s" % (header['version'],
header['release'])})
def md5sum_for_stream(data_stream):
"""Calcualte the md5sum for a datastream and return it in a utf8
friendly
Show replies by date