From aac36e2321dd049b696d266e371e46104dce6de8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 30 May 2007 20:22:45 +0000 Subject: [PATCH] - rel 3; don't use check section for now Changed files: php.spec -> 1.673 --- php.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php.spec b/php.spec index d07b992..7dd97be 100644 --- 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 -- 2.44.0