From d428b58bf3728214f8301c59163334ef25843950 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 8 Jun 2014 10:06:52 +0200 Subject: php-phpunit-DbUnit: fix FTBFS --- php-phpunit-DbUnit.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'php-phpunit-DbUnit.spec') diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec index 959f63b..8abf113 100644 --- a/php-phpunit-DbUnit.spec +++ b/php-phpunit-DbUnit.spec @@ -17,7 +17,7 @@ Name: php-phpunit-DbUnit Version: 1.3.1 -Release: 3%{?dist}.1 +Release: 4%{?dist} Summary: DbUnit port for PHP/PHPUnit Group: Development/Libraries @@ -29,6 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3.3 %if %{with_tests} +BuildRequires: php-pdo BuildRequires: php-pear-PHPUnit >= 3.7.0 %endif @@ -43,8 +44,7 @@ Requires: php-libxml Requires: php-reflection Requires: php-spl -# For compatibility with PEAR mode -Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} +Provides: php-composer(phpunit/dbunit) = %{version} %description @@ -101,13 +101,18 @@ fi %files %defattr(-,root,root,-) -%doc ChangeLog.markdown LICENSE +%doc ChangeLog.markdown LICENSE composer.json %doc Samples %{_bindir}/dbunit %{php_home}/PHPUnit/Extensions/Database %changelog +* Sun Jun 08 2014 Remi Collet - 1.3.1-4 +- fix FTBFS, add BR php-pdo +- add composer provides +- add composer.json as doc + * Wed Apr 30 2014 Remi Collet - 1.3.1-3 - cleanup pear registry -- cgit