[packages/elogind] - handle custom _libexecdir

qboosh qboosh at pld-linux.org
Thu Apr 11 19:50:37 CEST 2024


commit 657bdc7ab862525df13f2868838f4fcaa7fe6717
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 11 19:31:05 2024 +0200

    - handle custom _libexecdir

 elogind.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/elogind.spec b/elogind.spec
index ac1f5b0..73ed74e 100644
--- a/elogind.spec
+++ b/elogind.spec
@@ -178,7 +178,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libexecdir}/elogind/elogind
 %attr(755,root,root) %{_libexecdir}/elogind/elogind-cgroups-agent
 %attr(755,root,root) %{_libexecdir}/elogind/elogind-uaccess-command
+%if "%{_libexecdir}" != "%{_libdir}"
 %dir %{_libdir}/elogind
+%endif
 %attr(755,root,root) %{_libdir}/elogind/libelogind-shared-%{version}.so
 %dir %{_libexecdir}/elogind/system-shutdown
 %dir %{_libexecdir}/elogind/system-sleep
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elogind.git/commitdiff/657bdc7ab862525df13f2868838f4fcaa7fe6717



More information about the pld-cvs-commit mailing list