From 8344510f91a5b848bc13494f89a4c80ba759f6f6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Jun 2014 10:56:14 +0200 Subject: php-scssphp: fix FTBFS --- php-scssphp.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'php-scssphp.spec') diff --git a/php-scssphp.spec b/php-scssphp.spec index 04e768c..6765943 100644 --- a/php-scssphp.spec +++ b/php-scssphp.spec @@ -6,8 +6,8 @@ # "php": ">=5.3.0" %global php_min_ver 5.3.0 # "phpunit/phpunit": "3.7.*" +# max version ignored %global phpunit_min_ver 3.7.0 -%global phpunit_max_ver 3.8.0 Name: php-%{github_name} Version: %{github_version} @@ -24,8 +24,7 @@ BuildArch: noarch BuildRequires: help2man # For tests BuildRequires: php(language) >= %{php_min_ver} -BuildRequires: php-pear(pear.phpunit.de/PHPUnit) >= %{phpunit_min_ver} -BuildRequires: php-pear(pear.phpunit.de/PHPUnit) < %{phpunit_max_ver} +BuildRequires: php-phpunit-PHPUnit >= %{phpunit_min_ver} # For tests: phpcompatinfo (computed from v0.0.10) BuildRequires: php-ctype BuildRequires: php-date @@ -37,6 +36,9 @@ Requires: php-ctype Requires: php-date Requires: php-pcre +Provides: php-composer(leafo/scssphp) = %{github_version} + + %description SCSS (http://sass-lang.com/) is a CSS preprocessor that adds many features like variables, mixins, imports, color manipulation, functions, and tons of other @@ -96,6 +98,10 @@ cat phpunit.xml.dist \ %changelog +* Mon Jun 8 2014 Remi Collet - 0.0.10-2 +- fix FTBFS, ignore max version of PHPUnit +- provides php-composer(leafo/scssphp) + * Tue Apr 22 2014 Remi Collet 0.0.10-1 - backport 0.0.9 for remi repo. -- cgit