summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-06-08 10:06:52 +0200
committerRemi Collet <fedora@famillecollet.com>2014-06-08 10:06:52 +0200
commitd428b58bf3728214f8301c59163334ef25843950 (patch)
tree8c09cb23bb6a176da8ad0cbb625297736278c093
parenta29299102591dfcfa21cf8d4344a59734c9fc739 (diff)
php-phpunit-DbUnit: fix FTBFS
-rw-r--r--php-phpunit-DbUnit.spec13
1 files changed, 9 insertions, 4 deletions
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 <remi@fedoraproject.org> - 1.3.1-4
+- fix FTBFS, add BR php-pdo
+- add composer provides
+- add composer.json as doc
+
* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 1.3.1-3
- cleanup pear registry