summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-05-30 11:56:29 +0200
committerRemi Collet <remi@remirepo.net>2017-05-30 11:56:29 +0200
commitdd095063896505a5d1aa6e36f936674895883de7 (patch)
treeb3f578d0ae5c4c5b58f4f1b6f6a6721fc2b12fea
parente0dfce72246f9ea5ceb9fa0851111cbe85cc74aa (diff)
cleanup
-rw-r--r--php-doctrine-dbal.spec13
1 files changed, 0 insertions, 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