summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpunit-php-code-coverage6.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-phpunit-php-code-coverage6.spec b/php-phpunit-php-code-coverage6.spec
index d71f9a9..13064fb 100644
--- a/php-phpunit-php-code-coverage6.spec
+++ b/php-phpunit-php-code-coverage6.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
-%global bootstrap 1
+%global bootstrap 0
# Github
%global gh_commit f8ca4b604baf23dab89d87773c28cc07405189ba
#global gh_date 20150924
@@ -24,7 +24,7 @@
%global ver_major 6
%global ver_minor 0
%global ver_patch 1
-%global specrel 0
+%global specrel 1
%if %{bootstrap}
%global with_tests 0%{?_with_tests:1}
%else
@@ -36,7 +36,6 @@ Version: %{ver_major}.%{ver_minor}.%{ver_patch}
Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}.%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: PHP code coverage information
-Group: Development/Libraries
# Main license is BSD
# BSD: D3
# MIT: boostrap, d3, holder, html5shiv, jquery, respond
@@ -52,6 +51,7 @@ BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
%if %{with_tests}
BuildRequires: php(language) >= 7.1
+# remirepo:1
%if 0%{?fedora} >= 27
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 1.4.2 with php-composer(phpunit/php-file-iterator) < 2)
BuildRequires: (php-composer(phpunit/php-token-stream) >= 3.0 with php-composer(phpunit/php-token-stream) < 4)
@@ -60,6 +60,7 @@ BuildRequires: (php-composer(sebastian/code-unit-reverse-lookup) >= 1.0.1 with
BuildRequires: (php-composer(sebastian/environment) >= 3.0 with php-composer(sebastian/environment) < 4)
BuildRequires: (php-composer(sebastian/version) >= 2.0.1 with php-composer(sebastian/version) < 3)
BuildRequires: (php-composer(theseer/tokenizer) >= 1.1 with php-composer(theseer/tokenizer) < 2)
+# remirepo:9
%else
BuildRequires: php-phpunit-File-Iterator >= 1.4.2
BuildRequires: php-phpunit-php-token-stream3
@@ -89,6 +90,7 @@ BuildRequires: php-pecl-xdebug >= 2.6.0
Requires: php(language) >= 7.1
Requires: php-dom
Requires: php-xmlwriter
+# remirepo:1
%if 0%{?fedora} >= 27
Requires: (php-composer(phpunit/php-file-iterator) >= 1.4.2 with php-composer(phpunit/php-file-iterator) < 2)
Requires: (php-composer(phpunit/php-token-stream) >= 3.0 with php-composer(phpunit/php-token-stream) < 4)
@@ -97,6 +99,7 @@ Requires: (php-composer(sebastian/code-unit-reverse-lookup) >= 1.0.1 with
Requires: (php-composer(sebastian/environment) >= 3.0 with php-composer(sebastian/environment) < 4)
Requires: (php-composer(sebastian/version) >= 2.0.1 with php-composer(sebastian/version) < 3)
Requires: (php-composer(theseer/tokenizer) >= 1.1 with php-composer(theseer/tokenizer) < 2)
+# remirepo:9
%else
Requires: php-phpunit-File-Iterator >= 1.4.2
Requires: php-phpunit-php-token-stream3
@@ -127,9 +130,11 @@ Provides: bundled(js-html5shiv) = 3.7.3
Provides: bundled(js-jquery) = 3.1.1
Provides: bundled(js-nvd3) = 1.8.1
Provides: bundled(js-respond) = 1.1.2
+# remirepo:1
%if 0%{?fedora} >= 19
%global with_glyphicons 1
Requires: glyphicons-halflings-fonts
+# remirepo:4
%else
%global with_glyphicons 0
Provides: bundled(glyphicons-halflings-fonts) = unknown
@@ -205,6 +210,7 @@ exit $ret
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.md
@@ -214,6 +220,9 @@ exit $ret
%changelog
+* Wed Feb 7 2018 Remi Collet <remi@remirepo.net> - 6.0.1-1
+- normal build
+
* Fri Feb 2 2018 Remi Collet <remi@remirepo.net> - 6.0.1-1
- Update to 6.0.1
- rename to php-phpunit-php-code-coverage6