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 54de917..9714343 100644 --- a/SPECS/yum.spec +++ b/SPECS/yum.spec @@ -146,6 +146,9 @@ Patch258: BZ-1370134-yum-check-ignore-self-conflicts.patch Patch259: BZ-1352585-detect-installed-provide.patch Patch260: BZ-1397829-fix-reget-simple-md-fnames.patch +#CentOS Branding +Patch1000: centos-branding-yum.patch + URL: http://yum.baseurl.org/ BuildArchitectures: noarch BuildRequires: python @@ -375,6 +378,8 @@ Install this package if you want auto yum updates nightly via cron. %patch259 -p1 %patch260 -p1 +%patch1000 -p1 + # Do distro config. changes after everything else. %patch1 -p1