[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/createrepo/devel createrepo-0.4.8-dbversion.patch, 1.1, 1.2 createrepo.spec, 1.27, 1.28



Author: katzj

Update of /cvs/pkgs/rpms/createrepo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4285

Modified Files:
	createrepo-0.4.8-dbversion.patch createrepo.spec 
Log Message:
* Tue May 15 2007 Jeremy Katz <katzj redhat com> - 0.4.8-4
- fix the last patch


createrepo-0.4.8-dbversion.patch:

Index: createrepo-0.4.8-dbversion.patch
===================================================================
RCS file: /cvs/pkgs/rpms/createrepo/devel/createrepo-0.4.8-dbversion.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- createrepo-0.4.8-dbversion.patch	15 May 2007 17:17:52 -0000	1.1
+++ createrepo-0.4.8-dbversion.patch	15 May 2007 17:34:30 -0000	1.2
@@ -5,9 +5,9 @@
      
      if cmds['database']:
 -        dbversion = '9'
-+        if sqlitecachec.hasattr(DBVERSION):
++        try:
 +            dbversion = str(sqlitecachec.DBVERSION)
-+        else:
++        except AttributeError:
 +            dbversion = '9'
          rp = sqlitecachec.RepodataParserSqlite(repopath, repoid, None)
  


Index: createrepo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/createrepo/devel/createrepo.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- createrepo.spec	15 May 2007 17:17:52 -0000	1.27
+++ createrepo.spec	15 May 2007 17:34:30 -0000	1.28
@@ -1,7 +1,7 @@
 Summary: Creates a common metadata repository
 Name: createrepo
 Version: 0.4.8
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPL
 Group: System Environment/Base
 Source: %{name}-%{version}.tar.gz
@@ -40,6 +40,9 @@
 %{_mandir}/*/*
 
 %changelog
+* Tue May 15 2007 Jeremy Katz <katzj redhat com> - 0.4.8-4
+- fix the last patch
+
 * Tue May 15 2007 Jeremy Katz <katzj redhat com> - 0.4.8-3
 - use dbversion given by yum-metadata-parser instead of hardcoded 
   value (#239938)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]