]> git.pld-linux.org Git - packages/php.git/commitdiff
- rel 3; don't use check section for now auto/th/php-5_2_2-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 30 May 2007 20:22:45 +0000 (20:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.673

php.spec

index d07b992ecdd2e48141f96dd86150e29d4c594bdc..7dd97be4139303d40e0427618a530c8a008cd8fa 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -46,6 +46,7 @@
 %bcond_without apache2         # disable building apache 2.x module
 %bcond_without fcgi            # disable building FCGI SAPI
 %bcond_without zts             # disable experimental-zts
+%bcond_without tests
 %bcond_with    versioning      # build with experimental versioning (to load php4/php5 into same apache)
 
 %define apxs1          /usr/sbin/apxs1
@@ -70,7 +71,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine      with_filter
 %endif
 
-%define        _rel 2
+%define        _rel 3
 Summary:       PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):     Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):     Język skryptowy PHP
@@ -1820,12 +1821,13 @@ cp -af php_config.h.cgi main/php_config.h
 cp -af php_config.h.cli main/php_config.h
 %{__make} sapi/cli/php -f Makefile.cli LDFLAGS=-lpthread
 
-%check
+%if %{with tests}
 # Run tests, using the CLI SAPI
 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
 unset TZ LANG LC_ALL || :
 %{__make} test
 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.040736 seconds and 4 git commands to generate.