LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File suse.patch of Package python-pycurl (Project home:bastianfriedrich)

diff -burNE pycurl-7.19.0_orig//setup.py pycurl-7.19.0/setup.py
--- pycurl-7.19.0_orig//setup.py	2008-09-09 19:40:34.000000000 +0200
+++ pycurl-7.19.0/setup.py	2010-03-17 10:02:37.000000000 +0100
@@ -97,8 +97,7 @@
         else:
             extra_compile_args.append(e)
     libs = split_quoted(
-        os.popen("'%s' --libs" % CURL_CONFIG).read()+\
-        os.popen("'%s' --static-libs" % CURL_CONFIG).read())
+        os.popen("'%s' --libs" % CURL_CONFIG).read())
     for e in libs:
         if e[:2] == "-l":
             libraries.append(e[2:])
@@ -151,7 +150,7 @@
     if sys.platform == "win32":
         datadir = os.path.join("doc", PACKAGE)
     else:
-        datadir = os.path.join("share", "doc", PACKAGE)
+        datadir = os.path.join("share", "doc", "packages", "python-pycurl")
     #
     files = ["ChangeLog", "COPYING", "COPYING2", "INSTALL", "README", "TODO",]
     if files: