Skip to content

Commit

Permalink
Allow rpm package with no source tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Nov 22, 2024
1 parent 53968c8 commit c642aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metapkg/targets/rpm/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def _get_patch_script(self) -> str:

def _get_package_unpack_script(self, pkg: mpkg.BasePackage) -> str:
tarball_root = self.get_tarball_root(relative_to="pkgbuild")
tarballs = self._tarballs[pkg]
tarballs = self._tarballs.get(pkg, [])
script = []

for src, tarball_path in tarballs:
Expand Down

0 comments on commit c642aca

Please sign in to comment.