From 4f961dc4594e13c0fc717c3f800847f908f16c4a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 May 2014 15:46:20 +0200 Subject: php-phpunit-PHPUnit: fix autoload --- php-phpunit-PHPUnit.spec | 7 ++++++- phpunit-rpm.patch | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec index db914f3..e609d45 100644 --- a/php-phpunit-PHPUnit.spec +++ b/php-phpunit-PHPUnit.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHPUnit Version: 4.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The PHP Unit Testing framework Group: Development/Libraries @@ -86,6 +86,8 @@ Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} # Package have been rename Obsoletes: php-pear-PHPUnit < %{version} Provides: php-pear-PHPUnit = %{version}-%{release} +# Project +Provides: phpunit = %{version}-%{release} %description @@ -152,6 +154,9 @@ fi %changelog +* Tue May 6 2014 Remi Collet - 4.1.0-2 +- fix some autoload issues + * Sat May 3 2014 Remi Collet - 4.1.0-1 - Update to 4.1.0 diff --git a/phpunit-rpm.patch b/phpunit-rpm.patch index 0a1253b..34f65ba 100644 --- a/phpunit-rpm.patch +++ b/phpunit-rpm.patch @@ -1,13 +1,13 @@ diff -up ./phpunit.rpm ./phpunit ---- ./phpunit.rpm 2014-04-29 16:21:26.000000000 +0200 -+++ ./phpunit 2014-04-29 16:22:50.000000000 +0200 +--- ./phpunit.rpm 2014-05-02 09:13:40.000000000 +0200 ++++ ./phpunit 2014-05-06 15:37:05.557950817 +0200 @@ -1,4 +1,4 @@ -#!/usr/bin/env php +#!/usr/bin/php