rpms/python-pycurl/devel python-pycurl.spec,1.13,1.14
Štěpán Kasal
kasal at fedoraproject.org
Fri Apr 17 18:39:16 UTC 2009
- Previous message (by thread): rpms/crda/F-10 .cvsignore, 1.2, 1.3 crda.spec, 1.8, 1.9 sources, 1.5, 1.6
- Next message (by thread): rpms/canto/devel canto.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kasal
Update of /cvs/extras/rpms/python-pycurl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2072
Modified Files:
python-pycurl.spec
Log Message:
make sure the spec evaluates everywhere
Index: python-pycurl.spec
===================================================================
RCS file: /cvs/extras/rpms/python-pycurl/devel/python-pycurl.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- python-pycurl.spec 17 Apr 2009 18:24:57 -0000 1.13
+++ python-pycurl.spec 17 Apr 2009 18:38:46 -0000 1.14
@@ -22,8 +22,9 @@
# Yes, that should be handled by library versioning (which would then get
# automatically reflected by rpm).
# For now, we have to reflect that dependency.
-%define libcurl_version_sed '/^#define LIBCURL_VERSION "/!d;s/"[^"]*$//;s/.*"//;q'
-%define libcurl_version %(sed %{libcurl_version_sed} /usr/include/curl/curlver.h)
+%define libcurl_sed '/^#define LIBCURL_VERSION "/!d;s/"[^"]*$//;s/.*"//;q'
+%define curlver_h /usr/include/curl/curlver.h
+%define libcurl_ver %(sed %{libcurl_sed} %{curlver_h} 2>/dev/null || echo 0)
Requires: libcurl >= %{libcurl_version}
Provides: pycurl = %{version}-%{release}
- Previous message (by thread): rpms/crda/F-10 .cvsignore, 1.2, 1.3 crda.spec, 1.8, 1.9 sources, 1.5, 1.6
- Next message (by thread): rpms/canto/devel canto.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list