[packages/patchelf] - added dependencies, package zsh completion
qboosh
qboosh at pld-linux.org
Sat May 17 09:37:35 CEST 2025
commit 2b3092ae3d780acf7e3e42ac107a527e70042ea9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 17 08:25:50 2025 +0200
- added dependencies, package zsh completion
patchelf.spec | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/patchelf.spec b/patchelf.spec
index 1e65244..9521074 100644
--- a/patchelf.spec
+++ b/patchelf.spec
@@ -1,19 +1,19 @@
-# TODO:
-# - package zsh completion
#
# Conditional build:
-%bcond_without tests # build without tests
+%bcond_without tests # functional tests
#
Summary: A utility for patching ELF binaries
Summary(pl.UTF-8): Narzędzie do łatania binariów ELF
Name: patchelf
Version: 0.18.0
Release: 1
-License: GPL
+License: GPL v3+
Group: Development/Tools
Source0: https://github.com/NixOS/patchelf/releases/download/%{version}/%{name}-%{version}.tar.bz2
# Source0-md5: 9b091a689583fdc7c3206679586322d5
URL: https://github.com/NixOS/patchelf
+BuildRequires: libstdc++-devel >= 6:7
+BuildRequires: rpmbuild(macros) >= 1.719
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -33,7 +33,10 @@ programów oraz bibliotek.
%build
%configure
%{__make}
-%{?with_tests:%{__make} check}
+
+%if %{with tests}
+%{__make} check
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -49,3 +52,4 @@ rm -rf $RPM_BUILD_ROOT
%doc README.md
%attr(755,root,root) %{_bindir}/patchelf
%{_mandir}/man1/patchelf.1*
+%{zsh_compdir}/_patchelf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/patchelf.git/commitdiff/2b3092ae3d780acf7e3e42ac107a527e70042ea9
More information about the pld-cvs-commit
mailing list