diff --git a/python-syslog-fail-noatexittb.patch b/python-syslog-fail-noatexittb.patch new file mode 100644 index 0000000..ee0094b --- /dev/null +++ b/python-syslog-fail-noatexittb.patch @@ -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 + diff --git a/python.spec b/python.spec index 42ef151..dc244ef 100644 --- a/python.spec +++ b/python.spec @@ -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