diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 3564d2f..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: yum-utils -# $Id$ -NAME := yum-utils -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/sources b/sources index 0c90232..2b60d80 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a20b13012bf999bf392c268aac77814d yum-utils-1.1.8.tar.gz +c9bb92a87a01e39d2d928ac3ae12e10a yum-utils-1.1.17.tar.gz diff --git a/yum-utils.spec b/yum-utils.spec index 18efd64..839cc34 100644 --- a/yum-utils.spec +++ b/yum-utils.spec @@ -1,19 +1,22 @@ Summary: Utilities based around the yum package manager Name: yum-utils -Version: 1.1.8 +Version: 1.1.17 Release: 1%{?dist} -License: GPL +License: GPLv2+ Group: Development/Tools Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz URL: http://linux.duke.edu/yum/download/yum-utils/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -Requires: python >= 2.4 , yum >= 3.1.1 +Requires: python >= 2.4 , yum >= 3.2.19 %description yum-utils is a collection of utilities and examples for the yum package -manager. It includes utilities by different authors that make yum easier and -more powerful to use. +manager. It includes utilities by different authors that make yum easier and +more powerful to use. These tools include: debuginfo-install, package-cleanup, +repoclosure, repodiff, repo-graph, repomanage, repoquery, repo-rss, reposync, +repotrack, verifytree, yum-builddep, yum-complete-transaction, yumdownloader, +yum-debug-dump and yum-groups-manager. %package -n yum-updateonboot Summary: Run yum update on system boot @@ -31,9 +34,10 @@ waiting until the next early morning cron job. Summary: Yum plugin for viewing package changelogs before/after updating Group: System Environment/Base Requires: yum >= 3.0 +Requires: python-dateutil %description -n yum-changelog -This plugin adds a command line option to allow viewing package changelog +This plugin adds a command line option to allow viewing package changelog deltas before or after updating packages. %package -n yum-fastestmirror @@ -51,8 +55,8 @@ Group: System Environment/Base Requires: yum >= 3.0 %description -n yum-fedorakmod -Plugin for Yum to handle installation of kmod-foo type of kernel modules, when new kernel versions -are installed. +Plugin for Yum to handle installation of kmod-foo type of kernel modules, +when new kernel versions are installed. kmod-foo kernel modules is described by the Fedora Extras packaging standards. %package -n yum-protectbase @@ -71,8 +75,10 @@ Group: System Environment/Base Requires: yum >= 3.0 %description -n yum-versionlock -This plugin allows certain packages specified in a file to be protected from being updated by -newer versions. +This plugin takes a set of name/versions for packages and excludes all other +versions of those packages (including optionally following obsoletes). This +allows you to protect packages from being updated by newer versions, +for example. %package -n yum-tsflags Summary: Yum plugin to add tsflags by a commandline option @@ -89,7 +95,7 @@ Group: System Environment/Base Requires: yum >= 3.0 %description -n yum-kernel-module -This plugin handle installation of kernel-module-foo type of kernel modules when new version of +This plugin handle installation of kernel-module-foo type of kernel modules when new version of kernels are installed. @@ -121,12 +127,12 @@ This plugin adds a --skip-broken to yum to make it possible to check packages for dependency problems and skip the one with problems. %package -n yum-priorities -Summary: plugin to give priorities to packages from different repos +Summary: plugin to give priorities to packages from different repos Group: System Environment/Base Requires: yum >= 3.0 %description -n yum-priorities -This plugin allows repositories to have different priorities. +This plugin allows repositories to have different priorities. Packages in a repository with a lower priority can't be overridden by packages from a repository with a higher priority even if repo has a later version. @@ -154,23 +160,23 @@ package. %package -n yum-security Summary: Yum plugin to enable security filters Group: System Environment/Base -Requires: yum >= 3.0.5 +Requires: yum >= 3.2.18 %description -n yum-security -This plugin adds ther options --security, --cve, --bz and --advisory flags +This plugin adds the options --security, --cve, --bz and --advisory flags to yum and the list-security and info-security commands. The options make it possible to limit list/upgrade of packages to specific security relevant ones. The commands give you the security information. %package -n yum-protect-packages -Summary: Yum plugin to prevents Yum from removing itself and other protected packages +Summary: Yum plugin to prevents Yum from removing itself and other protected packages Group: System Environment/Base Requires: yum >= 3.0 %description -n yum-protect-packages this plugin prevents Yum from removing itself and other protected packages. By default, yum is the only package protected, but by extension this -automatically protects everything on which yum depends (rpm, python, glibc, +automatically protects everything on which yum depends (rpm, python, glibc, and so on).Therefore, the plugin functions well even without compiling careful lists of all important packages. @@ -185,6 +191,96 @@ If you type 'yum install foo' on a x68_64 system, only 'foo-x.y.x86_46.rpm' is i If you want to install the foo-x.y.i386.rpm, you have to type 'yum install foo.i386'. The plugin only works with 'yum install'. +%package -n yum-upgrade-helper +Summary: Yum plugin to help upgrades to the next distribution version +Group: System Environment/Base +Requires: yum >= 3.0 + +%description -n yum-upgrade-helper +this plugin allows yum to erase specific packages on install/update based on an additional +metadata file in repositories. It is used to simplify distribution upgrade hangups. + +%package -n yum-aliases +Summary: Yum plugin to enable aliases filters +Group: System Environment/Base +Requires: yum >= 3.0.5 + +%description -n yum-aliases +This plugin adds the command alias, and parses the aliases config. file to +enable aliases. + +%package -n yum-list-data +Summary: Yum plugin to list aggregate package data +Group: System Environment/Base +Requires: yum >= 3.0.5 + +%description -n yum-list-data +This plugin adds the commands list- vendors, groups, packagers, licenses, +arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and +installed-sizes. + +%package -n yum-filter-data +Summary: Yum plugin to list filter based on package data +Group: System Environment/Base +Requires: yum >= 3.2.17 + +%description -n yum-filter-data +This plugin adds the options --filter- vendors, groups, packagers, licenses, +arches, committers, buildhosts, baseurls, package-sizes, archive-sizes and +installed-sizes. Note that each package must match at least one pattern/range in +each category, if any were specified. + +%package -n yum-tmprepo +Summary: Yum plugin to add temporary repositories +Group: System Environment/Base +Requires: yum >= 3.2.11 +Requires: createrepo + +%description -n yum-tmprepo +This plugin adds the option --tmprepo which takes a url to a .repo file +downloads it and enables it for a single run. This plugin tries to ensure +that temporary repositories are safe to use, by default, by not allowing +gpg checking to be disabled. + +%package -n yum-verify +Summary: Yum plugin to add verify command, and options +Group: System Environment/Base +Requires: yum >= 3.2.12 + +%description -n yum-verify +This plugin adds the commands verify, verify-all and verify-rpm. There are +also a couple of options. This command works like rpm -V, to verify your +installation. + +%package -n yum-keys +Summary: Yum plugin to deal with signing keys +Group: System Environment/Base +Requires: yum >= 3.2.19 + +%description -n yum-keys +This plugin adds the commands keys, keys-info, keys-data and keys-remove. They +allow you to query and remove signing keys. + +%package -n yum-remove-with-leaves +Summary: Yum plugin to remove dependencies which are no longer used because of a removal +Group: System Environment/Base +Requires: yum >= 3.2.19 + +%description -n yum-remove-with-leaves +This plugin removes any unused dependencies that were brought in by an install +but would not normally be removed. It helps to keep a system clean of unused +libraries and packages. + +%package -n yum-NetworkManager-dispatcher +Summary: Yum plugin to deal with changing networks with NetworkManager +Group: System Environment/Base +Requires: yum >= 3.2.17 + +%description -n yum-NetworkManager-dispatcher +This plugin forces yum to check it's cache if/when a new network connection +happens in NetworkManager. Note that currently there is no checking of +previous data, so if your WiFi keeps going up and down (or you suspend/resume +a lot) yum will recheck it's cached data a lot. %prep %setup -q @@ -195,9 +291,32 @@ make DESTDIR=$RPM_BUILD_ROOT install make -C updateonboot DESTDIR=$RPM_BUILD_ROOT install # Plugins to install -plugins="changelog fastestmirror fedorakmod protectbase versionlock tsflags kernel-module \ - downloadonly allowdowngrade skip-broken priorities refresh-updatesd merge-conf \ - security protect-packages basearchonly" +plugins="\ + changelog \ + fastestmirror \ + fedorakmod \ + protectbase \ + versionlock \ + tsflags \ + kernel-module \ + downloadonly \ + allowdowngrade \ + skip-broken \ + priorities \ + refresh-updatesd \ + merge-conf \ + security \ + protect-packages \ + basearchonly \ + upgrade-helper \ + aliases \ + list-data \ + filter-data \ + tmprepo \ + verify \ + keys \ + remove-with-leaves \ +" mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/usr/lib/yum-plugins/ @@ -206,6 +325,8 @@ for plug in $plugins; do install -m 644 $plug/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ install -m 644 $plug/*.py $RPM_BUILD_ROOT/usr/lib/yum-plugins/ done +install -m 644 aliases/aliases $RPM_BUILD_ROOT/%{_sysconfdir}/yum/aliases.conf +install -m 644 versionlock/versionlock.list $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ %clean rm -rf $RPM_BUILD_ROOT @@ -227,19 +348,28 @@ fi %{_bindir}/debuginfo-install %{_bindir}/package-cleanup %{_bindir}/repoclosure +%{_bindir}/repodiff %{_bindir}/repomanage %{_bindir}/repoquery %{_bindir}/repotrack %{_bindir}/reposync %{_bindir}/repo-graph %{_bindir}/repo-rss +%{_bindir}/verifytree %{_bindir}/yumdownloader %{_bindir}/yum-builddep +%{_bindir}/yum-debug-dump +%{_bindir}/yum-groups-manager +%{_sbindir}/yum-complete-transaction +%{_mandir}/man1/yum-utils.1.* %{_mandir}/man1/package-cleanup.1.* %{_mandir}/man1/repo-rss.1.* %{_mandir}/man1/repoquery.1.* %{_mandir}/man1/reposync.1.* %{_mandir}/man1/yum-builddep.1.* +%{_mandir}/man1/yum-debug-dump.1.* +%{_mandir}/man8/yum-complete-transaction.8.* +%{_mandir}/man1/yum-groups-manager.1.* %{_mandir}/man1/yumdownloader.1.* %files -n yum-updateonboot @@ -258,7 +388,7 @@ fi %files -n yum-fastestmirror %defattr(-, root, root) %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/fastestmirror.conf -/usr/lib/yum-plugins/fastestmirror.* +/usr/lib/yum-plugins/fastestmirror*.* %files -n yum-fedorakmod %defattr(-, root, root) @@ -274,7 +404,10 @@ fi %defattr(-, root, root) %doc plugins/versionlock/README %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/versionlock.conf +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/versionlock.list /usr/lib/yum-plugins/versionlock.* +%{_mandir}/man1/yum-versionlock.1.* +%{_mandir}/man5/yum-versionlock.conf.5.* %files -n yum-tsflags %defattr(-, root, root) @@ -332,8 +465,116 @@ fi %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/basearchonly.conf /usr/lib/yum-plugins/basearchonly.* +%files -n yum-upgrade-helper +%defattr(-, root, root) +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/upgrade-helper.conf +/usr/lib/yum-plugins/upgrade-helper.* + +%files -n yum-aliases +%defattr(-, root, root) +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/aliases.conf +%config(noreplace) %{_sysconfdir}/yum/aliases.conf +/usr/lib/yum-plugins/aliases.* +%{_mandir}/man1/yum-aliases.1.* + +%files -n yum-list-data +%defattr(-, root, root) +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/list-data.conf +/usr/lib/yum-plugins/list-data.* +%{_mandir}/man1/yum-list-data.1.* + +%files -n yum-filter-data +%defattr(-, root, root) +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/filter-data.conf +/usr/lib/yum-plugins/filter-data.* +%{_mandir}/man1/yum-filter-data.1.* + +%files -n yum-tmprepo +%defattr(-, root, root) +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/tmprepo.conf +/usr/lib/yum-plugins/tmprepo.* + +%files -n yum-verify +%defattr(-, root, root) +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/verify.conf +/usr/lib/yum-plugins/verify.* +%{_mandir}/man1/yum-verify.1.* + +%files -n yum-keys +%defattr(-, root, root) +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/keys.conf +/usr/lib/yum-plugins/keys.* + +%files -n yum-NetworkManager-dispatcher +%defattr(-, root, root) +/etc/NetworkManager/dispatcher.d/* + +%files -n yum-remove-with-leaves +%defattr(-, root, root) +/usr/lib/yum-plugins/remove-with-leaves.* +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/remove-with-leaves.conf %changelog +* Wed Sep 17 2008 Tim Lauridsen +- mark as 1.1.17 + +* Mon Sep 8 2008 Seth Vidal +- add yum-remove-with-leaves plugin + +* Wed Aug 27 2008 Tim Lauridsen +- mark as 1.1.16 +* Wed Aug 20 2008 James Antill +- add yum-groups-manager + +* Thu Aug 7 2008 Tim Lauridsen +- mark as 1.1.15 +* Wed May 21 2008 Tim Lauridsen +- add verifytree + +* Wed May 21 2008 Tim Lauridsen + Make yum-fastestmirror %%files handle the fastestmirror-asyncore.py file +* Wed May 21 2008 Tim Lauridsen +- mark as 1.1.14 +* Fri Apr 10 2008 James Antill +- Add keys plugin + +* Fri Mar 31 2008 James Antill +- Add yum-aliases man page + +* Fri Mar 21 2008 Tim Lauridsen +- mark as 1.1.13 +* Fri Mar 21 2008 Tim Lauridsen +- mark as 1.1.12 +* Tue Mar 18 2008 Shawn Starr +- Add yum-utils.1 manual page +- Rename yum-complete-transaction manual page to 8 +- Move yum-complete-transaction to /usr/sbin + +* Sat Mar 1 2008 James Antill +- Add verify plugin + +* Wed Feb 20 2008 James Antill +- Add empty versionlock file + +* Fri Feb 1 2008 James Antill +- Add filter-data plugin + +* Wed Jan 30 2008 Tim Lauridsen +- mark as 1.1.11 + +* Sun Jan 13 2008 Seth Vidal +- add repodiff + +* Thu Jan 3 2008 Tim Lauridsen +- mark as 1.1.10 + +* Thu Dec 12 2007 James Antill +- Add yum-aliases plugin + +* Fri Dec 7 2007 Tim Lauridsen +- mark as 1.1.9 +* Fri Oct 26 2007 Seth Vidal +- add upgrade-helper plugin * Wed Oct 17 2007 Tim Lauridsen - mark as 1.1.8 * Sun Sep 30 2007 James Bowes @@ -407,7 +648,7 @@ fi - mark it as 1.0.1 * Fri Oct 27 2006 Tim Lauridsen -- Added priorities plugin written by Daniel de Kok +- Added priorities plugin written by Daniel de Kok * Wed Oct 4 2006 Seth Vidal - mark it as 1.0