From cd8e3a40225c22d915c221a81c61e83fab5e8f01 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mar 02 2017 07:26:33 +0000 Subject: cleanup --- diff --git a/php-zendframework-zendservice-recaptcha.spec b/php-zendframework-zendservice-recaptcha.spec index 97ea72a..9fa70a8 100644 --- a/php-zendframework-zendservice-recaptcha.spec +++ b/php-zendframework-zendservice-recaptcha.spec @@ -27,7 +27,6 @@ URL: https://framework.zend.com/ Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch # Tests %if %{with_tests} @@ -95,7 +94,6 @@ ln -s ../../Zend/autoload.php src/autoload.php %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{php_home}/%{namespace} cp -pr src %{buildroot}%{php_home}/%{namespace}/%{library} @@ -115,33 +113,13 @@ Zend\\Loader\\AutoloaderFactory::factory(array( '%{namespace}\\%{library}' => '%{buildroot}%{php_home}/%{namespace}/%{library}', )))); EOF -# remirepo:11 -run=0 -ret=0 -if which php56; then - php56 %{_bindir}/phpunit || ret=1 - run=1 -fi -if which php71; then - php70 %{_bindir}/phpunit6 || ret=1 - run=1 -fi -if [ $run -eq 0 ]; then %{_bindir}/phpunit --verbose -# remirepo:2 -fi -exit $ret %else : Test suite disabled %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md