[php-phpunit-PHPUnit-MockObject/f15] update to 1.0.9
Remi Collet
remi at fedoraproject.org
Fri Jun 10 14:37:14 UTC 2011
commit 2edccd4a7354eee799be98ce65a11617953e3138
Author: remi <fedora at famillecollet.com>
Date: Fri Jun 10 16:36:22 2011 +0200
update to 1.0.9
.gitignore | 6 ++----
php-phpunit-PHPUnit-MockObject.spec | 24 ++++++++++--------------
sources | 2 +-
3 files changed, 13 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 26d8147..e2d195a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,4 @@
+*~
package*.xml
-/PHPUnit_MockObject-1.0.3.tgz
-/PHPUnit_MockObject-1.0.5.tgz
-/PHPUnit_MockObject-1.0.6.tgz
-/PHPUnit_MockObject-1.0.7.tgz
/PHPUnit_MockObject-1.0.8.tgz
+/PHPUnit_MockObject-1.0.9.tgz
diff --git a/php-phpunit-PHPUnit-MockObject.spec b/php-phpunit-PHPUnit-MockObject.spec
index 6f0fbea..d8f04ea 100644
--- a/php-phpunit-PHPUnit-MockObject.spec
+++ b/php-phpunit-PHPUnit-MockObject.spec
@@ -3,7 +3,7 @@
%global channel pear.phpunit.de
Name: php-phpunit-PHPUnit-MockObject
-Version: 1.0.8
+Version: 1.0.9
Release: 1%{?dist}
Summary: Mock Object library for 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,18 +35,9 @@ Mock Object library for 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
-
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
@@ -84,12 +75,17 @@ fi
%files
%defattr(-,root,root,-)
-%doc LICENSE CHANGELOG
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/PHPUnit/Framework/MockObject
%changelog
+* Fri Jun 10 2011 Remi Collet <Fedora at famillecollet.com> - 1.0.9-1
+- Version 1.0.9 (stable) - API 1.0.4 (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.8-1
- Version 1.0.8 (stable) - API 1.0.4 (stable)
diff --git a/sources b/sources
index 342e3e7..1d28c6c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e597029c1b9f1de0a240b7c46c6e0f6c PHPUnit_MockObject-1.0.8.tgz
+4a1a5bab58f9225f41fab59d6c931737 PHPUnit_MockObject-1.0.9.tgz
More information about the scm-commits
mailing list