summaryrefslogtreecommitdiffstats
path: root/php-scssphp.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-06-09 10:56:14 +0200
committerRemi Collet <fedora@famillecollet.com>2014-06-09 10:56:14 +0200
commit8344510f91a5b848bc13494f89a4c80ba759f6f6 (patch)
treeefe9e8b1d9a62bc99cd97f1f11b40bfcd46c6e83 /php-scssphp.spec
parent2facd5e250befa486646ab36804ad54e7451476f (diff)
php-scssphp: fix FTBFS
Diffstat (limited to 'php-scssphp.spec')
-rw-r--r--php-scssphp.spec12
1 files changed, 9 insertions, 3 deletions
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 <remi@fedoraproject.org> - 0.0.10-2
+- fix FTBFS, ignore max version of PHPUnit
+- provides php-composer(leafo/scssphp)
+
* Tue Apr 22 2014 Remi Collet <remi@fedoraproject.org> 0.0.10-1
- backport 0.0.9 for remi repo.