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():
sys.exit(1)
# get pkg name from source rpm
pkg_name = get_package_name_from_source_rpm(args.source)
if args.verbose:
print('package name = %s' % pkg_name)
if not args.git:
pkg_name = get_package_name_from_source_rpm(args.source)
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