From 5927f642b707ba059856129eba923a73e657c683 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 22 Feb 2018 12:02:13 +0100 Subject: add all BuildRequires when test suite is disabled --- php-symfony3.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'php-symfony3.spec') 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 - 3.3.16-5 +- add all BuildRequires when test suite is disabled + * Thu Feb 22 2018 Remi Collet - 3.3.16-4 - fix dependency autoloader - don't run test suite (instead of ignoring results) -- cgit