summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-22 12:02:13 +0100
committerRemi Collet <remi@remirepo.net>2018-02-22 12:02:13 +0100
commit5927f642b707ba059856129eba923a73e657c683 (patch)
treefc123f1ec2fcae0f72482c37c345bbb741324d23
parent6ed8e7460a1dcfb15e6d4881fbbac9fee213ce44 (diff)
add all BuildRequires when test suite is disabled
-rw-r--r--php-symfony3.spec9
1 files changed, 5 insertions, 4 deletions
diff --git a/php-symfony3.spec b/php-symfony3.spec
index 7d237e8..3707633 100644
--- a/php-symfony3.spec
+++ b/php-symfony3.spec
@@ -117,7 +117,7 @@
Name: php-%{composer_project}3
Version: %{github_version}
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Symfony PHP framework (version 3)
Group: Development/Libraries
@@ -132,7 +132,6 @@ Source1: %{name}-generate-autoloaders.php
BuildArch: noarch
# Tests
-%if %{with_tests}
BuildRequires: composer
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
@@ -183,7 +182,6 @@ BuildRequires: php-composer(twig/twig) >= %{twig_min_ver}
%if %{with_sensio_framework_extra_bundle}
BuildRequires: php-composer(sensio/framework-extra-bundle) < %{sensio_framework_extra_bundle_max_ver}
BuildRequires: php-composer(sensio/framework-extra-bundle) >= %{sensio_framework_extra_bundle_min_ver}
-%endif
## phpcompatinfo (computed from version 3.3.6)
BuildRequires: php-ctype
BuildRequires: php-curl
@@ -1962,7 +1960,7 @@ BOOTSTRAP
%{_bindir}/phpunit --exclude-group benchmark $PKG || RET=1
fi
done
-: Ignore test suite results
+exit $RET
%else
: Tests skipped
%endif
@@ -2759,6 +2757,9 @@ done
# ##############################################################################
%changelog
+* Thu Feb 22 2018 Remi Collet <remi@remirepo.net> - 3.3.16-5
+- add all BuildRequires when test suite is disabled
+
* Thu Feb 22 2018 Remi Collet <remi@remirepo.net> - 3.3.16-4
- fix dependency autoloader
- don't run test suite (instead of ignoring results)