Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2013-09-03 22:03:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycurl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycurl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes      
2013-04-05 17:05:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2013-09-03 22:03:55.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Aug 30 18:07:30 UTC 2013 - [email protected]
+
+- remove runtime curl version check and __DATE__ __TIME__ usage 
+  (pycurl-no-runtime-curlvercheck.patch)
+
+-------------------------------------------------------------------

New:
----
  pycurl-no-runtime-curlvercheck.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pycurl.spec ++++++
--- /var/tmp/diff_new_pack.Nw1KKc/_old  2013-09-03 22:03:56.000000000 +0200
+++ /var/tmp/diff_new_pack.Nw1KKc/_new  2013-09-03 22:03:56.000000000 +0200
@@ -25,6 +25,7 @@
 Group:          Development/Languages/Python
 Source:         http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
 Patch0:         pycurl-7.18.1-nostaticlibs.patch
+Patch1:         pycurl-no-runtime-curlvercheck.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
@@ -52,7 +53,7 @@
 %prep
 %setup -q -n pycurl-%{version}
 %patch0
-
+%patch1 -p1
 %build
 CFLAGS="%{optflags}" python setup.py build
 

++++++ pycurl-no-runtime-curlvercheck.patch ++++++
--- pycurl-7.19.0.orig/src/pycurl.c
+++ pycurl-7.19.0/src/pycurl.c
@@ -3450,7 +3450,7 @@ initpycurl(void)
 
     /* Add version strings to the module */
     insstr(d, "version", curl_version());
-    insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
+    //insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
     insint(d, "COMPILE_PY_VERSION_HEX", PY_VERSION_HEX);
     insint(d, "COMPILE_LIBCURL_VERSION_NUM", LIBCURL_VERSION_NUM);
 
@@ -3883,6 +3883,7 @@ initpycurl(void)
     insint_s(d, "LOCK_DATA_COOKIE", CURL_LOCK_DATA_COOKIE);
     insint_s(d, "LOCK_DATA_DNS", CURL_LOCK_DATA_DNS);
 
+#if 0
     /* Check the version, as this has caused nasty problems in
      * some cases. */
     vi = curl_version_info(CURLVERSION_NOW);
@@ -3894,6 +3895,7 @@ initpycurl(void)
         Py_FatalError("pycurl: libcurl link-time version is older than 
compile-time version");
         assert(0);
     }
+#endif
 
     /* Initialize callback locks if ssl is enabled */
 #if defined(PYCURL_NEED_SSL_TSL)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to