From 417deeae3aec5b437c8ac280afeaf7cd4022a92b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Apr 2015 10:58:06 +0200 Subject: phpunit: keep upstream shebang --- php-phpunit-PHPUnit.spec | 6 +++++- phpunit-rpm.patch | 6 ------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec index 6f2523a..bc18816 100644 --- a/php-phpunit-PHPUnit.spec +++ b/php-phpunit-PHPUnit.spec @@ -18,7 +18,7 @@ Name: php-phpunit-PHPUnit Version: 4.6.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The PHP Unit Testing framework Group: Development/Libraries @@ -75,6 +75,7 @@ BuildRequires: php-composer(phpunit/php-invoker) >= 1.1.0 # "ext-reflection": "*", # "ext-spl": "*" Requires: php(language) >= 5.3.3 +Requires: php-cli Requires: php-composer(phpunit/php-file-iterator) >= 1.4 Requires: php-composer(phpunit/php-file-iterator) < 2 Requires: php-composer(phpunit/php-text-template) >= 1.2 @@ -203,6 +204,9 @@ fi %changelog +* Fri Apr 17 2015 Remi Collet - 4.6.4-2 +- keep upstream shebang with /usr/bin/env (for SCL) + * Mon Apr 13 2015 Remi Collet - 4.6.4-1 - Update to 4.6.4 diff --git a/phpunit-rpm.patch b/phpunit-rpm.patch index b927330..03ace66 100644 --- a/phpunit-rpm.patch +++ b/phpunit-rpm.patch @@ -1,12 +1,6 @@ diff -up ./phpunit.rpm ./phpunit --- ./phpunit.rpm 2015-01-17 12:24:41.000000000 +0100 +++ ./phpunit 2015-01-18 08:52:50.896228541 +0100 -@@ -1,4 +1,4 @@ --#!/usr/bin/env php -+#!/usr/bin/php -