File pretend-to-be-1.2.5.patch of Package flatpak.14328

Index: flatpak-1.2.3/common/flatpak-utils.c
===================================================================
--- flatpak-1.2.3.orig/common/flatpak-utils.c
+++ flatpak-1.2.3/common/flatpak-utils.c
@@ -5956,7 +5956,7 @@ flatpak_check_required_version (const ch
           /* If flatpak is in the same major.minor series as the requirement, do a micro check */
           if (required_major == PACKAGE_MAJOR_VERSION && required_minor == PACKAGE_MINOR_VERSION)
             {
-              if (required_micro <= PACKAGE_MICRO_VERSION)
+              if (required_micro <= 5)
                 return TRUE;
               else
                 return flatpak_fail_error (error, FLATPAK_ERROR_NEED_NEW_FLATPAK,
openSUSE Build Service is sponsored by