diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-11-15 17:12:31 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-11-15 17:12:31 +0100 |
commit | 074373e5090cbdff8096ee77735f3931a193defb (patch) | |
tree | 7cad565ecb193bf0880d7616ca5e9e3f84e18bfa /glpi-dev.spec | |
parent | 7d800da9e2d82fe54c36ae3b577f97fcf7ab2f8d (diff) |
glpi: drop runtime dep. on guzzle
Diffstat (limited to 'glpi-dev.spec')
-rw-r--r-- | glpi-dev.spec | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/glpi-dev.spec b/glpi-dev.spec index 01e1d64..a5f9d6a 100644 --- a/glpi-dev.spec +++ b/glpi-dev.spec @@ -44,7 +44,7 @@ Name: %{gh_project} Version: 9.1.1 %global schema 9.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Free IT asset management software Summary(fr): Gestion Libre de Parc Informatique @@ -130,8 +130,6 @@ Requires: php-htmLawed Requires: php-composer(zendframework/zend-cache) >= 2.4 Requires: php-composer(zendframework/zend-i18n) >= 2.4 Requires: php-composer(zendframework/zend-loader) >= 2.4 -Requires: php-composer(guzzlehttp/guzzle) >= 5 -Requires: php-composer(guzzlehttp/guzzle) < 6 Requires: php-composer(jasig/phpcas) >= 1.3 Requires: php-composer(iamcal/lib_autolink) >= 1.7 Requires: php-composer(sabre/vobject) >= 3.4 @@ -319,6 +317,12 @@ RET=0 : Hack for vendor sed -e '/Development dependencies/s:^://:' -i tests/bootstrap.php +: Add developement dependecies +cat << 'EOF' | tee -a vendor/autoload.php +// "guzzlehttp/guzzle": "~5" +require_once $vendor . '/GuzzleHttp/autoload.php'; +EOF + : Running a PHP server sed -e 's/localhost:8088/127.0.0.1:8089/' phpunit.xml.dist >phpunit.xml @@ -457,8 +461,9 @@ fi %changelog -* Tue Nov 15 2016 Remi Collet <remi@fedoraproject.org> - 9.1.1-1 +* Tue Nov 15 2016 Remi Collet <remi@fedoraproject.org> - 9.1.1-2 - update to 9.1.1 +- drop runtime dependency on guzzlehttp/guzzle * Wed Sep 28 2016 Remi Collet <remi@fedoraproject.org> - 9.1-2 - missing API documentation |