Commit 51092995 authored by James Antill's avatar James Antill

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

parent 19196969
......@@ -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
......
......@@ -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 <timlau@fedoraproject.org>
- mark as 1.1.15
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment