From a692fdb79f14d82604b80a9672ae802e423ad970 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 7 Jun 2014 11:45:44 +0200 Subject: php-phpunit-PHPUnit: 4.1.2 --- php-phpunit-PHPUnit.spec | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'php-phpunit-PHPUnit.spec') diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec index e6dc84e..268a5da 100644 --- a/php-phpunit-PHPUnit.spec +++ b/php-phpunit-PHPUnit.spec @@ -8,7 +8,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 1d6b554732382879045e11c56decd4be76130720 +%global gh_commit be5f237df860da88a7cfe247594232cae61845df %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project phpunit @@ -17,7 +17,7 @@ %global pear_channel pear.phpunit.de Name: php-phpunit-PHPUnit -Version: 4.1.1 +Version: 4.1.2 Release: 1%{?dist} Summary: The PHP Unit Testing framework @@ -40,7 +40,7 @@ BuildRequires: php-phpunit-File-Iterator >= 1.3.1 BuildRequires: php-phpunit-Text-Template >= 1.2 BuildRequires: php-phpunit-PHP-CodeCoverage >= 2.0 BuildRequires: php-phpunit-PHP-Timer >= 1.0.2 -BuildRequires: php-phpunit-PHPUnit-MockObject >= 2.1 +BuildRequires: php-composer(phpunit/phpunit-mock-objects) >= 2.1 BuildRequires: php-phpunit-comparator >= 1.0 BuildRequires: php-phpunit-diff >= 1.1 BuildRequires: php-phpunit-environment >= 1.0 @@ -54,7 +54,7 @@ Requires: php-phpunit-File-Iterator >= 1.3.1 Requires: php-phpunit-Text-Template >= 1.2 Requires: php-phpunit-PHP-CodeCoverage >= 2.0 Requires: php-phpunit-PHP-Timer >= 1.0.2 -Requires: php-phpunit-PHPUnit-MockObject >= 2.1 +Requires: php-composer(phpunit/phpunit-mock-objects) >= 2.1 Requires: php-phpunit-comparator >= 1.0 Requires: php-phpunit-diff >= 1.1 Requires: php-phpunit-environment >= 1.0 @@ -81,6 +81,7 @@ Requires: php-tidy Requires: php-xml +Provides: php-composer(phpunit/phpunit) = %{version} # For compatibility with PEAR mode Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} # Package have been rename @@ -110,6 +111,10 @@ phpab \ --template %{SOURCE1} \ src +phpab \ + --output tests/autoload.php \ + tests + %install rm -rf %{buildroot} @@ -120,9 +125,6 @@ install -D -p -m 755 phpunit %{buildroot}%{_bindir}/phpunit %check -sed -e 's:vendor/autoload:src/Autoload:' \ - -i tests/bootstrap.php - sed -e '/logging/d' \ -e '/ phpunit.xml @@ -154,6 +156,11 @@ fi %changelog +* Sat Jun 7 2014 Remi Collet - 4.1.2-1 +- Update to 4.1.2 (no change) +- improve test suite bootstraping +- add composer provide + * Mon May 26 2014 Remi Collet - 4.1.1-1 - Update to 4.1.1 -- cgit