summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-symfony4.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-symfony4.spec b/php-symfony4.spec
index 3f16e45..3caf195 100644
--- a/php-symfony4.spec
+++ b/php-symfony4.spec
@@ -92,7 +92,7 @@
%global twig_max_ver 3.0
# Build using "--without tests" to disable tests
-%global with_tests 0%{!?_without_tests:1}
+%global with_tests 0%{?_with_tests:1}
%global with_sensio_framework_extra_bundle 0
@@ -106,7 +106,7 @@
Name: php-%{composer_project}4
Version: %{github_version}
-Release: 1%{?github_prerelease:.%{github_prerelease}}%{?dist}
+Release: 4%{?github_prerelease:.%{github_prerelease}}%{?dist}
Summary: Symfony PHP framework (version 4)
Group: Development/Libraries
@@ -1857,7 +1857,7 @@ cat <<AUTOLOAD | tee src/Symfony/autoload.php
*/
require_once __DIR__.'/autoload-common.php';
-\Fedora\Autoloader\Dependencies::required(glob('*/*/autoload.php'));
+\Fedora\Autoloader\Dependencies::required(glob(__DIR__ . '/*/*/autoload.php'));
AUTOLOAD
: Create per-type autoloaders
@@ -1871,7 +1871,7 @@ do
*/
require_once dirname(__DIR__).'/autoload-common.php';
-\Fedora\Autoloader\Dependencies::required(glob('*/autoload.php'));
+\Fedora\Autoloader\Dependencies::required(glob(__DIR__ . '/*/autoload.php'));
AUTOLOAD
done
@@ -1956,7 +1956,7 @@ BOOTSTRAP
%{_bindir}/phpunit --exclude-group benchmark $PKG || RET=1
fi
done
-: Ignore test suite results
+exit $RET
%else
: Tests skipped
%endif
@@ -2753,6 +2753,10 @@ done
# ##############################################################################
%changelog
+* 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)
+
* Tue Jan 30 2018 Remi Collet <remi@remirepo.net> - 4.0.4-1
- Update to 4.0.4