summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-12 07:17:12 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-12 07:17:12 +0200
commit367167961889ff1b59f6162df852365110a80426 (patch)
treedd0b78a406d3001a46f150fa41f9f7e374c28ce0
parent26c57aa157a80a3a225fb86c3555f769ed1979f9 (diff)
php-sebastian-global-state: 1.1.1
-rw-r--r--php-sebastian-global-state.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-sebastian-global-state.spec b/php-sebastian-global-state.spec
index 3d38ad7..3a62538 100644
--- a/php-sebastian-global-state.spec
+++ b/php-sebastian-global-state.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit c7428acdb62ece0a45e6306f1ae85e1c05b09c01
+%global gh_commit bc37d50fea7d017d3d340f230811c9f1d7280af4
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project global-state
@@ -19,7 +19,7 @@
%endif
Name: php-sebastian-global-state
-Version: 1.0.0
+Version: 1.1.1
Release: 1%{?dist}
Summary: Snapshotting of global state
@@ -33,10 +33,12 @@ BuildArch: noarch
BuildRequires: php(language) >= 5.3.3
BuildRequires: %{_bindir}/phpab
%if %{with_tests}
-BuildRequires: %{_bindir}/phpunit
+# from composer.json, "require-dev": {
+# "phpunit/phpunit": "~4.2"
+BuildRequires: php-composer(phpunit/phpunit) > 4.2
%endif
-# from composer.json
+# from composer.json, "require": {
# "php": ">=5.3.3"
Requires: php(language) >= 5.3.3
# Optional: php-pecl-uopz
@@ -75,8 +77,8 @@ require 'SebastianBergmann/GlobalState/autoload.php';
require 'tests/autoload.php';
EOF
-phpunit \
- --include-path %{buildroot}%{_datadir}/php \
+%{_bindir}/php -d include_path=.:%{buildroot}%{_datadir}/php:%{_datadir}/php \
+%{_bindir}/phpunit \
--bootstrap bs.php \
tests
%else
@@ -96,5 +98,8 @@ rm -rf %{buildroot}
%changelog
+* Mon Oct 12 2015 Remi Collet <remi@fedoraproject.org> - 1.1.1-1
+- update to 1.1.1
+
* Fri Dec 5 2014 Remi Collet <remi@fedoraproject.org> - 1.0.0-1
- initial package \ No newline at end of file