Changes of Revision 4
[-] | Changed | php-pecl-zip.spec |
x 1
2 %endif 3 4 # Documentation 5 -cd NTS 6 -for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') 7 -do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i 8 -done 9 +#cd NTS 10 +#for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') 11 +#do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i 12 +#done 13 14 15 %check 16 -cd NTS 17 -: minimal load test of NTS extension 18 -%{_bindir}/php --no-php-ini \ 19 - --define extension_dir=modules \ 20 - --define extension=%{pecl_name}.so \ 21 - --modules | grep %{pecl_name} 22 - 23 -: upstream test suite for NTS extension 24 -TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ 25 -REPORT_EXIT_STATUS=1 \ 26 -NO_INTERACTION=1 \ 27 -TEST_PHP_EXECUTABLE=%{_bindir}/php \ 28 -%{_bindir}/php -n \ 29 - run-tests.php --show-diff 30 - 31 -%if %{with_zts} 32 -cd ../ZTS 33 -: minimal load test of ZTS extension 34 -%{_bindir}/zts-php --no-php-ini \ 35 - --define extension_dir=modules \ 36 - --define extension=%{pecl_name}.so \ 37 - --modules | grep %{pecl_name} 38 - 39 -: upstream test suite for ZTS extension 40 -TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ 41 -REPORT_EXIT_STATUS=1 \ 42 -NO_INTERACTION=1 \ 43 -TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \ 44 -%{_bindir}/zts-php -n \ 45 - run-tests.php --show-diff 46 -%endif 47 - 48 +## cd NTS 49 +## : minimal load test of NTS extension 50 +## %{_bindir}/php --no-php-ini \ 51 +## --define extension_dir=modules \ 52 +## --define extension=%{pecl_name}.so \ 53 +## --modules | grep %{pecl_name} 54 +## 55 +## : upstream test suite for NTS extension 56 +## TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ 57 +## REPORT_EXIT_STATUS=1 \ 58 +## NO_INTERACTION=1 \ 59 +## TEST_PHP_EXECUTABLE=%{_bindir}/php \ 60 +## %{_bindir}/php -n \ 61 +## run-tests.php --show-diff 62 +## 63 +## %if %{with_zts} 64 +## cd ../ZTS 65 +## : minimal load test of ZTS extension 66 +## %{_bindir}/zts-php --no-php-ini \ 67 +## --define extension_dir=modules \ 68 +## --define extension=%{pecl_name}.so \ 69 +## --modules | grep %{pecl_name} 70 +## 71 +## : upstream test suite for ZTS extension 72 +## TEST_PHP_ARGS="-n -d extension_dir=$PWD/modules -d extension=%{pecl_name}.so" \ 73 +## REPORT_EXIT_STATUS=1 \ 74 +## NO_INTERACTION=1 \ 75 +## TEST_PHP_EXECUTABLE=%{_bindir}/zts-php \ 76 +## %{_bindir}/zts-php -n \ 77 +## run-tests.php --show-diff 78 +## %endif 79 +## 80 81 %clean 82 rm -rf %{buildroot} 83 |