Skip to content

Commit

Permalink
frontend, cli: make pyp2spec the default PyPI spec generator
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Jul 3, 2023
1 parent de00f9e commit 27902a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/copr_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ def setup_parser():
dest="spec_generator",
help="Tool for generating specfile from a PyPI package",
choices=["pyp2rpm", "pyp2spec"],
default="pyp2rpm",
default="pyp2spec",
)

parser_pypi_args_optional.add_argument("--template", "-t", dest="spec_template",
Expand Down
2 changes: 1 addition & 1 deletion frontend/coprs_frontend/coprs/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ class PackageFormPyPI(BasePackageForm):
choices=[
("pyp2rpm", "pyp2rpm"),
("pyp2spec", "pyp2spec"),
], default="pyp2rpm")
], default="pyp2spec")

spec_template = wtforms.SelectField(
"Spec template",
Expand Down

0 comments on commit 27902a8

Please sign in to comment.