[yum-cvs] 5 commits - etc/yum.conf Makefile yum/__init__.py yum/packages.py yum.spec

Seth Vidal skvidal at linux.duke.edu
Wed Aug 22 19:31:16 UTC 2007


 Makefile        |    1 +
 etc/yum.conf    |    8 --------
 yum.spec        |    4 ++--
 yum/__init__.py |    2 +-
 yum/packages.py |    1 +
 5 files changed, 5 insertions(+), 11 deletions(-)

New commits:
commit 64eb56cc63ccf4587430a7ce4d7f150c9b8f2261
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Aug 22 15:13:22 2007 -0400

    make sure yum local packages have an 'id' attribute

diff --git a/yum/packages.py b/yum/packages.py
index 553ad71..d11816e 100644
--- a/yum/packages.py
+++ b/yum/packages.py
@@ -775,6 +775,7 @@ class YumLocalPackage(YumHeaderPackage):
         
         fakerepo = FakeRepository(filename)
         YumHeaderPackage.__init__(self, fakerepo, hdr)
+        self.id = self.pkgid
         
     def localPkg(self):
         return self.localpath
commit d21f234004086262e065c2774e39ac094a431d79
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Aug 22 13:02:11 2007 -0400

    get rid of ridiculous old repos in yum.conf

diff --git a/etc/yum.conf b/etc/yum.conf
index 1a881de..4e3d369 100644
--- a/etc/yum.conf
+++ b/etc/yum.conf
@@ -9,13 +9,5 @@ obsoletes=1
 
 # PUT YOUR REPOS HERE OR IN separate files named file.repo
 # in /etc/yum/repos.d
-#[base]
-#name=Red Hat Linux $releasever - $basearch - Base
-#baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/
-
-
-#[updates]
-#name=Red Hat Linux $releasever - Updates
-#baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/
 
 
commit fc612998f13a649fd265932bf7f2508698d9f56c
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Aug 22 13:00:28 2007 -0400

    get rid of no-longer-sensible python-elemmenttee dep

diff --git a/yum.spec b/yum.spec
index 3cca6df..00eb965 100644
--- a/yum.spec
+++ b/yum.spec
@@ -14,7 +14,6 @@ Requires: python >= 2.4
 Requires: rpm-python, rpm >= 0:4.4.2
 Requires: python-sqlite
 Requires: urlgrabber
-Requires: python-elementtree
 Requires: yum-metadata-parser >= 1.1.0
 
 Prereq: /sbin/chkconfig, /sbin/service, coreutils
commit c8c5aca308175aeb23b2bac81b7c28ffc88d8d73
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Aug 22 02:11:30 2007 -0400

    mark as 3.2.3 for tests
    add persistent dir to spec file

diff --git a/yum.spec b/yum.spec
index aa8a6af..3cca6df 100644
--- a/yum.spec
+++ b/yum.spec
@@ -1,6 +1,6 @@
 Summary: RPM installer/updater
 Name: yum
-Version: 3.2.2
+Version: 3.2.3
 Release: 1
 License: GPL
 Group: System Environment/Base
@@ -79,6 +79,7 @@ exit 0
 /usr/lib/python?.?/site-packages/yum
 /usr/lib/python?.?/site-packages/rpmUtils
 %dir /var/cache/yum
+%dir /var/lib/yum
 %{_mandir}/man*/yum.*
 %{_mandir}/man*/yum-shell*
 
diff --git a/yum/__init__.py b/yum/__init__.py
index 377fd0f..d1b6b1e 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -53,7 +53,7 @@ from packages import parsePackages, YumAvailablePackage, YumLocalPackage, YumIns
 from constants import *
 from yum.rpmtrans import RPMTransaction,SimpleCliCallBack
 
-__version__ = '3.2.2'
+__version__ = '3.2.3'
 
 class YumBase(depsolve.Depsolve):
     """This is a primary structure and base class. It houses the objects and
commit 395fa8f74e538c7caba1e11aaeaefae4b83ae5a4
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Aug 22 02:10:53 2007 -0400

    add persistent yum dir to make install

diff --git a/Makefile b/Makefile
index 9df0111..6735547 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ install:
 	install -m 755 bin/yum-updatesd.py $(DESTDIR)/usr/sbin/yum-updatesd
 
 	mkdir -p $(DESTDIR)/var/cache/yum
+	mkdir -p $(DESTDIR)/var/lib/yum	
 
 	for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
 



More information about the Yum-cvs-commits mailing list