diff options
Diffstat (limited to 'php-mnapoli-phpunit-easymock.spec')
-rw-r--r-- | php-mnapoli-phpunit-easymock.spec | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/php-mnapoli-phpunit-easymock.spec b/php-mnapoli-phpunit-easymock.spec index 8791187..0638681 100644 --- a/php-mnapoli-phpunit-easymock.spec +++ b/php-mnapoli-phpunit-easymock.spec @@ -31,7 +31,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 1%{?github_release}%{?dist} +Release: 2%{?github_release}%{?dist} Summary: Helpers to build PHPUnit mocks Group: Development/Libraries @@ -43,6 +43,9 @@ URL: https://github.com/%{github_owner}/%{github_name} Source0: %{name}-%{github_version}-%{github_commit}.tar.gz Source1: %{name}-get-source.sh +# https://github.com/mnapoli/phpunit-easymock/pull/5 +Patch0: %{name}-pr5.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests @@ -78,6 +81,8 @@ Autoloader: %{phpdir}/EasyMock/autoload.php %prep %setup -qn %{github_name}-%{github_commit} +%patch0 -p1 -b .pr5 + : Create autoloader cat <<'AUTOLOAD' | tee src/autoload.php <?php @@ -154,6 +159,10 @@ rm -rf %{buildroot} %changelog +* Mon Jun 13 2016 Remi Collet <remi@fedoraproject.org> - 0.2.2-2 +- add patch to fix test suite with latest PHPUnit + open https://github.com/mnapoli/phpunit-easymock/pull/5 + * Sun Jun 05 2016 Shawn Iwinski <shawn@iwin.ski> - 0.2.2-1 - Updated to 0.2.2 (RHBZ #1342738) |