]> TLD Linux GIT Repositories - packages/phpMyAdmin.git/commitdiff
- updated to 4.8.1, disabled version check
authorMarcin Krol <hawk@tld-linux.org>
Mon, 28 May 2018 11:07:15 +0000 (11:07 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 28 May 2018 11:07:15 +0000 (11:07 +0000)
phpMyAdmin-disable-version-check.patch [new file with mode: 0644]
phpMyAdmin.spec

diff --git a/phpMyAdmin-disable-version-check.patch b/phpMyAdmin-disable-version-check.patch
new file mode 100644 (file)
index 0000000..6f6182f
--- /dev/null
@@ -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)
index 6c0e2a9aa14ba88d632f60ddfa6a8ceff233b989..50990f69be52fa01be63dbd7d62eab4502394852 100644 (file)
@@ -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