rpms/yum/F-8 yum-tsts.patch,NONE,1.1 yum.spec,1.186,1.187

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Wed Nov 28 21:45:26 UTC 2007


Author: skvidal

Update of /cvs/extras/rpms/yum/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9331

Modified Files:
	yum.spec 
Added Files:
	yum-tsts.patch 
Log Message:
add patch for ts stall problem



yum-tsts.patch:

--- NEW FILE yum-tsts.patch ---
X-Git-Url: http://devel.linux.duke.edu/gitweb/?p=yum.git;a=blobdiff_plain;f=yum%2Frpmtrans.py;fp=yum%2Frpmtrans.py;h=05d7fbdca3c9266afb3bcb94ff8b4519b41d32e2;hp=a3cb20311e727dc1a1924397dc96f9fb67654ac1;hb=18c55f481ad1c5edcc70afaef41414c1b8963f7f;hpb=b6995eb88570766d50831965753e9d5cbf28ccf7

diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
index a3cb203..05d7fbd 100644
--- a/yum/rpmtrans.py
+++ b/yum/rpmtrans.py
@@ -165,7 +165,7 @@ class RPMTransaction:
                     fcntl.fcntl(self._readpipe.fileno(),
                                 fcntl.F_GETFL) | os.O_NONBLOCK)
         self._writepipe = os.fdopen(w, 'w')
-        self.base.ts.ts.scriptFd = self._writepipe.fileno()
+        self.base.ts.scriptFd = self._writepipe.fileno()
         rpm.setVerbosity(rpm.RPMLOG_INFO)
         rpm.setLogFile(self._writepipe)
 


Index: yum.spec
===================================================================
RCS file: /cvs/extras/rpms/yum/F-8/yum.spec,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -r1.186 -r1.187
--- yum.spec	12 Oct 2007 20:13:49 -0000	1.186
+++ yum.spec	28 Nov 2007 21:44:52 -0000	1.187
@@ -3,13 +3,14 @@
 Summary: RPM installer/updater
 Name: yum
 Version: 3.2.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 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
 Patch0: installonlyn-enable.patch
+Patch1: yum-tsts.patch
 
 URL: http://linux.duke.edu/yum/
 BuildArch: noarch
@@ -46,6 +47,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .installonly
+%patch1 -p1 -b .tsts
 
 %build
 make
@@ -91,6 +93,9 @@
 %dir /usr/lib/yum-plugins
 
 %changelog
+* Wed Nov 28 2007 Seth Vidal <skvidal at fedoraproject.org> - 3.2.7-2
+- add fix to keep open pipes from being a problem: 368271
+
 * Fri Oct 12 2007 Seth Vidal <skvidal at fedoraproject.org> - 3.2.7-1
 - 3.2.7
 - remove all merged patches




More information about the fedora-extras-commits mailing list