packages: curl/curl.spec - replace with a fat big warning

arekm arekm at pld-linux.org
Wed Jun 29 09:09:23 CEST 2011


Author: arekm                        Date: Wed Jun 29 07:09:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- replace with a fat big warning

---- Files affected:
packages/curl:
   curl.spec (1.192 -> 1.193) 

---- Diffs:

================================================================
Index: packages/curl/curl.spec
diff -u packages/curl/curl.spec:1.192 packages/curl/curl.spec:1.193
--- packages/curl/curl.spec:1.192	Tue Jun 28 17:58:44 2011
+++ packages/curl/curl.spec	Wed Jun 29 09:09:17 2011
@@ -224,7 +224,8 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 # no longer in upstream but a lot of apps tries to include it so we create fake one
-touch $RPM_BUILD_ROOT%{_includedir}/curl/types.h
+[ -e $RPM_BUILD_ROOT%{_includedir}/curl/types.h ] && exit 1
+echo '#warning curl/types.h IS OBSOLETE FROM 2004. STOP USING IT' > $RPM_BUILD_ROOT%{_includedir}/curl/types.h
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -265,6 +266,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.193  2011/06/29 07:09:17  arekm
+- replace with a fat big warning
+
 Revision 1.192  2011/06/28 15:58:44  arekm
 - rel 2; provide empty types.h for now
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/curl/curl.spec?r1=1.192&r2=1.193&f=u



More information about the pld-cvs-commit mailing list