[packages/yum: 6/7] disable history recording

glen glen at pld-linux.org
Sat Apr 27 22:20:26 CEST 2013


commit fa89d7c1a02b7f66442612af99c3caa6be6a7aa7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Apr 27 23:10:26 2013 +0300

    disable history recording
    
    it causes sqlite insert errors as our rpm packages have some missing
    fields (like packager) that yum assumes is always filled

 yum-config.patch | 3 ++-
 yum.spec         | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/yum.spec b/yum.spec
index 9275489..e0a162b 100644
--- a/yum.spec
+++ b/yum.spec
@@ -8,7 +8,7 @@ Summary:	RPM installer/updater
 Summary(pl.UTF-8):	Narzędzie do instalowania/uaktualniania pakietów RPM
 Name:		yum
 Version:	3.4.3
-Release:	5.6
+Release:	5.7
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz
diff --git a/yum-config.patch b/yum-config.patch
index 9c6d8fd..31fd0ce 100644
--- a/yum-config.patch
+++ b/yum-config.patch
@@ -1,6 +1,6 @@
 --- yum-3.2.25/etc/yum.conf~	2010-02-03 01:12:22.209166983 +0200
 +++ yum-3.2.25/etc/yum.conf	2010-01-17 23:43:43.968036823 +0200
-@@ -1,11 +1,24 @@
+@@ -1,11 +1,25 @@
  [main]
 -cachedir=/var/cache/yum
 -keepcache=1
@@ -11,6 +11,7 @@
  exactarch=1
 -obsoletes=0
 +obsoletes=0
++history_record=0
 +gpgcheck=0
 +plugins=1
 +installonly_limit=3
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yum.git/commitdiff/992b68e2dddf74dbedc8565653e5acc9c78c57bb



More information about the pld-cvs-commit mailing list