summaryrefslogtreecommitdiffstats
path: root/php-nette-bootstrap.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-30 17:32:49 +0100
committerRemi Collet <fedora@famillecollet.com>2015-10-30 17:32:49 +0100
commit077337e817f1988ec34a6689f16a1865adf169a7 (patch)
treec87fb8641dc9c7126e505dd786e6575fd2db6431 /php-nette-bootstrap.spec
parentf4b5f489919da0d13fc56f6058551ae9250b0b58 (diff)
php-nette-bootstrap: more tests
Diffstat (limited to 'php-nette-bootstrap.spec')
-rw-r--r--php-nette-bootstrap.spec30
1 files changed, 20 insertions, 10 deletions
diff --git a/php-nette-bootstrap.spec b/php-nette-bootstrap.spec
index 0f159bb..f617907 100644
--- a/php-nette-bootstrap.spec
+++ b/php-nette-bootstrap.spec
@@ -18,7 +18,7 @@
Name: php-%{gh_owner}-%{gh_project}
Version: 2.3.3
-%global specrel 1
+%global specrel 2
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Nette Bootstrap
@@ -53,7 +53,15 @@ BuildRequires: php-composer(%{gh_owner}/utils) >= 2.2
# "latte/latte": "~2.2",
# "tracy/tracy": "~2.3"
# ignore not yet available components
+BuildRequires: php-composer(%{gh_owner}/application) >= 2.3
BuildRequires: php-composer(%{gh_owner}/caching) >= 2.3
+BuildRequires: php-composer(%{gh_owner}/database) >= 2.3
+BuildRequires: php-composer(%{gh_owner}/forms) >= 2.3
+BuildRequires: php-composer(%{gh_owner}/http) >= 2.3
+BuildRequires: php-composer(%{gh_owner}/mail) >= 2.3
+BuildRequires: php-composer(%{gh_owner}/robot-loader) >= 2.2
+BuildRequires: php-composer(%{gh_owner}/safe-stream) >= 2.2
+BuildRequires: php-composer(%{gh_owner}/security) >= 2.3
BuildRequires: php-composer(%{gh_owner}/tester) >= 1.3
BuildRequires: php-composer(latte/latte) >= 2.2
BuildRequires: php-composer(tracy/tracy) >= 2.3
@@ -113,15 +121,6 @@ cp -pr src/* %{buildroot}%{php_home}/%{ns_vendor}/
%check
%if %{with_tests}
-: Ignore test for not yet available components
-rm tests/Bootstrap/Configurator.inheritance1.phpt
-rm tests/Bootstrap/Configurator.inheritance2.phpt
-rm tests/Bootstrap/Configurator.inheritance4.phpt
-rm tests/Bootstrap/Configurator.presentersDecoration.phpt
-rm tests/Bootstrap/Configurator.robotLoader.phpt
-rm tests/Bootstrap/Configurator.minimalContainer.phpt
-rm tests/Bootstrap/Configurator.developmentContainer.phpt
-
: Generate configuration
cat /etc/php.ini /etc/php.d/*ini >php.ini
export LANG=fr_FR.utf8
@@ -133,7 +132,15 @@ cat << 'EOF' | tee vendor/autoload.php
require_once '%{php_home}/Tester/autoload.php';
require_once '%{php_home}/Latte/autoload.php';
require_once '%{php_home}/Tracy/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/Application/autoload.php';
require_once '%{php_home}/%{ns_vendor}/Caching/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/Database/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/Forms/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/Http/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/Mail/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/RobotLoader/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/SafeStream/autoload.php';
+require_once '%{php_home}/%{ns_vendor}/Security/autoload.php';
require_once '%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php';
EOF
@@ -159,5 +166,8 @@ rm -rf %{buildroot}
%changelog
+* Fri Oct 30 2015 Remi Collet <remi@fedoraproject.org> - 2.3.3-2
+- more tests
+
* Tue Oct 20 2015 Remi Collet <remi@fedoraproject.org> - 2.3.3-1
- initial package \ No newline at end of file