fix profile script for x86_64 [release 1.0.1-4mamba;Sat May 24 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 23:48:48 +01:00
parent b0ff03a0e2
commit 4aa48d1224
2 changed files with 13 additions and 8 deletions

View File

@ -1,7 +1,9 @@
if [ -e /usr/libexec/icecc/bin/ ]; then
PATH=/usr/libexec/icecc/bin:$PATH
RPM_BUILD_NCPUS=`/usr/bin/getconf _NPROCESSORS_ONLN`
[ "$RPM_BUILD_NCPUS" ] || RPM_BUILD_NCPUS=1
RPM_BUILD_NCPUS=`expr $RPM_BUILD_NCPUS \* 2 + 1`
export PATH RPM_BUILD_NCPUS
fi
for r in /usr/libexec/icecc/bin/ /usr/libexec64/icecc/bin; do
if [ -e $r ]; then
PATH=$r:$PATH
RPM_BUILD_NCPUS=`/usr/bin/getconf _NPROCESSORS_ONLN`
[ "$RPM_BUILD_NCPUS" ] || RPM_BUILD_NCPUS=1
RPM_BUILD_NCPUS=`expr $RPM_BUILD_NCPUS \* 2 + 1`
export PATH RPM_BUILD_NCPUS
fi
done

View File

@ -5,7 +5,7 @@
Name: icecc
Version: 1.0.1
Release: 3mamba
Release: 4mamba
Summary: A distributed build system based on distcc
Group: Development/Tools
Vendor: openmamba
@ -148,6 +148,9 @@ fi
%doc COPYING
%changelog
* Sat May 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-4mamba
- fix profile script for x86_64
* Tue Apr 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-3mamba
- provide required directory /var/log/icecream