summaryrefslogtreecommitdiffstats
path: root/glpi-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-01-09 18:10:48 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-09 18:10:48 +0100
commitc2c94996a49a2c45b3010d892560ce237de7d578 (patch)
tree9e85dc11531a3dfa1352cac0d0f2163f2789c7f5 /glpi-dev.spec
parentfa63c633ffa49b7cc6088f0c83209f4aa65c5911 (diff)
glpi: use new tcpdf autoloader
Diffstat (limited to 'glpi-dev.spec')
-rw-r--r--glpi-dev.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/glpi-dev.spec b/glpi-dev.spec
index daa4ba4..bffd5b2 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: 2%{?dist}
+Release: 3%{?dist}
Summary: Free IT asset management software
Summary(fr): Gestion Libre de Parc Informatique
@@ -85,7 +85,8 @@ BuildRequires: php-simplepie
# remirepo:1
BuildRequires: php-composer(simplepie/simplepie) >= 1.4
BuildRequires: php-composer(phpmailer/phpmailer) >= 5.2
-BuildRequires: php-composer(tecnickcom/tcpdf) >= 6.2
+# 6.2.13 to ensure we have the classmap autoloader
+BuildRequires: php-composer(tecnickcom/tcpdf) >= 6.2.13
BuildRequires: php-mysqli
BuildRequires: php-xmlrpc
# remirepo:1
@@ -141,7 +142,8 @@ Requires: php-simplepie
# remirepo:1
Requires: php-composer(simplepie/simplepie) >= 1.4
Requires: php-composer(phpmailer/phpmailer) >= 5.2
-Requires: php-composer(tecnickcom/tcpdf) >= 6.2
+# 6.2.13 to ensure we have the classmap autoloader
+Requires: php-composer(tecnickcom/tcpdf) >= 6.2.13
# remirepo:1
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
@@ -317,6 +319,9 @@ RET=0
: Hack for vendor
sed -e '/Development dependencies/s:^://:' -i tests/bootstrap.php
+: Ignore bad date
+sed -e 's/testGetCopyrightMessage/skipGetCopyrightMessage/' -i tests/HtmlTest.php
+
: Add developement dependecies
cat << 'EOF' | tee -a vendor/autoload.php
// "guzzlehttp/guzzle": "~5"
@@ -461,6 +466,9 @@ fi
%changelog
+* Mon Jan 9 2017 Remi Collet <remi@fedoraproject.org> - 9.1.1-3
+- use new tcpdf classmap autoloader
+
* Tue Nov 15 2016 Remi Collet <remi@fedoraproject.org> - 9.1.1-2
- update to 9.1.1
- drop runtime dependency on guzzlehttp/guzzle