Changes of Revision 2
[-] | Changed | curl.spec |
x 1
2 # Define %%{__isa_bits} for old releases 3 %{!?__isa_bits: %global __isa_bits %((echo '#include <bits/wordsize.h>'; echo __WORDSIZE) | cpp - | grep -Ex '32|64')} 4 +%define _enable_tests 0 5 6 Summary: A utility for getting files from remote servers (FTP, HTTP, and others) 7 Name: curl 8
9 make %{?_smp_mflags} 10 11 %check 12 +%if 0%{?_enable_tests} == 1 13 + 14 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} 15 export LD_LIBRARY_PATH 16 17
18 # use different port range for 32bit and 64bit build, thus make it possible 19 # to run both in parallel on the same machine 20 ./runtests.pl -a -b%{?__isa_bits}90 -p -v 21 +%endif 22 23 %install 24 rm -rf $RPM_BUILD_ROOT 25 |