summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-22 12:04:30 +0100
committerRemi Collet <remi@remirepo.net>2018-02-22 12:04:30 +0100
commitf772c12ab24c063a3ca73430d073cc5fffc6c57c (patch)
treea585703365122c4b8fcb3c3d1dad9d61fe826d2c
parent74ceee2c0c17faecc996c976598a4ee089c8efbc (diff)
add all BuildRequires when test suite is disabled
-rw-r--r--php-symfony4.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/php-symfony4.spec b/php-symfony4.spec
index 3caf195..dc214c4 100644
--- a/php-symfony4.spec
+++ b/php-symfony4.spec
@@ -106,7 +106,7 @@
Name: php-%{composer_project}4
Version: %{github_version}
-Release: 4%{?github_prerelease:.%{github_prerelease}}%{?dist}
+Release: 5%{?github_prerelease:.%{github_prerelease}}%{?dist}
Summary: Symfony PHP framework (version 4)
Group: Development/Libraries
@@ -121,7 +121,6 @@ Source1: %{name}-generate-autoloaders.php
BuildArch: noarch
# Tests
-%if %{with_tests}
BuildRequires: composer
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
@@ -200,7 +199,6 @@ BuildRequires: php-xml
BuildRequires: php-xmlreader
## Autoloader
BuildRequires: php-composer(fedora/autoloader)
-%endif
# Bridges
Requires: php-composer(%{composer_vendor}/doctrine-bridge) = %{version}
@@ -2753,6 +2751,9 @@ exit $RET
# ##############################################################################
%changelog
+* Thu Feb 22 2018 Remi Collet <remi@remirepo.net> - 4.0.4-5
+- add all BuildRequires when test suite is disabled
+
* Thu Feb 22 2018 Remi Collet <remi@remirepo.net> - 4.0.4-3
- fix dependency autoloader
- don't run test suite (instead of ignoring results)