From aa998cc82b38b7292cc1809f355c3b83c7fc9bba Mon Sep 17 00:00:00 2001 From: Tim Lauridsen Date: Sep 18 2008 07:32:13 +0000 Subject: Release 1.1.17-1 --- diff --git a/fastestmirror.patch b/fastestmirror.patch deleted file mode 100644 index 4ec036d..0000000 --- a/fastestmirror.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/plugins/fastestmirror/fastestmirror.py b/plugins/fastestmirror/fastestmirror.py -index dc4df92..add870a 100644 ---- a/plugins/fastestmirror/fastestmirror.py -+++ b/plugins/fastestmirror/fastestmirror.py -@@ -130,7 +130,7 @@ def postreposetup_hook(conduit): - """ - global loadcache, exclude - opts, commands = conduit.getCmdLine() -- if opts.cacheonly: -+ if hasattr(opts, 'cacheonly') and opts.cacheonly: - return - if loadcache: - conduit.info(2, "Loading mirror speeds from cached hostfile") - diff --git a/repoquery-unbreak.patch b/repoquery-unbreak.patch deleted file mode 100644 index 13fbf6a..0000000 --- a/repoquery-unbreak.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Seth Vidal -Date: Thu, 28 Aug 2008 04:25:47 +0000 (-0400) -Subject: add a parens to unbreak reposync -X-Git-Url: http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=commitdiff_plain;h=6b7a864e118df20c151c6d1d63398171e49f1fdb - -add a parens to unbreak reposync ---- - -diff --git a/reposync.py b/reposync.py -index 339a6ca..82cf4f0 100755 ---- a/reposync.py -+++ b/reposync.py -@@ -267,7 +267,7 @@ def main(): - try: - path = repo.getPackage(pkg) - except yum.Errors.RepoError, e: -- my.logger.error("Could not retrieve package %s. Error was %s" % (pkg, str(e)) -+ my.logger.error("Could not retrieve package %s. Error was %s" % (pkg, str(e))) - continue - - if opts.gpgcheck: diff --git a/sources b/sources index cd7a502..2b60d80 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1c1d9df0914f7f945ab2a561d16e62de yum-utils-1.1.16.tar.gz +c9bb92a87a01e39d2d928ac3ae12e10a yum-utils-1.1.17.tar.gz diff --git a/yum-utils.spec b/yum-utils.spec index b6be79e..839cc34 100644 --- a/yum-utils.spec +++ b/yum-utils.spec @@ -1,11 +1,10 @@ Summary: Utilities based around the yum package manager Name: yum-utils -Version: 1.1.16 -Release: 2%{?dist} +Version: 1.1.17 +Release: 1%{?dist} License: GPLv2+ Group: Development/Tools Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz -Patch0: repoquery-unbreak.patch URL: http://linux.duke.edu/yum/download/yum-utils/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -262,6 +261,16 @@ Requires: yum >= 3.2.19 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 @@ -275,7 +284,6 @@ a lot) yum will recheck it's cached data a lot. %prep %setup -q -%patch0 -p1 %install rm -rf $RPM_BUILD_ROOT @@ -307,6 +315,7 @@ plugins="\ tmprepo \ verify \ keys \ + remove-with-leaves \ " mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/usr/lib/yum-plugins/ @@ -500,9 +509,18 @@ fi %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 10 2008 Tim Lauridsen -- Added patch to unbreak repoquery +* 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