summaryrefslogtreecommitdiffstats
path: root/php-phpunit-mock-objects6.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-07 16:35:12 +0100
committerRemi Collet <remi@remirepo.net>2018-02-07 16:35:12 +0100
commitbdfd077982ea63b939251edba1fc9a550a7b070b (patch)
tree6c823fdb59458c65b4241ac8cc0ce3e781a66e7e /php-phpunit-mock-objects6.spec
parentdfb8caa78b5d7ad57309d9fe1b22e4376423ea42 (diff)
normal build
Diffstat (limited to 'php-phpunit-mock-objects6.spec')
-rw-r--r--php-phpunit-mock-objects6.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/php-phpunit-mock-objects6.spec b/php-phpunit-mock-objects6.spec
index 5fdf888..bbe282f 100644
--- a/php-phpunit-mock-objects6.spec
+++ b/php-phpunit-mock-objects6.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global bootstrap 1
+%global bootstrap 0
# Github
%global gh_commit e495e5d3660321b62c294d8c0e954d02d6ce2573
#global gh_date 20150902
@@ -24,7 +24,7 @@
%global ver_major 6
%global ver_minor 0
%global ver_patch 0
-%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}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Mock Object library for PHPUnit
-Group: Development/Libraries
License: BSD
URL: https://github.com/%{gh_vendor}/%{gh_project}
Source0: https://github.com/%{gh_vendor}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
@@ -48,10 +47,12 @@ BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
%if %{with_tests}
BuildRequires: php(language) >= 7.1
+# remirepo:1
%if 0%{?fedora} >= 27
BuildRequires: (php-composer(phpunit/php-text-template) >= 1.2.1 with php-composer(phpunit/php-text-template) < 2)
BuildRequires: (php-composer(doctrine/instantiator) >= 1.0.5 with php-composer(doctrine/instantiator) < 2)
BuildRequires: (php-composer(sebastian/exporter) >= 3.1 with php-composer(sebastian/exporter) < 4)
+# remirepo:5
%else
BuildRequires: php-phpunit-Text-Template >= 1.2.1
BuildRequires: php-doctrine-instantiator >= 1.0.5
@@ -68,10 +69,12 @@ BuildRequires: phpunit7
# "doctrine/instantiator": "^1.0.5",
# "sebastian/exporter": "^3.1"
Requires: php(language) >= 7.1
+# remirepo:1
%if 0%{?fedora} >= 27
Requires: (php-composer(phpunit/php-text-template) >= 1.2.1 with php-composer(phpunit/php-text-template) < 2)
Requires: (php-composer(doctrine/instantiator) >= 1.0.5 with php-composer(doctrine/instantiator) < 2)
Requires: (php-composer(sebastian/exporter) >= 3.1 with php-composer(sebastian/exporter) < 4)
+# remirepo:5
%else
Requires: php-phpunit-Text-Template >= 1.2.1
Requires: php-doctrine-instantiator >= 1.0.5
@@ -149,6 +152,7 @@ exit $ret
%files
+# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
@@ -159,6 +163,9 @@ exit $ret
%changelog
+* Wed Feb 7 2018 Remi Collet <remi@remirepo.net> - 6.0.0-1
+- normal build
+
* Fri Feb 2 2018 Remi Collet <remi@remirepo.net> - 6.0.0-0
- Update to 6.0.0
- rename to php-phpunit-mock-objects6