Skip to content

Commit

Permalink
Change the pyp2spec invocation
Browse files Browse the repository at this point in the history
pyp2spec 0.10.0 changed the API around the specfile generation.
For fully-automated environments as copr is, the automode newly
includes convenient defaults to make the specfiles as close to
buildability as possible.
  • Loading branch information
befeleme committed Oct 14, 2024
1 parent 916f82f commit bf67192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rpmbuild/copr-rpmbuild.spec
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Recommends: dist-git-client
Suggests: tito
Suggests: rubygem-gem2rpm
Suggests: pyp2rpm
Suggests: pyp2spec
Suggests: pyp2spec >= 0.10.0
%endif

%description
Expand Down Expand Up @@ -112,7 +112,7 @@ Requires: podman
# not supported
%else
Requires: pyp2rpm
Requires: pyp2spec
Requires: pyp2spec >= 0.10.0
Requires: rubygem-gem2rpm
Requires: scl-utils-build
Requires: fedora-review >= 0.8
Expand Down
2 changes: 1 addition & 1 deletion rpmbuild/copr_rpmbuild/providers/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _produce_srpm_pyp2spec(self):
"pyp2spec",
self.pypi_package_name,
"--fedora-compliant",
"--top-level",
"--automode",
]
if self.pypi_package_version:
cmd += ["-v", self.pypi_package_version]
Expand Down

0 comments on commit bf67192

Please sign in to comment.