From 523f401584d9584e76c9c77004e7abeb9e6c4551 Mon Sep 17 00:00:00 2001 From: murkvin Date: Fri, 14 Feb 2025 10:13:41 -0800 Subject: [PATCH] fix: specify zsh completions in patchelf.spec.in Problem: When building the patchelf RPM, zsh completions are installed (but not packaged). This causes an RPM build failure. Solution: We need to identify the zsh completions in the generated RPM spec file. Testing: I updated the RPM spec file and successfully built the RPM. --- patchelf.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/patchelf.spec.in b/patchelf.spec.in index 5569026e..265cd4d3 100644 --- a/patchelf.spec.in +++ b/patchelf.spec.in @@ -36,3 +36,4 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/patchelf %doc %{_docdir}/patchelf/README.md %{_mandir}/man1/patchelf.1.gz +%{_datadir}/zsh/site-functions/_patchelf