]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - python-pycurl/python-pycurl.nm
libyaml: Fix running test suite
[people/stevee/ipfire-3.x.git] / python-pycurl / python-pycurl.nm
index b1e600eae802cbd3902a126f43c10edcfa942b70..3c0f5363b1888c6597e7c1436bbc52283a4a267c 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = python-pycurl
 version    = 7.19.0
-release    = 3
+release    = 5
 thisapp    = pycurl-%{version}
 
 groups     = Development/Languages
@@ -13,14 +13,6 @@ url        = http://pycurl.sourceforge.net/
 license    = LGPLv2+ or MIT
 summary    = A Python interface to libcurl.
 
-# During its initialization, PycURL checks that the actual libcurl version
-# is not lower than the one used when PycURL was built.
-# Yes, that should be handled by library versioning (which would then get
-# automatically reflected).
-# For now, we have to reflect that dependency.
-LIBCURL_VERSION = $(shell curl-config --version | awk '{ print $NF }')
-PKG_DEPS += libcurl>=%{LIBCURL_VERSION}
-
 description
        PycURL is a Python interface to libcurl. PycURL can be used to fetch
        objects identified by a URL from a Python program, similar to the
@@ -28,7 +20,7 @@ description
        of features.
 end
 
-source_dl  =
+source_dl  = http://pycurl.sourceforge.net/download/
 
 build
        requires
@@ -56,6 +48,15 @@ end
 
 packages
        package %{name}
+               # During its initialization, PycURL checks that the actual libcurl version
+               # is not lower than the one used when PycURL was built.
+               # Yes, that should be handled by library versioning (which would then get
+               # automatically reflected).
+               # For now, we have to reflect that dependency.
+               requires
+                       libcurl >= %(curl-config --version | awk '{ print $NF }')
+               end
+       end
 
        package %{name}-debuginfo
                template DEBUGINFO