packages: python-pycurl/python-pycurl.spec - fix parsing error if curl-deve...

sparky sparky at pld-linux.org
Wed Feb 3 02:02:08 CET 2010


Author: sparky                       Date: Wed Feb  3 01:02:08 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix parsing error if curl-devel is not installed

---- Files affected:
packages/python-pycurl:
   python-pycurl.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: packages/python-pycurl/python-pycurl.spec
diff -u packages/python-pycurl/python-pycurl.spec:1.55 packages/python-pycurl/python-pycurl.spec:1.56
--- packages/python-pycurl/python-pycurl.spec:1.55	Wed Feb  3 01:26:26 2010
+++ packages/python-pycurl/python-pycurl.spec	Wed Feb  3 02:02:00 2010
@@ -7,7 +7,7 @@
 # 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_ver %(rpm -q --qf '%|E?{%{E}:}|%{V}' curl-devel || echo ERROR)
+%define		libcurl_ver %(rpm -q --qf '%|E?{%{E}:}|%{V}' curl-devel | sed 's/package .* is not installed/ERROR/' || echo ERROR)
 
 %define 	module	pycurl
 Summary:	Free and easy-to-use client-side URL transfer library
@@ -118,6 +118,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2010/02/03 01:02:00  sparky
+- fix parsing error if curl-devel is not installed
+
 Revision 1.55  2010/02/03 00:26:26  glen
 - add no static libs patch from fc
 - curl-libs dep based on built curl-devel
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pycurl/python-pycurl.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list