diff --git a/sources b/sources index 2b60d80..519c500 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c9bb92a87a01e39d2d928ac3ae12e10a yum-utils-1.1.17.tar.gz +ebd74b37c9d87ebcce43670f94ceedf4 yum-utils-1.1.19.tar.gz diff --git a/yum-utils.spec b/yum-utils.spec index 839cc34..4cb46ea 100644 --- a/yum-utils.spec +++ b/yum-utils.spec @@ -1,14 +1,14 @@ Summary: Utilities based around the yum package manager Name: yum-utils -Version: 1.1.17 +Version: 1.1.19 Release: 1%{?dist} 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/ +Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz +URL: http://yum.baseurl.org/download/yum-utils/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -Requires: python >= 2.4 , yum >= 3.2.19 +Requires: python >= 2.4 , yum >= 3.2.20 %description yum-utils is a collection of utilities and examples for the yum package @@ -271,6 +271,15 @@ 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-post-transaction-actions +Summary: Yum plugin to run arbitrary commands when certain pkgs are acted on +Group: System Environment/Base +Requires: yum >= 3.2.19 + +%description -n yum-post-transaction-actions +This plugin allows the user to run arbitrary actions immediately following a +transaction when specified packages are changed. + %package -n yum-NetworkManager-dispatcher Summary: Yum plugin to deal with changing networks with NetworkManager Group: System Environment/Base @@ -282,6 +291,15 @@ 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. +%package -n yum-rpm-warm-cache +Summary: Yum plugin to access the rpmdb files early to warm up access to the db +Group: System Environment/Base +Requires: yum >= 3.2.19 + +%description -n yum-rpm-warm-cache +This plugin reads the rpmdb files into the system cache before accessing the +rpmdb directly. In some cases this should speed up access to rpmdb information + %prep %setup -q @@ -301,7 +319,6 @@ plugins="\ kernel-module \ downloadonly \ allowdowngrade \ - skip-broken \ priorities \ refresh-updatesd \ merge-conf \ @@ -316,9 +333,12 @@ plugins="\ verify \ keys \ remove-with-leaves \ + post-transaction-actions \ + rpm-warm-cache \ " mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/usr/lib/yum-plugins/ +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/post-actions cd plugins for plug in $plugins; do @@ -346,6 +366,7 @@ fi %doc COPYING %doc plugins/README %{_bindir}/debuginfo-install +%{_bindir}/find-repos-of-install %{_bindir}/package-cleanup %{_bindir}/repoclosure %{_bindir}/repodiff @@ -362,9 +383,11 @@ fi %{_bindir}/yum-groups-manager %{_sbindir}/yum-complete-transaction %{_mandir}/man1/yum-utils.1.* +%{_mandir}/man1/debuginfo-install.1.* %{_mandir}/man1/package-cleanup.1.* %{_mandir}/man1/repo-rss.1.* %{_mandir}/man1/repoquery.1.* +%{_mandir}/man1/repodiff.1.* %{_mandir}/man1/reposync.1.* %{_mandir}/man1/yum-builddep.1.* %{_mandir}/man1/yum-debug-dump.1.* @@ -429,11 +452,6 @@ fi %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/allowdowngrade.conf /usr/lib/yum-plugins/allowdowngrade.* -%files -n yum-skip-broken -%defattr(-, root, root) -%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/skip-broken.conf -/usr/lib/yum-plugins/skip-broken.* - %files -n yum-priorities %defattr(-, root, root) %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/priorities.conf @@ -514,7 +532,36 @@ fi /usr/lib/yum-plugins/remove-with-leaves.* %config(noreplace) %{_sysconfdir}/yum/pluginconf.d/remove-with-leaves.conf +%files -n yum-post-transaction-actions +%defattr(-, root, root) +/usr/lib/yum-plugins/post-transaction-actions.* +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/post-transaction-actions.conf +%doc plugins/post-transaction-actions/sample.action +# Default *.action file dropping dir. +%dir %{_sysconfdir}/yum/post-actions + +%files -n yum-rpm-warm-cache +%defattr(-, root, root) +/usr/lib/yum-plugins/rpm-warm-cache.* +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/rpm-warm-cache.conf + + %changelog +* Wed Dec 17 2008 Tim Lauridsen +- mark as 1.1.19 + +* Wed Dec 10 2008 Seth Vidal +- add find-repos-of-install from James' stash of misc stuff + +* Wed Oct 29 2008 Tim Lauridsen +- mark as 1.1.18 + +* Mon Oct 27 2008 Seth Vidal +- add rpm-warm-cache plugin + +* Fri Sep 19 2008 Tim Lauridsen +- removed skip-broken plugin + * Wed Sep 17 2008 Tim Lauridsen - mark as 1.1.17 @@ -532,7 +579,7 @@ fi - add verifytree * Wed May 21 2008 Tim Lauridsen - Make yum-fastestmirror %%files handle the fastestmirror-asyncore.py file + 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