]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - python-pycurl/python-pycurl.nm
Merge remote-tracking branch 'stevee/sssd'
[people/ms/ipfire-3.x.git] / python-pycurl / python-pycurl.nm
index 9d62652949dcbc86ba8b63f53f1b501cb68b9407..3c0f5363b1888c6597e7c1436bbc52283a4a267c 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = python-pycurl
 version    = 7.19.0
-release    = 4
+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
@@ -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