Skip to content

Commit

Permalink
rpm: Fix multi-source package builds
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Oct 14, 2024
1 parent 4f1f723 commit aeb68ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion metapkg/targets/rpm/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,11 @@ def _get_provides_spec(self, provides: list[tuple[str, str]]) -> str:
def _get_source_spec(self) -> str:
lines = []

for i, tarballs in enumerate(self._tarballs.values()):
i = 0
for _, tarballs in enumerate(self._tarballs.values()):
for _, tarball in tarballs:
lines.append(f"Source{i}: {tarball.name}")
i += 1

return "\n".join(lines)

Expand Down

0 comments on commit aeb68ad

Please sign in to comment.