From dd095063896505a5d1aa6e36f936674895883de7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 30 May 2017 11:56:29 +0200 Subject: cleanup --- php-doctrine-dbal.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/php-doctrine-dbal.spec b/php-doctrine-dbal.spec index 81e056e..6f99f32 100644 --- a/php-doctrine-dbal.spec +++ b/php-doctrine-dbal.spec @@ -31,13 +31,8 @@ %{!?phpdir: %global phpdir %{_datadir}/php} -%if 0%{?rhel} == 5 -# No test as no SQlite3 ext -%global with_tests 0 -%else # Build using "--without tests" to disable tests %global with_tests 0%{!?_without_tests:1} -%endif Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} @@ -60,7 +55,6 @@ Patch0: %{name}-bin.patch # Fix test suite using PHPUnit 5.4 Patch1: %{name}-phpunit54.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests %if %{with_tests} @@ -162,8 +156,6 @@ AUTOLOAD %install -rm -rf %{buildroot} - mkdir -p %{buildroot}/%{phpdir} cp -rp lib/Doctrine %{buildroot}/%{phpdir}/ @@ -197,12 +189,7 @@ exit $RETURN_CODE %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md -- cgit