# vzyum: stripped-down patched yum packaged for OpenVZ # # Changes: # * Docs, cron scripts, configs, yum-arch removed. # * Option --vps added. # * Installed to /usr/share/vzyum %define _unpackaged_files_terminate_build 0%{nil} %define __find_provides %{nil} %define __prefix /usr/share/vzyum Summary: RPM installer/updater used by OpenVZ template tools Name: vzyum Version: 2.4.0 Release: 11 License: GPL Group: System Environment/Base Source0: http://linux.duke.edu/projects/yum/download/2.4/yum-%{version}.tar.gz URL: http://linux.duke.edu/yum/ BuildArchitectures: noarch BuildRequires: python BuildRequires: gettext Obsoletes: yum-phoebe Requires: python, libxml2-python Requires: python-sqlite Requires: urlgrabber # cElement tree is provided by either python-elementtree (as in FC4) # or python-celementtree (as in dag/rpmforge), so we can not give # exact package name here, instead depending on cElementTree.so. Requires: cElementTree.so Prereq: /sbin/chkconfig, /sbin/service, coreutils BuildRoot: %{_tmppath}/%{name}-root Patch0: yum-2.4.0-vps.swsoft.patch Patch1: yum-2.4.0-altpath.swsoft.patch Patch2: yum-2.4.0-pluginpath.swsoft.patch %description Yum is a utility that can check for and automatically download and install updated RPM packages. Dependencies are obtained and downloaded automatically prompting the user as necessary. %prep %setup -q -n yum-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %build make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/%{__prefix}/etc/pluginconf.d mkdir -p $RPM_BUILD_ROOT/%{__prefix}/plugins %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %{__prefix}/yum-cli/* %{__prefix}/bin/yum %{__prefix}/lib/ %{__prefix}/etc/pluginconf.d %{__prefix}/plugins %changelog * Mon Oct 31 2005 Serguei Krasnov - 2.4.0-11 - rpm-python requirements removed * Fri Oct 21 2005 Serguei Krasnov - 2.4.0-8 - rpm requirements removed * Tue Oct 18 2005 Serguei Krasnov - 2.4.0-7 - installroot does not added into cachedir & logfile without vpsid too * Fri Oct 14 2005 Serguei Krasnov - 2.4.0-6.swsoft - cElementTree.so requirements fixed * Mon Sep 19 2005 Serguei Krasnov - 2.4.0-5 - installroot does not added into cachedir & logfile with vps option * Mon Aug 29 2005 Kir Kolyshkin - 2.4.0-2 - put libs to less deeper place; add it to yum path * Wed Aug 24 2005 Kir Kolyshkin - 2.4.0-1 - stripped down and patched for openvz * Tue Aug 16 2005 Jeremy Katz - 2.4.0-0.fc4 - update to 2.4.0 * Tue Aug 2 2005 Jeremy Katz - 2.3.4-0.fc4 - update to 2.3.4 * Wed May 25 2005 Paul Nasrat - 2.3.2-7 - Drop erase reversal patch * Tue May 24 2005 Paul Nasrat - 2.3.2-6 - Erase/remove reversing for yum cli (#158577) * Tue May 24 2005 Jeremy Katz - 2.3.2-5 - allow multiple packages _providing_ kernel-devel (or any installonlypkgs) to be installed (#155988) * Mon May 23 2005 Jeremy Katz - 2.3.2-4 - fix traceback on out of disk space error * Fri May 20 2005 Jeremy Katz - 2.3.2-3 - add fixes from Seth for the shell to run depsolve and to clean up output somewhat (#158267) * Thu May 5 2005 Jeremy Katz - 2.3.2-2 - handle ppc64/sparc64 "correctly" * Mon Apr 4 2005 Jeremy Katz - 2.3.2-1 - update to 2.3.2, now requires python-elementtree for xml parsing * Tue Mar 15 2005 Jeremy Katz - 2.3.1-3 - add patch from gijs for sqlite changes * Mon Mar 14 2005 Florian La Roche - python-sqlite3 -> python-sqlite * Mon Mar 7 2005 Jeremy Katz - 2.3.1-1 - update to 2.3.1 - urlgrabber is split out into its own package now - require python-sqlite3 * Tue Feb 22 2005 Jeremy Katz - 2.3.0-2 - fix the duplicate repos with the same id bug * Mon Feb 21 2005 Jeremy Katz - 2.3.0-1 - update to 2.3.0 * Tue Jan 25 2005 Jeremy Katz - 2.1.13-1 - update to 2.1.13 * Sat Jan 22 2005 Jeremy Katz - 2.1.12-2 - allow multiple kernel-devel packages to be installed * Wed Jan 12 2005 Florian La Roche - add small patch to fix dep reporting * Mon Nov 29 2004 Jeremy Katz - 2.1.12-1 - update to 2.1.12 - add hack from jbj to workaround python 2.4 urllib breakage (#138535) * Mon Nov 8 2004 Jeremy Katz - 2.1.11-4 - rebuild for python 2.4 * Sun Oct 31 2004 Bill Nottingham - 2.1.11-3 - fix multilib update patch to allow installing noarch (#135396, continued) * Fri Oct 29 2004 Jeremy Katz - 2.1.11-2 - add patch to fix multilib updates on ia32e (#135396) * Thu Oct 28 2004 Jeremy Katz - 2.1.11-1 - update to 2.1.11 - fix config file error handling - better handling of empty lines/comments in mirror lists - improve some error messages * Sun Oct 24 2004 Jeremy Katz - 2.1.10-3.1 - make the cron job executable (#136764) * Thu Oct 21 2004 Jeremy Katz - 2.1.10-3 - actually remove the repositories * Wed Oct 20 2004 Jeremy Katz - 2.1.10-2 - remove repositories from being explicitly listed in yum.conf, .repo files will be included in the fedora-release package * Tue Oct 19 2004 Jeremy Katz - 2.1.10-1 - update to 2.1.10 * updated man pages * make more resilient to broken groups file * fix urlgrabber failure callback (#136178) * Mon Oct 18 2004 Jeremy Katz - 2.1.9-1 - 2.1.9 includes the path fix * Mon Oct 18 2004 Jeremy Katz - 2.1.8-2 - fix path in /usr/bin/yum - turn on gpgchecking by default * Mon Oct 18 2004 Bill Nottingham - 2.1.8-1 - 2.1.8, fixes #135735, #135998, #135775 * Wed Oct 13 2004 Jeremy Katz - 2.1.7-2 - add yum-arch * Wed Oct 13 2004 Jeremy Katz - 2.1.7-1 - 2.1.7 - use mirror list by default * Wed Oct 6 2004 Bill Nottingham - 2.1.6-1 - 2.1.6 * Mon Oct 4 2004 Jeremy Katz - 2.1.5-1 - 2.1.5 - turn on obsoletes=1 by default in yum.conf * Wed Sep 29 2004 Bill Nottingham - 2.1.4-1 - 2.1.4 * Fri Sep 3 2004 Bill Nottingham - 2.1.3-1 - 2.1.3 * Thu Sep 2 2004 Jeremy Katz - 2.1.2-1 - 2.1.2 * Wed Sep 1 2004 Jeremy Katz - 2.1.1-1 - 2.1.1 * Tue Aug 31 2004 Jeremy Katz - 2.1.0-1 - update to 2.1.0 * Wed Jul 7 2004 Elliot Lee 2.0.7-3 - Back to rawhide * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue May 11 2004 Elliot Lee 2.0.7-1.1 - Update config again * Fri May 7 2004 Jeremy Katz 2.0.7-1 - update to 2.0.7 - change config to point to final FC2 locations * Fri Apr 16 2004 Jeremy Katz - 2.0.7-0.20040416 - new snap * Sat Apr 3 2004 Jeremy Katz 2.0.7-0.20040403 - new snap, should fix yum -e name.arch * Wed Mar 17 2004 Jeremy Katz 2.0.6-1 - update to 2.0.6 * Wed Mar 10 2004 Jeremy Katz 2.0.5.20040310-1 - update to today's snap * Wed Mar 3 2004 Jeremy Katz 2.0.5.20040303-1 - today's snap * Tue Mar 2 2004 Jeremy Katz - 2.0.5.20040229-1 - update again per seth's request * Thu Feb 26 2004 Florian La Roche - mv /etc/init.d -> /etc/rc.d/init.d * Tue Feb 24 2004 Jeremy Katz - 2.0.5.20040224-1 - newer * Mon Feb 23 2004 Jeremy Katz - 2.0.5.20040223-1 - update to current snapshot per skvidal's request - add retries=20 to yum.conf * Fri Feb 13 2004 Elliot Lee - rebuilt * Fri Jan 23 2004 Bill Nottingham 2.0.4.20040103-1 - update to current snapshot - fix config for FC2 test 1 * Tue Dec 23 2003 Jeff Johnson 2.0.4-5 - build yum daily snapshot for amd64 fix. * Wed Nov 12 2003 Bill Nottingham 2.0.4-4 - patch for excluding dirs in yum-arch from CVS * Thu Nov 6 2003 Jeremy Katz 2.0.4-3 - patch to work with python 2.3 from Seth * Wed Oct 29 2003 Elliot Lee 2.0.4-2 - Stick in a new yum.conf for FC1. * Mon Oct 20 2003 Florian La Roche - new upstream release 2.0.4 * Tue Sep 16 2003 Jeff Johnson 2.0.3-1 - update to 2.0.3 - drop yum-init patch, merged into 2.0.3. - change rpm version requirement to 4.1.1. * Thu Jul 24 2003 Florian La Roche - change init script to more current RHL style * Wed Jul 23 2003 Nalin Dahyabhai - require libxml2-python, because yum does * Thu Jul 17 2003 Jeff Johnson 2.0-1 - update to 2.0. * Thu May 22 2003 Jeff Johnson 1.98-0.20030522 - update to snapshot. * Mon May 12 2003 Jeff Johnson 1.98-0.20030512 - create.