--- /dev/null
+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)
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
%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