[yum-commits] Makefile yum-utils.spec
skvidal at osuosl.org
skvidal at osuosl.org
Thu Oct 23 20:02:23 UTC 2008
Makefile | 4 ++--
yum-utils.spec | 21 +++++++++++++++++++--
2 files changed, 21 insertions(+), 4 deletions(-)
New commits:
commit 7a434962ab6e897301159ec71ae29ce5aaa7ffd7
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Thu Oct 23 16:00:38 2008 -0400
- change urls
- add post-transaction-actions to the spec file
diff --git a/Makefile b/Makefile
index 3a56217..1034e17 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ VERSION=$(shell awk '/Version:/ { print $$2 }' ${PKGNAME}.spec)
RELEASE=$(shell awk -F%: '/Release:/ { print $$2 }' ${PKGNAME}.spec ')
SRPM_RELEASE=$(shell awk '/Release:/ { split($$2,a,"%"); print a[1] }' ${PKGNAME}.spec )
SRPM_FILE = ${PKGNAME}-${VERSION}-${SRPM_RELEASE}.src.rpm
-WEBHOST = login.dulug.duke.edu
-WEBPATH = /home/groups/yum/web/download/yum-utils/
+WEBHOST = yum.baseurl.org
+WEBPATH = /srv/projects/yum/web/download/yum-utils/
NMPROG=yum-NetworkManager-dispatcher
NMPATH=$(DESTDIR)/etc/NetworkManager/dispatcher.d
diff --git a/yum-utils.spec b/yum-utils.spec
index 4781cb9..04f8e55 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -4,8 +4,8 @@ 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
-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.20
@@ -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
@@ -315,6 +324,7 @@ plugins="\
verify \
keys \
remove-with-leaves \
+ post-transaction-actions \
"
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/ $RPM_BUILD_ROOT/usr/lib/yum-plugins/
@@ -510,6 +520,13 @@ 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
+
+
%changelog
* Fri Sep 19 2008 Tim Lauridsen <timlau at fedoraproject.org>
- removed skip-broken plugin
More information about the Yum-commits
mailing list