diff --git a/base/systemd-config/centos/systemd-config.spec b/base/systemd-config/centos/systemd-config.spec index 5fd73ddd3..c33fa3b80 100644 --- a/base/systemd-config/centos/systemd-config.spec +++ b/base/systemd-config/centos/systemd-config.spec @@ -14,7 +14,7 @@ URL: unknown Source: %name-%version.tar.gz BuildArch: noarch -BuildRequires: systemd = 219-62.el7 +BuildRequires: systemd = 219-62.el7_6.5 Requires: systemd %define debug_package %{nil} diff --git a/base/systemd/centos/meta_patches/update-package-versioning-for-TIS-format.patch b/base/systemd/centos/meta_patches/update-package-versioning-for-TIS-format.patch index 76e89c68f..fcb7b6c37 100644 --- a/base/systemd/centos/meta_patches/update-package-versioning-for-TIS-format.patch +++ b/base/systemd/centos/meta_patches/update-package-versioning-for-TIS-format.patch @@ -15,8 +15,8 @@ index 6bdbb74..3b2aa7f 100644 Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 219 --Release: 62%{?dist} -+Release: 62.el7%{?_tis_dist}.%{tis_patch_ver} +-Release: 62%{?dist}.5 ++Release: 62.el7_6.5%{?_tis_dist}.%{tis_patch_ver} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: A System and Service Manager diff --git a/base/systemd/centos/patches/0703-fix-build-error-for-CentOS7.6.patch b/base/systemd/centos/patches/0703-fix-build-error-for-CentOS7.6.patch index 0683bd27f..3d9470fe7 100644 --- a/base/systemd/centos/patches/0703-fix-build-error-for-CentOS7.6.patch +++ b/base/systemd/centos/patches/0703-fix-build-error-for-CentOS7.6.patch @@ -1,6 +1,6 @@ -From 424bb6c3f56f6c445b7bd3d06150ab2993f1b611 Mon Sep 17 00:00:00 2001 +From bcfe2b0e50fed2a445f4e0dd43f33aee45d9ac5f Mon Sep 17 00:00:00 2001 From: Shuicheng Lin -Date: Tue, 8 Jan 2019 20:59:43 +0800 +Date: Tue, 2 Apr 2019 16:43:03 +0000 Subject: [PATCH] Fix compile failure due to deprecated value Issue occur after upgrade build tool chain. Fix it per tool chain's @@ -14,6 +14,7 @@ use MHD_HTTP_NOT_ACCEPTABLE [-Werror] " Signed-off-by: Shuicheng Lin +Signed-off-by: Mawrer Ramirez --- src/journal-remote/journal-gatewayd.c | 4 ++-- src/journal-remote/journal-remote.c | 4 ++-- @@ -42,19 +43,26 @@ index d1f0ce3..8364044 100644 diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c -index a455fb6..1d7df07 100644 +index e65daf6..9780ecb 100644 --- a/src/journal-remote/journal-remote.c +++ b/src/journal-remote/journal-remote.c -@@ -526,7 +526,7 @@ static int process_http_upload( +@@ -526,13 +526,13 @@ static int process_http_upload( log_warning("Failed to process data for connection %p", connection); - if (r == -E2BIG) + if (r == -ENOBUFS) return mhd_respondf(connection, - MHD_HTTP_REQUEST_ENTITY_TOO_LARGE, + MHD_HTTP_PAYLOAD_TOO_LARGE, "Entry is too large, maximum is %u bytes.\n", DATA_SIZE_MAX); - else -@@ -579,7 +579,7 @@ static int request_handler( + + else if (r == -E2BIG) + return mhd_respondf(connection, +- MHD_HTTP_REQUEST_ENTITY_TOO_LARGE, ++ MHD_HTTP_PAYLOAD_TOO_LARGE, + "Entry with more fields than the maximum of %u\n", + ENTRY_FIELD_COUNT_MAX); + +@@ -586,7 +586,7 @@ static int request_handler( *connection_cls); if (!streq(method, "POST")) @@ -64,5 +72,4 @@ index a455fb6..1d7df07 100644 if (!streq(url, "/upload")) -- -2.7.4 - +1.8.3.1 diff --git a/base/systemd/centos/srpm_path b/base/systemd/centos/srpm_path index bc2313e45..bb7c557b3 100644 --- a/base/systemd/centos/srpm_path +++ b/base/systemd/centos/srpm_path @@ -1 +1 @@ -mirror:Source/systemd-219-62.el7.src.rpm +mirror:Source/systemd-219-62.el7_6.5.src.rpm