rpms/yum-utils/devel yumdownloader-import-os.patch, NONE, 1.1 yum-utils.spec, 1.57, 1.58

James Antill james at fedoraproject.org
Mon Mar 2 21:40:31 UTC 2009


Author: james

Update of /cvs/pkgs/rpms/yum-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16196

Modified Files:
	yum-utils.spec 
Added Files:
	yumdownloader-import-os.patch 
Log Message:
* Mon Mar 2 2009 James Antill <james at fedoraproject.org>
- fix yumdownloader for koji


yumdownloader-import-os.patch:

--- NEW FILE yumdownloader-import-os.patch ---
commit c080e7050972d635ce0a8f293145422aec475d7b
Author: James Antill <james at and.org>
Date:   Mon Mar 2 16:34:18 2009 -0500

    Fix yumdownload to import os

diff --git a/yumdownloader.py b/yumdownloader.py
index e5e9c94..ed7f11a 100755
--- a/yumdownloader.py
+++ b/yumdownloader.py
@@ -15,6 +15,7 @@
 
 import sys
 sys.path.insert(0,'/usr/share/yum-cli')
+import os
 
 import yum
 from yum.misc import getCacheDir, setup_locale


Index: yum-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yum-utils/devel/yum-utils.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- yum-utils.spec	2 Mar 2009 10:32:13 -0000	1.57
+++ yum-utils.spec	2 Mar 2009 21:40:01 -0000	1.58
@@ -1,10 +1,11 @@
 Summary: Utilities based around the yum package manager
 Name: yum-utils
 Version: 1.1.20
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Development/Tools
 Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz
+Patch0: yumdownloader-import-os.patch
 URL: http://yum.baseurl.org/download/yum-utils/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
@@ -353,6 +354,8 @@
 %prep
 %setup -q
 
+%patch0 -p1
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -591,6 +594,9 @@
 
 
 %changelog
+* Mon Mar 2 2009 James Antill <james at fedoraproject.org>
+- fix yumdownloader for koji
+
 * Mon Mar 2 2009 Tim Lauridsen <timlau at fedoraproject.org>
 - set yum require to 3.2.21 (the 3.2.21 in rawhide is patched to yum head, so it matches the need yum 3.2.22 code)
 - Added versioned yum-<pluginname> to make rpm/yum happy.




More information about the fedora-extras-commits mailing list