From cb7e276064d933efc53f8b06eabe79bd1ef14629 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Apr 2014 09:24:49 +0200 Subject: php-phpunit-environment: add generated autoload.php --- php-phpunit-environment.spec | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) (limited to 'php-phpunit-environment.spec') diff --git a/php-phpunit-environment.spec b/php-phpunit-environment.spec index 4de86c3..920937c 100644 --- a/php-phpunit-environment.spec +++ b/php-phpunit-environment.spec @@ -11,11 +11,12 @@ %global gh_owner sebastianbergmann %global gh_project environment %global php_home %{_datadir}/php/SebastianBergmann -%global with_tests %{?_without_tests:0}%{!?_without_tests:1} +# Circular dependency with phpunit +%global with_tests %{?_with_tests:1}%{!?_with_tests:0} Name: php-phpunit-environment Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Handle HHVM/PHP environments Group: Development/Libraries @@ -26,6 +27,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3.3 +BuildRequires: %{_bindir}/phpab %if %{with_tests} BuildRequires: %{_bindir}/phpunit %endif @@ -41,24 +43,10 @@ has runtime-specific (PHP / HHVM) execution paths. %prep %setup -q -n %{gh_project}-%{gh_commit} -: Create trivial PSR0 autoloader -cat < - 1.0.0-2 +- add generated autoload.php + * Tue Apr 1 2014 Remi Collet - 1.0.0-1 - initial package \ No newline at end of file -- cgit