[packages/bacula] serialize install

atler atler at pld-linux.org
Wed Jan 8 14:14:23 CET 2025


commit 74c1bd1571e252603c978abb444a6da490449a98
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jan 8 13:12:43 2025 +0100

    serialize install
    
    hand-crafted makefiles are full of races during install

 bacula.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bacula.spec b/bacula.spec
index 8e213ad..a194a98 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -481,7 +481,7 @@ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig} \
 		$RPM_BUILD_ROOT{%{_mandir},%{_bindir},/var/log{,/archive}/bacula} \
 		$RPM_BUILD_ROOT%{systemdunitdir}
 
-%{__make} install \
+%{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} -C src/stored install-aligned \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bacula.git/commitdiff/ad285996c94b0abdf12a0d4d49a6aa473ea81ed9



More information about the pld-cvs-commit mailing list