From 3dcc5402705a906521ddddce221ff5f428e6c011 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Nov 15 2016 15:24:43 +0000 Subject: manual branding changes to constants.py --- diff --git a/SOURCES/centos-branding-yum.patch b/SOURCES/centos-branding-yum.patch new file mode 100644 index 0000000..6cfdcbb --- /dev/null +++ b/SOURCES/centos-branding-yum.patch @@ -0,0 +1,28 @@ +diff -uNrp yum-3.4.3.orig/yum/constants.py yum-3.4.3/yum/constants.py +--- yum-3.4.3.orig/yum/constants.py 2015-12-03 09:06:24.365442687 -0600 ++++ yum-3.4.3/yum/constants.py 2015-12-03 09:17:09.268462350 -0600 +@@ -127,18 +127,18 @@ ERRORS_TO_KBASE_ARTICLES = { + + https://access.redhat.com/articles/1320623 + +-If above article doesn't help to resolve this issue please open a ticket with Red Hat Support. ++If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/ + """, + 403: """To address this issue please refer to the below knowledge base article + + https://access.redhat.com/solutions/69319 + +-If above article doesn't help to resolve this issue please open a ticket with Red Hat Support. ++If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/ + """, +- 60: """It was impossible to connect to the Red Hat servers. ++ 60: """It was impossible to connect to the CentOS servers. + This could mean a connectivity issue in your environment, such as the requirement to configure a proxy, + or a transparent proxy that tampers with TLS security, or an incorrect system clock. + Please collect information about the specific failure that occurs in your environment, +-using the instructions in: https://access.redhat.com/solutions/1527033 and open a ticket with Red Hat Support. ++using the instructions in: https://access.redhat.com/solutions/1527033 and create a bug on https://bugs.centos.org/ + """ +-} +\ No newline at end of file ++} diff --git a/SPECS/yum.spec b/SPECS/yum.spec index ce1263e..e4533ec 100644 --- a/SPECS/yum.spec +++ b/SPECS/yum.spec @@ -92,6 +92,8 @@ Patch164: BZ-1233152-pvm-api-lv_attr.patch Patch165: BZ-1244119-fssnapshot-automatic-percentage-manpage.patch Patch166: BZ-1259837-igroups-empty-lines.patch +Patch1000: centos-branding-yum.patch + # rhel-7.3 Patch200: BZ-1267234-groupinstall-fail-on-non-existent.patch Patch201: BZ-1274211-skip-missing-names.patch @@ -349,6 +351,8 @@ Install this package if you want auto yum updates nightly via cron. %patch237 -p1 %patch238 -p1 +%patch1000 -p1 + # Do distro config. changes after everything else. %patch1 -p1