[php-phpunit-DbUnit/f15] update to 1.0.2
Remi Collet
remi at fedoraproject.org
Fri Jun 10 14:18:01 UTC 2011
commit dcffbe6125e538a693821deb056b4af36d8abb0c
Author: remi <fedora at famillecollet.com>
Date: Fri Jun 10 16:17:48 2011 +0200
update to 1.0.2
.gitignore | 6 +++---
php-phpunit-DbUnit.spec | 25 ++++++++++---------------
sources | 2 +-
3 files changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 06aeecf..39f25fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-/DbUnit-1.0.0.tgz
-package.xml
-/DbUnit-1.0.1.tgz
+*~
+package-*.xml
+/DbUnit-1.0.2.tgz
diff --git a/php-phpunit-DbUnit.spec b/php-phpunit-DbUnit.spec
index a815632..f25c6dd 100644
--- a/php-phpunit-DbUnit.spec
+++ b/php-phpunit-DbUnit.spec
@@ -3,7 +3,7 @@
%global channel pear.phpunit.de
Name: php-phpunit-DbUnit
-Version: 1.0.1
+Version: 1.0.2
Release: 1%{?dist}
Summary: DbUnit port for PHP/PHPUnit
@@ -14,7 +14,7 @@ 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.0
+BuildRequires: php-pear(PEAR) >= 1.9.2
BuildRequires: php-channel(%{channel})
Requires(post): %{__pear}
@@ -35,19 +35,9 @@ DbUnit port for PHP/PHPUnit
cp /etc/php.ini .
echo "date.timezone=UTC" >>php.ini
-# Create links for standard RPM docdir (to standard PEAR docdir)
-ln -s %{pear_docdir}/%{pear_name}/LICENSE LICENSE
-ln -s %{pear_docdir}/%{pear_name}/ChangeLog.markdown CHANGELOG
-ln -s %{pear_docdir}/%{pear_name}/Samples Samples
-
cd %{pear_name}-%{version}
-# package.xml is V2 - hack to lower PEAR dependency
-%{_bindir}/php <<EOF
-<?php
-\$xml = simplexml_load_file("../package.xml");
-\$xml->dependencies->required->pearinstaller->min="1.9.0";
-file_put_contents("%{name}.xml",\$xml->asXML());
-EOF
+# package.xml is V2
+mv ../package.xml %{name}.xml
%build
@@ -85,7 +75,6 @@ fi
%files
%defattr(-,root,root,-)
-%doc LICENSE CHANGELOG Samples
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/PHPUnit/Extensions/Database
@@ -93,6 +82,12 @@ fi
%changelog
+* Fri Jun 10 2011 Remi Collet <Fedora at famillecollet.com> - 1.0.2-1
+- Version 1.0.2 (stable) - API 1.0.0 (stable)
+- remove PEAR hack (only needed for EPEL)
+- raise PEAR dependency to 1.9.2
+- rebuild for doc in /usr/share/doc/pear
+
* Wed Feb 16 2011 Remi Collet <Fedora at famillecollet.com> - 1.0.1-1
- Version 1.0.1 (stable) - API 1.0.0 (stable)
diff --git a/sources b/sources
index 6cb6ad0..6eb2225 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cc150251100b74879ba22a211079e8f4 DbUnit-1.0.1.tgz
+470e10d66c34f33858dfd11f1ad1b8ca DbUnit-1.0.2.tgz
More information about the scm-commits
mailing list