From 4aeebfa239188affbe69c0272c83a2a5e3e5da9d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sep 29 2020 07:06:39 +0000 Subject: debrand yum-3.4.3-168.el7 --- diff --git a/SOURCES/yum.conf.centos b/SOURCES/yum.conf.centos new file mode 100644 index 0000000..367126f --- /dev/null +++ b/SOURCES/yum.conf.centos @@ -0,0 +1,26 @@ +[main] +cachedir=/var/cache/yum/$basearch/$releasever +keepcache=0 +debuglevel=2 +logfile=/var/log/yum.log +exactarch=1 +obsoletes=1 +gpgcheck=1 +plugins=1 +installonly_limit=5 +bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum +distroverpkg=centos-release + + +# This is the default, if you make this bigger yum won't see if the metadata +# is newer on the remote and so you'll "gain" the bandwidth of not having to +# download the new metadata and "pay" for it by yum not having correct +# information. +# It is esp. important, to have correct metadata, for distributions like +# Fedora which don't keep old packages around. If you don't like this checking +# interupting your command line usage, it's much better to have something +# manually check the metadata once an hour (yum-updatesd will do this). +# metadata_expire=90m + +# PUT YOUR REPOS HERE OR IN separate files named file.repo +# in /etc/yum.repos.d diff --git a/SPECS/yum.spec b/SPECS/yum.spec index 21531f6..c1e2ffd 100644 --- a/SPECS/yum.spec +++ b/SPECS/yum.spec @@ -36,7 +36,7 @@ Release: 168%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz -Source1: yum.conf.fedora +Source1: yum.conf.centos Source2: yum-updatesd.conf.fedora Patch1: yum-distro-configs.patch Patch5: geode-arch.patch @@ -206,6 +206,7 @@ BuildRequires: pygpgme # End of CheckRequires Conflicts: pirut < 1.1.4 Requires: python >= 2.4 +Requires: yum-plugin-fastestmirror Requires: rpm-python, rpm >= 0:4.11.3-22 Requires: python-iniparse Requires: python-sqlite @@ -690,6 +691,13 @@ exit 0 %endif %changelog +* Tue Sep 29 2020 CentOS Sources - 3.4.3-168.el7.centos +- CentOS yum config +- use the CentOS bug tracker url +- retain installonly limit of 5 +- ensure distrover is always from centos-release +- Make yum require yum-plugin-fastestmirror + * Thu Apr 16 2020 Pavla Kratochvilova - 3.4.3-168 - Fix typo sig_typ -> sig_type - Resolves: bug#1778763