- fix atexit traceback with failed syslog logger (#218214)
- split libpython into python-libs subpackage for multilib apps embedding python interpreters
This commit is contained in:
parent
87c8da2374
commit
5b28df5dc6
16
python-syslog-fail-noatexittb.patch
Normal file
16
python-syslog-fail-noatexittb.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- Python-2.4.4/Lib/logging/handlers.py.syslogexit 2006-12-05 11:41:12.000000000 -0500
|
||||
+++ Python-2.4.4/Lib/logging/handlers.py 2006-12-05 11:41:20.000000000 -0500
|
||||
@@ -586,11 +586,11 @@
|
||||
self.address = address
|
||||
self.facility = facility
|
||||
if type(address) == types.StringType:
|
||||
- self._connect_unixsocket(address)
|
||||
self.unixsocket = 1
|
||||
+ self._connect_unixsocket(address)
|
||||
else:
|
||||
- self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
self.unixsocket = 0
|
||||
+ self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
|
||||
self.formatter = None
|
||||
|
@ -340,9 +340,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/python%{pybasever}/*.egg-info
|
||||
%clean
|
||||
rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
%post -n libs -p /sbin/ldconfig
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun -n libs -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -f dynfiles
|
||||
|
Loading…
Reference in New Issue
Block a user