diff --git a/.gitignore b/.gitignore index 851f964..ce57d68 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ glpi-0.72.4-11497.tar.gz /glpi-9.1.5-c7dc27d.tar.gz /glpi-9.1.6-2683ce0.tar.gz /glpi-9.2-43bade1.tar.gz +/glpi-9.2.1-3a7c596.tar.gz diff --git a/glpi-9.1-config_path.php b/glpi-9.1-config_path.php deleted file mode 100644 index 37a3cd8..0000000 --- a/glpi-9.1-config_path.php +++ /dev/null @@ -1,30 +0,0 @@ -= 2.7 BuildRequires: php-composer(zendframework/zend-i18n) < 3 BuildRequires: php-composer(zendframework/zend-i18n) >= 2.7 +BuildRequires: php-composer(zendframework/zend-serializer) < 3 +BuildRequires: php-composer(zendframework/zend-serializer) >= 2.7 BuildRequires: php-composer(michelf/php-markdown) < 2 BuildRequires: php-composer(michelf/php-markdown) >= 1.6 BuildRequires: php-composer(true/punycode) < 3 @@ -149,6 +154,8 @@ Requires: php-composer(zendframework/zend-cache) < 3 Requires: php-composer(zendframework/zend-cache) >= 2.7 Requires: php-composer(zendframework/zend-i18n) < 3 Requires: php-composer(zendframework/zend-i18n) >= 2.7 +Requires: php-composer(zendframework/zend-serializer) < 3 +Requires: php-composer(zendframework/zend-serializer) >= 2.7 Requires: php-composer(zendframework/zend-loader) Requires: php-composer(michelf/php-markdown) < 2 Requires: php-composer(michelf/php-markdown) >= 1.6 @@ -206,6 +213,7 @@ techniciens grâce à une maintenance plus cohérente. %prep %setup -q -n %{name}-%{gh_commit} +%patch1 -p1 grep %{version} inc/define.php @@ -226,7 +234,7 @@ ln -s /usr/share/fonts/fontawesome/fontawesome-webfont.ttf lib/font-awesome-4.7. : bundled JS libraries ls lib -cp %{SOURCE2} config/config_path.php +cp %{SOURCE2} inc/downstream.php cp %{SOURCE6} tools/minify.php mkdir vendor @@ -289,10 +297,9 @@ install -Dpm 0644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/nginx/default.d/glpi.co %endif # ===== config ===== -cp -ar config %{buildroot}/%{_datadir}/%{name}/config - mkdir -p %{buildroot}/%{_sysconfdir}/%{name} touch %{buildroot}%{_sysconfdir}/%{name}/config_db.php +touch %{buildroot}%{_sysconfdir}/%{name}/local_define.php # ===== files ===== mkdir -p %{buildroot}/%{_localstatedir}/lib/%{name} @@ -315,7 +322,6 @@ rm -f %{buildroot}%{_localstatedir}/lib/%{name}/files/.htaccess # Proctection in /etc/httpd/conf.d/glpi.conf rm -f %{buildroot}%{_datadir}/%{name}/install/mysql/.htaccess rm -f %{buildroot}%{_datadir}/%{name}/locales/.htaccess -rm -f %{buildroot}%{_datadir}/%{name}/config/.htaccess rm -f %{buildroot}%{_datadir}/%{name}/scripts/.htaccess @@ -383,14 +389,13 @@ while [ $n -gt 0 ]; do done : Set tests configuration -cp %{SOURCE12} config/config_path.php +cp %{SOURCE12} inc/downstream.php : Run upstream test suite php tools/cliinstall.php --host=127.0.0.1:3308 --db=glpitest --user=root --tests --force --lang=en_GB || RET=1 -#atoum --debug --bootstrap-file tests/bootstrap.php --no-code-coverage --use-light-report --max-children-number 1 -d tests/database || RET=1 atoum --debug --bootstrap-file tests/bootstrap.php --no-code-coverage --use-light-report --max-children-number 1 -d tests/units || RET=1 -atoum --debug --bootstrap-file tests/bootstrap.php --no-code-coverage --use-light-report --max-children-number 1 -d tests/api || RET=1 +atoum --debug --bootstrap-file tests/bootstrap.php --no-code-coverage --use-light-report --max-children-number 1 -d tests/web || RET=1 : Cleanup if [ -s $MYSQL_PID_FILE ]; then @@ -444,6 +449,7 @@ fi %attr(2770,root,apache) %dir %{_sysconfdir}/%{name} %ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/config_db.php +%ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/local_define.php %config(noreplace) %{_sysconfdir}/httpd/conf.d/glpi.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %config(noreplace) %{_sysconfdir}/cron.d/%{name} @@ -461,7 +467,6 @@ fi # License file required by installation process %{_datadir}/%{name}/COPYING.txt %{_datadir}/%{name}/ajax -%{_datadir}/%{name}/config %{_datadir}/%{name}/css %{_datadir}/%{name}/front %{_datadir}/%{name}/inc @@ -478,6 +483,10 @@ fi %changelog +* Thu Nov 16 2017 Remi Collet - 9.2.1-2 +- update to 9.2.1 +- add dependency on zendframework/zend-serializer + * Thu Sep 28 2017 Remi Collet - 9.2-1 - update to 9.2 - drop dependency on zetacomponents/graph diff --git a/sources b/sources index 3011c76..0036529 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (glpi-9.2-43bade1.tar.gz) = 3e6b32f1469dd46306e7c201c1f1ca7c4045dfd260c12a870cd2b4f8288488b75f6cd19bd7ea9bbc7d3b3c699062ba6b37d64b984626d1c6939df45044ed0a8c +SHA512 (glpi-9.2.1-3a7c596.tar.gz) = 0e49b9f965019131b881b264a3f4ddd896aad26d21f1cedb66accf8605f8a89e8285ebe2e3b3a0880321b0b3300a2905144c8cc0dec7fa7b460e64a450d71b41