Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > bfa8590c06c7be7be1b8b6194b2564fb > files > 2

pywcs-1.6-1.fc13.src.rpm

diff -ur pywcs-1.9-4.4.4/defsetup.py pywcs-1.9-4.4.4.new/defsetup.py
--- pywcs-1.9-4.4.4/defsetup.py	2010-07-21 10:01:17.000000000 -0400
+++ pywcs-1.9-4.4.4.new/defsetup.py	2010-11-09 23:15:19.718739278 -0500
@@ -234,17 +234,16 @@
 
 PYWCS_EXTENSIONS = [
     Extension('pywcs._pywcs',
-              WCSFILES + PYWCS_SOURCES,
+              PYWCS_SOURCES,
               include_dirs =
               [numpy_include,
-               join(srcroot, WCSLIBC),
-               WCSLIBC,
+               '/usr/include/wcslib',
                join(srcroot, "src")
                ],
               define_macros=define_macros,
               undef_macros=undef_macros,
               extra_compile_args=extra_compile_args,
-              libraries=libraries
+              libraries=libraries + ['wcs', 'm']
               )
     ]