From 5f3b9a0a052325316aec4e031e31f843138ff029 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 31 May 2017 06:40:09 +0200 Subject: cleanup --- php-silex.spec | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'php-silex.spec') diff --git a/php-silex.spec b/php-silex.spec index bc7a673..b38e94d 100644 --- a/php-silex.spec +++ b/php-silex.spec @@ -60,7 +60,6 @@ URL: http://silex.sensiolabs.org Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Library version value check BuildRequires: php-cli # %%{pear_phpdir} macro @@ -247,8 +246,6 @@ AUTOLOAD %install -rm -rf %{buildroot} - mkdir -p %{buildroot}%{phpdir} cp -rp src/* %{buildroot}%{phpdir}/ @@ -284,31 +281,13 @@ rm -f \ tests/Silex/Tests/Application/SwiftmailerTraitTest.php : Run tests -run=0 -ret=0 -if which php56; then - php56 %{_bindir}/phpunit --bootstrap bootstrap.php || ret=1 - run=1 -fi -if which php71; then - php71 %{_bindir}/phpunit --bootstrap bootstrap.php || ret=1 - run=1 -fi -if [ $run -eq 0 ]; then %{_bindir}/phpunit --verbose --bootstrap bootstrap.php -fi -exit $ret %else : Tests skipped %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc README.rst -- cgit