[php-phpunit-DbUnit] update to 1.2.2

Remi Collet remi at fedoraproject.org
Thu Jan 10 08:16:11 UTC 2013


commit 62cc126ce389196aeff157c87d76596051a2181c
Author: Remi Collet <remi at fedoraproject.org>
Date:   Thu Jan 10 09:16:03 2013 +0100

    update to 1.2.2

 .gitignore              |    1 +
 php-phpunit-DbUnit.spec |   14 ++++++--------
 sources                 |    2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7ff39f3..26d088d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ package-*.xml
 /DbUnit-1.1.1.tgz
 /DbUnit-1.1.2.tgz
 /DbUnit-1.2.1.tgz
+/DbUnit-1.2.2.tgz
diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec
index e624719..2b4f5f0 100644
--- a/php-phpunit-DbUnit.spec
+++ b/php-phpunit-DbUnit.spec
@@ -4,7 +4,7 @@
 %global channel pear.phpunit.de
 
 Name:           php-phpunit-DbUnit
-Version:        1.2.1
+Version:        1.2.2
 Release:        1%{?dist}
 Summary:        DbUnit port for PHP/PHPUnit
 
@@ -13,7 +13,6 @@ 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-pear(PEAR) >= 1.9.4
 BuildRequires:  php-channel(%{channel})
@@ -23,6 +22,7 @@ Requires(postun): %{__pear}
 Requires:       php-pdo >= 5.3.3
 Requires:       php-pear(%{channel}/PHPUnit) >= 3.7.0
 Requires:       php-pear(pear.symfony.com/Yaml) >= 2.1.0
+Conflicts:      php-pear(pear.symfony.com/Yaml) >= 2.1.99
 
 Provides:       php-pear(%{channel}/%{pear_name}) = %{version}
 
@@ -43,7 +43,6 @@ cd %{pear_name}-%{version}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
@@ -55,10 +54,6 @@ 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 || :
@@ -71,7 +66,6 @@ fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/PHPUnit/Extensions/Database
@@ -79,6 +73,10 @@ fi
 
 
 %changelog
+* Thu Jan 10 2013 Remi Collet <remi at fedoraproject.org> - 1.2.2-1
+- Version 1.2.2 (stable) - API 1.2.0 (stable)
+- modernize spec
+
 * Mon Oct 22 2012 Remi Collet <remi at fedoraproject.org> - 1.2.1-1
 - Version 1.2.1 (stable) - API 1.2.0 (stable)
 - raise dependencies: php 5.3.3, PHPUnit 3.7.0,
diff --git a/sources b/sources
index cec5adc..b1458bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8709f983079cc52baef6739f970e0ae5  DbUnit-1.2.1.tgz
+c758bd5498c95b5bf37d7fd3e2ac6100  DbUnit-1.2.2.tgz


More information about the scm-commits mailing list