summaryrefslogtreecommitdiffstats
path: root/php-phpunit-PHPUnit-MockObject.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-05-06 13:31:13 +0200
committerRemi Collet <fedora@famillecollet.com>2014-05-06 13:31:13 +0200
commitf6043b062122e5d4ed8871411756b32bdf531cac (patch)
tree66f321aa4ab12196143081378c2acf164ab02558 /php-phpunit-PHPUnit-MockObject.spec
parentd534fb6aa85b2c66c7e46ed1a93f22412a60f7cf (diff)
php-phpunit-PHPUnit-MockObject: workaround to autoload issue during check
Diffstat (limited to 'php-phpunit-PHPUnit-MockObject.spec')
-rw-r--r--php-phpunit-PHPUnit-MockObject.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-phpunit-PHPUnit-MockObject.spec b/php-phpunit-PHPUnit-MockObject.spec
index c149e1d..b4c64b3 100644
--- a/php-phpunit-PHPUnit-MockObject.spec
+++ b/php-phpunit-PHPUnit-MockObject.spec
@@ -18,7 +18,7 @@
Name: php-phpunit-PHPUnit-MockObject
Version: 2.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Mock Object library for PHPUnit
Group: Development/Libraries
@@ -29,6 +29,9 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
# Autoload template
Source1: Autoload.php.in
+# Temporary workaround, under investigation
+Patch0: %{gh_project}-rpm.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: %{_bindir}/phpab
@@ -57,6 +60,8 @@ Mock Object library for PHPUnit
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
+
%build
phpab \
@@ -101,8 +106,11 @@ fi
%changelog
+* Tue May 6 2014 Remi Collet <remi@fedoraproject.org> - 2.1.0-2
+- workaround to autoload issue during check
+
* Sat May 3 2014 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
-- update to 2.1.0 for PHPUnit 4.1.0
+- update to 2.1.0 for PHPUnit 4.1
* Wed Apr 30 2014 Remi Collet <remi@fedoraproject.org> - 2.0.5-2
- cleanup pear registry
@@ -110,6 +118,7 @@ fi
* Tue Apr 29 2014 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
- update to 2.0.5
- sources from gthub
+- run tests when build --with tests option
* Sun Jan 13 2013 Remi Collet <remi@fedoraproject.org> - 1.2.3-1
- Version 1.2.3 (stable) - API 1.2.0 (stable)