summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-22 11:08:18 +0100
committerRemi Collet <remi@remirepo.net>2018-02-22 11:08:18 +0100
commit74ceee2c0c17faecc996c976598a4ee089c8efbc (patch)
tree07748983976c3dd62e30a65fcb6a3312e64802e5
parentd592e4e2fa618137d483570dc33ae7911b58a925 (diff)
don't run test suite (instead of ignoring results)
-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