From f6043b062122e5d4ed8871411756b32bdf531cac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 May 2014 13:31:13 +0200 Subject: php-phpunit-PHPUnit-MockObject: workaround to autoload issue during check --- php-phpunit-PHPUnit-MockObject.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'php-phpunit-PHPUnit-MockObject.spec') 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 - 2.1.0-2 +- workaround to autoload issue during check + * Sat May 3 2014 Remi Collet - 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 - 2.0.5-2 - cleanup pear registry @@ -110,6 +118,7 @@ fi * Tue Apr 29 2014 Remi Collet - 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 - 1.2.3-1 - Version 1.2.3 (stable) - API 1.2.0 (stable) -- cgit