fix profile script for x86_64 [release 1.0.1-4mamba;Sat May 24 2014]
This commit is contained in:
parent
b0ff03a0e2
commit
4aa48d1224
@ -1,7 +1,9 @@
|
|||||||
if [ -e /usr/libexec/icecc/bin/ ]; then
|
for r in /usr/libexec/icecc/bin/ /usr/libexec64/icecc/bin; do
|
||||||
PATH=/usr/libexec/icecc/bin:$PATH
|
if [ -e $r ]; then
|
||||||
RPM_BUILD_NCPUS=`/usr/bin/getconf _NPROCESSORS_ONLN`
|
PATH=$r:$PATH
|
||||||
[ "$RPM_BUILD_NCPUS" ] || RPM_BUILD_NCPUS=1
|
RPM_BUILD_NCPUS=`/usr/bin/getconf _NPROCESSORS_ONLN`
|
||||||
RPM_BUILD_NCPUS=`expr $RPM_BUILD_NCPUS \* 2 + 1`
|
[ "$RPM_BUILD_NCPUS" ] || RPM_BUILD_NCPUS=1
|
||||||
export PATH RPM_BUILD_NCPUS
|
RPM_BUILD_NCPUS=`expr $RPM_BUILD_NCPUS \* 2 + 1`
|
||||||
fi
|
export PATH RPM_BUILD_NCPUS
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: icecc
|
Name: icecc
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: A distributed build system based on distcc
|
Summary: A distributed build system based on distcc
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -148,6 +148,9 @@ fi
|
|||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Apr 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-3mamba
|
||||||
- provide required directory /var/log/icecream
|
- provide required directory /var/log/icecream
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user