rpms/createrepo/devel empty-pkgid-raise.patch, NONE, 1.1 createrepo.spec, 1.41, 1.42
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Fri Feb 22 15:59:30 UTC 2008
Author: skvidal
Update of /cvs/extras/rpms/createrepo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28884
Modified Files:
createrepo.spec
Added Files:
empty-pkgid-raise.patch
Log Message:
fix raise issue
empty-pkgid-raise.patch:
--- NEW FILE empty-pkgid-raise.patch ---
--- createrepo/__init__.py~ 2008-02-22 10:52:24.000000000 -0500
+++ createrepo/__init__.py 2008-02-22 10:52:24.000000000 -0500
@@ -369,7 +369,7 @@
# and work down from there for the baseurl
if po.checksum in (None, ""):
- raise MDError, "No Package ID found for package %s, not going to add it" % e
+ raise MDError, "No Package ID found for package %s, not going to add it" % po
return po
Index: createrepo.spec
===================================================================
RCS file: /cvs/extras/rpms/createrepo/devel/createrepo.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- createrepo.spec 19 Feb 2008 21:50:46 -0000 1.41
+++ createrepo.spec 22 Feb 2008 15:58:55 -0000 1.42
@@ -3,11 +3,12 @@
Summary: Creates a common metadata repository
Name: createrepo
Version: 0.9.5
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
Group: System Environment/Base
Source: %{name}-%{version}.tar.gz
Patch0: ten-changelog-limit.patch
+Patch1: empty-pkgid-raise.patch
URL: http://linux.duke.edu/projects/metadata/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArchitectures: noarch
@@ -22,6 +23,7 @@
%prep
%setup -q
%patch0 -p0
+%patch1 -p0
%build
@@ -43,6 +45,9 @@
%{python_sitelib}/createrepo
%changelog
+* Fri Feb 22 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.5-2
+- patch for the mistake in the raise for an empty pkgid
+
* Tue Feb 19 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.5-1
- 0.9.5
- ten-changelog-limit patch by default in fedora
More information about the fedora-extras-commits
mailing list