File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,14 @@ def main():
60
60
if name not in rpms1 :
61
61
print ("*** %s added" % info ['filename' ])
62
62
print ("Summary: %s" % info ['summary' ])
63
+ print ("SRPM: %s" % info ['sourcerpm' ])
63
64
print ("License: %s" % info ['license' ])
64
65
print (subprocess .check_output (['rpm' , '-qlp' , info ['filepath' ]]).decode ('utf-8' ))
65
66
elif info .get ('removed' , False ):
66
67
print ("*** %s removed" % info ['filename' ])
67
68
if info ['vendor' ] not in ['CentOS' , 'Fedora Project' ]:
68
69
print ("Summary: %s" % info ['summary' ])
70
+ print ("SRPM: %s" % info ['sourcerpm' ])
69
71
print ("License: %s" % info ['license' ])
70
72
print (subprocess .check_output (['rpm' , '-qlp' , info ['filepath' ]]).decode ('utf-8' ))
71
73
else :
@@ -87,6 +89,7 @@ def main():
87
89
print ("Summary: %s" % info ['summary' ])
88
90
if info ['license' ] != rpms1 [name ]['license' ]:
89
91
print ("License (previous): %s" % rpms1 [name ]['license' ])
92
+ print ("SRPM: %s" % info ['sourcerpm' ])
90
93
print ("License: %s" % info ['license' ])
91
94
92
95
print (subprocess .check_output ("rpmdiff -iT %s %s 2>&1 || echo" % (rpms1 [name ]['filepath' ], info ['filepath' ]),
You can’t perform that action at this time.
0 commit comments