James Antill wrote:
 Makefile       |    5 +++++
 yum-utils.spec |   15 +++++++++++++++
 2 files changed, 20 insertions(+)

New commits:
commit 51092995c6d647e1d88493a8d1fcd7c69b4e516e
Author: James Antill <[EMAIL PROTECTED]>
Date:   Thu Aug 7 14:44:24 2008 -0400

    Add yum-NetworkManager-dispatcher pkg, closes bug#437808

diff --git a/Makefile b/Makefile
index 80a5673..c52625a 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,9 @@ RELEASE=$(shell awk '/Release:/ { print $$2 }' ${PKGNAME}.spec)
 WEBHOST = login.dulug.duke.edu
 WEBPATH = /home/groups/yum/web/download/yum-utils/
+NMPROG=yum-NetworkManager-dispatcher
+NMPATH=/etc/NetworkManager/dispatcher.d
+
 clean:
        rm -f *.pyc *.pyo *~
        rm -f test/*~
@@ -24,6 +27,8 @@ install:
        done
for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
+       mkdir -p $(NMPATH)
+       install -m 755 $(NMPROG) $(NMPATH)
archive:
        @rm -rf ${PKGNAME}-${VERSION}.tar.gz
diff --git a/yum-utils.spec b/yum-utils.spec
index 0219a6f..6ebde54 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -261,6 +261,17 @@ Requires: yum >= 3.2.8
 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-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
@@ -481,6 +492,10 @@ fi
 %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/*
+
 %changelog
 * Thu Aug 7 2008 Tim Lauridsen <[EMAIL PROTECTED]>
 - mark as 1.1.15
_______________________________________________
https://lists.dulug.duke.edu/mailman/listinfo/yum-cvs-commits

This commit break the build of yum-utils.
look like the 'yum-NetworkManager-dispatcher' file is missing.

Please try to run 'make test-release' to see if everything works after adding new stuff to yum-util.spec.

Tim


_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to