[packages/acpi_call] fix build without userspace

atler atler at pld-linux.org
Sun Dec 29 00:20:18 CET 2019


commit 28ff88458f87ee17035f321f5daaae1608d6fe26
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Dec 29 00:19:55 2019 +0100

    fix build without userspace

 acpi_call.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/acpi_call.spec b/acpi_call.spec
index 1e3986a..4822260 100644
--- a/acpi_call.spec
+++ b/acpi_call.spec
@@ -93,6 +93,8 @@ cp -a installed/* $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with userspace}
 %files -n %{pname}-scripts
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_datadir}/acpi_call/*.sh
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/acpi_call.git/commitdiff/28ff88458f87ee17035f321f5daaae1608d6fe26



More information about the pld-cvs-commit mailing list