summaryrefslogtreecommitdiffstats
path: root/glpi-dev.spec
diff options
context:
space:
mode:
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