summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)