Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL6
>
curl
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
curl.spec
@@ -1,5 +1,6 @@ # Define %%{__isa_bits} for old releases %{!?__isa_bits: %global __isa_bits %((echo '#include <bits/wordsize.h>'; echo __WORDSIZE) | cpp - | grep -Ex '32|64')} +%define _enable_tests 0 Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl @@ -254,6 +255,8 @@ make %{?_smp_mflags} %check +%if 0%{?_enable_tests} == 1 + LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} export LD_LIBRARY_PATH @@ -267,6 +270,7 @@ # use different port range for 32bit and 64bit build, thus make it possible # to run both in parallel on the same machine ./runtests.pl -a -b%{?__isa_bits}90 -p -v +%endif %install rm -rf $RPM_BUILD_ROOT