[php-phpunit-DbUnit/el6] Update to 1.2.3
Remi Collet
remi at fedoraproject.org
Fri Apr 12 16:09:54 UTC 2013
commit d390993e766fcd7ec9950508f46c56ee906cbf36
Author: Remi Collet <rcollet at redhat.com>
Date: Fri Apr 12 18:09:30 2013 +0200
Update to 1.2.3
.gitignore | 3 +++
php-phpunit-DbUnit.spec | 28 ++++++++++++++++------------
sources | 2 +-
3 files changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6e41c84..9f6e74b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,6 @@ package-*.xml
/DbUnit-1.1.0.tgz
/DbUnit-1.1.1.tgz
/DbUnit-1.1.2.tgz
+/DbUnit-1.2.1.tgz
+/DbUnit-1.2.2.tgz
+/DbUnit-1.2.3.tgz
diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec
index b3d27a4..1596073 100644
--- a/php-phpunit-DbUnit.spec
+++ b/php-phpunit-DbUnit.spec
@@ -1,9 +1,10 @@
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name DbUnit
%global channel pear.phpunit.de
Name: php-phpunit-DbUnit
-Version: 1.1.2
+Version: 1.2.3
Release: 1%{?dist}
Summary: DbUnit port for PHP/PHPUnit
@@ -12,16 +13,20 @@ License: BSD
URL: https://github.com/sebastianbergmann/dbunit
Source0: http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+BuildRequires: php(language) >= 5.3.3
BuildRequires: php-pear(PEAR) >= 1.9.4
BuildRequires: php-channel(%{channel})
Requires(post): %{__pear}
Requires(postun): %{__pear}
-Requires: php-pdo >= 5.2.7
-Requires: php-pear(%{channel}/PHPUnit) >= 3.6.0
-Requires: php-pear(pear.symfony-project.com/YAML) >= 1.0.2
+Requires: php(language) >= 5.3.3
+Requires: php-libxml
+Requires: php-pdo
+Requires: php-reflection
+Requires: php-simplexml
+Requires: php-spl
+Requires: php-pear(%{channel}/PHPUnit) >= 3.7.0
Provides: php-pear(%{channel}/%{pear_name}) = %{version}
@@ -42,22 +47,17 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
-rm -rf %{buildroot}%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
# Install XML package description
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-%clean
-rm -rf %{buildroot}
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -70,7 +70,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/PHPUnit/Extensions/Database
@@ -78,6 +77,11 @@ fi
%changelog
+* Tue Mar 05 2013 Remi Collet <remi at fedoraproject.org> - 1.2.3-1
+- Version 1.2.3 (stable) - API 1.2.0 (stable)
+- raise dependencies: php 5.3.3, PHPUnit 3.7.0,
+ Yaml 2.1.0 (instead of YAML from symfony 1)
+
* Fri Jan 27 2012 Remi Collet <remi at fedoraproject.org> - 1.1.2-1
- Version 1.1.2 (stable) - API 1.1.0 (stable)
diff --git a/sources b/sources
index 9104b8c..4f9c6c1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-813ec72a4b9bee5c9eec326957846843 DbUnit-1.1.2.tgz
+c47036ac20a4517a83dd7837edccfd5d DbUnit-1.2.3.tgz
More information about the scm-commits
mailing list