Fix srpm generating
@@ -50,11 +50,11 @@ def sg2srpm(config, dest_dir, upstream_ref, repo, version):
fas_username=config.fas_user,
package_config=package_config,
) as t:
- t.create_archive()
+ t.download_upstream_archive()
t.copy_synced_content_to_distgit_directory(
synced_files=package_config.synced_files
)
patches = t.create_patches(upstream=upstream_ref)
t.add_patches_to_specfile(patch_list=patches)
- specfile = t.create_srpm()
- click.echo(specfile)
+ srpm = t.create_srpm()
+ click.echo(srpm)
