rpms/yum-utils/devel yum-downloader-archlist.patch, NONE, 1.1 yum-utils.spec, 1.29, 1.30
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Thu Mar 6 20:37:31 UTC 2008
- Previous message (by thread): rpms/genromfs/devel genromfs.spec,1.20,1.21
- Next message (by thread): rpms/python-sqlobject/devel python-sqlobject-0.9.4-setup.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 python-sqlobject.spec, 1.16, 1.17 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: skvidal
Update of /cvs/extras/rpms/yum-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32531
Modified Files:
yum-utils.spec
Added Files:
yum-downloader-archlist.patch
Log Message:
archlist patch for jkeating
yum-downloader-archlist.patch:
--- NEW FILE yum-downloader-archlist.patch ---
diff --git a/yumdownloader.py b/yumdownloader.py
index ebfed81..5252ad4 100755
--- a/yumdownloader.py
+++ b/yumdownloader.py
@@ -226,6 +226,8 @@ class YumDownloader(YumUtilBase):
# if '--source' is used the add src to the archlist
if opts.source:
archlist = rpmUtils.arch.getArchList() + ['src']
+ elif opts.archlist:
+ archlist = opts.archlist.split(',')
else:
archlist = rpmUtils.arch.getArchList()
self._getSacks(archlist=archlist)
@@ -250,7 +252,8 @@ class YumDownloader(YumUtilBase):
help='resolve dependencies and download required packages')
parser.add_option("--source", default=False, dest="source", action="store_true",
help='operate on source packages')
-
+ parser.add_option("--archlist",
+ help="only download packages of certain architecture(s)")
if __name__ == '__main__':
util = YumDownloader()
Index: yum-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/yum-utils/devel/yum-utils.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- yum-utils.spec 8 Feb 2008 21:49:24 -0000 1.29
+++ yum-utils.spec 6 Mar 2008 20:36:54 -0000 1.30
@@ -1,10 +1,11 @@
Summary: Utilities based around the yum package manager
Name: yum-utils
Version: 1.1.11
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: Development/Tools
Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
+Patch0: yum-downloader-archlist.patch
URL: http://linux.duke.edu/yum/download/yum-utils/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -228,6 +229,7 @@
%prep
%setup -q
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
- Previous message (by thread): rpms/genromfs/devel genromfs.spec,1.20,1.21
- Next message (by thread): rpms/python-sqlobject/devel python-sqlobject-0.9.4-setup.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 python-sqlobject.spec, 1.16, 1.17 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list