From: Marcin Krol Date: Mon, 28 May 2018 11:07:15 +0000 (+0000) Subject: - updated to 4.8.1, disabled version check X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=6e14570fdfd709b26e7795884c85f27e5e1a1579;p=packages%2FphpMyAdmin.git - updated to 4.8.1, disabled version check --- diff --git a/phpMyAdmin-disable-version-check.patch b/phpMyAdmin-disable-version-check.patch new file mode 100644 index 0000000..6f6182f --- /dev/null +++ b/phpMyAdmin-disable-version-check.patch @@ -0,0 +1,12 @@ +diff -ur phpMyAdmin-4.8.1-all-languages.orig/libraries/vendor_config.php phpMyAdmin-4.8.1-all-languages/libraries/vendor_config.php +--- phpMyAdmin-4.8.1-all-languages.orig/libraries/vendor_config.php 2018-05-25 02:45:56.000000000 +0000 ++++ phpMyAdmin-4.8.1-all-languages/libraries/vendor_config.php 2018-05-28 11:02:17.740128884 +0000 +@@ -66,7 +66,7 @@ + /** + * Default value for check for version upgrades. + */ +-define('VERSION_CHECK_DEFAULT', true); ++define('VERSION_CHECK_DEFAULT', false); + + /** + * Path to files with compiled locales (*.mo) diff --git a/phpMyAdmin.spec b/phpMyAdmin.spec index 6c0e2a9..50990f6 100644 --- a/phpMyAdmin.spec +++ b/phpMyAdmin.spec @@ -4,15 +4,16 @@ Summary: phpMyAdmin - web-based MySQL administration Summary(pl.UTF-8): phpMyAdmin - administracja bazami MySQL przez WWW Name: phpMyAdmin -Version: 4.8.0 +Version: 4.8.1 Release: 1 License: GPL v2 Group: Applications/Databases/Interfaces Source0: https://files.phpmyadmin.net/%{name}/%{version}/%{name}-%{version}-all-languages.tar.xz -# Source0-md5: 946334c6732fe7c5e3d80786794249d1 +# Source0-md5: ea5d80ad9bedce64b95bd6cacaff103a Source1: %{name}-apache.conf Source2: %{name}-lighttpd.conf Patch0: %{name}-config.patch +Patch1: %{name}-disable-version-check.patch URL: http://www.phpmyadmin.net/ BuildRequires: rpmbuild(macros) >= 1.268 BuildRequires: tar >= 1:1.22 @@ -83,6 +84,7 @@ podręcznika MySQL). Aktualnie phpMyAdmin potrafi: %prep %setup -q -n %{name}-%{version}-all-languages %patch0 -p1 +%patch1 -p1 # cleanup backups after patching find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f