rpms/yum/devel yum.spec,1.161,1.162

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Fri Jul 20 19:41:02 UTC 2007


Author: skvidal

Update of /cvs/extras/rpms/yum/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27087

Modified Files:
	yum.spec 
Log Message:

- 3.2.2
- installonlyn removal



Index: yum.spec
===================================================================
RCS file: /cvs/extras/rpms/yum/devel/yum.spec,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- yum.spec	11 Jul 2007 11:46:45 -0000	1.161
+++ yum.spec	20 Jul 2007 19:40:29 -0000	1.162
@@ -2,17 +2,14 @@
 
 Summary: RPM installer/updater
 Name: yum
-Version: 3.2.1
-Release: 2%{?dist}
+Version: 3.2.2
+Release: 1%{?dist}
 License: GPL
 Group: System Environment/Base
 Source0: http://linux.duke.edu/projects/yum/download/3.2/%{name}-%{version}.tar.gz
 Source1: yum.conf.fedora
 Source2: yum-updatesd.conf.fedora
-
-Source99: plugin.conf
-# default plugins here
-Source100: installonlyn.py
+Patch0: installonlyn-enable.patch
 
 URL: http://linux.duke.edu/yum/
 BuildArch: noarch
@@ -47,6 +44,7 @@
 
 %prep
 %setup -q
+%patch -p0 -b.installonly
 
 %build
 make
@@ -58,12 +56,6 @@
 
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d $RPM_BUILD_ROOT/usr/lib/yum-plugins
 
-install -m 644 %{SOURCE100} $RPM_BUILD_ROOT/usr/lib/yum-plugins/installonlyn.py
-install -m 644 %{SOURCE99} $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/installonlyn.conf
-cat >> $RPM_BUILD_ROOT/%{_sysconfdir}/yum/pluginconf.d/installonlyn.conf << EOF
-# this sets the number of package versions which are kept
-tokeep=2
-EOF
 
 # install yum-updatesd
 install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/yum/yum-updatesd.conf
@@ -104,9 +96,7 @@
 %{_mandir}/man*/yum-shell*
 # plugin stuff
 %dir %{_sysconfdir}/yum/pluginconf.d 
-%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/*
 %dir /usr/lib/yum-plugins
-/usr/lib/yum-plugins/*
 
 %files updatesd
 %defattr(-, root, root, -)
@@ -118,6 +108,11 @@
 
 
 %changelog
+* Fri Jul 20 2007 Seth Vidal <skvidal at fedoraproject.org>
+- 3.2.2
+- disable unused installonlyn plugin
+- set installonly_limit to '2'
+
 * Tue Jul 10 2007 James Bowes <jbowes at redhat.com> - 3.2.1-2
 - defattr, buldarch, and macro suggestions from the merge review
 




More information about the scm-commits mailing list