Verified Commit 866d7fdc authored by Adam Mercer's avatar Adam Mercer
Browse files

can only determine pkg name from source rpm

parent e775c1ed
...@@ -106,9 +106,10 @@ def main(): ...@@ -106,9 +106,10 @@ def main():
sys.exit(1) sys.exit(1)
# get pkg name from source rpm # get pkg name from source rpm
pkg_name = get_package_name_from_source_rpm(args.source) if not args.git:
if args.verbose: pkg_name = get_package_name_from_source_rpm(args.source)
print('package name = %s' % pkg_name) if args.verbose:
print('package name = %s' % pkg_name)
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment