]> git.pld-linux.org Git - packages/curl.git/commitdiff
- replace with a fat big warning auto/ti/curl-7_21_7-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 29 Jun 2011 07:09:17 +0000 (07:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    curl.spec -> 1.193

curl.spec

index 7e008a581d117f1c0f68bb205ac8128f732c66e9..45ebd2ee2ac42de57a62ae0afd89f4a24e84caa3 100644 (file)
--- a/curl.spec
+++ b/curl.spec
@@ -223,7 +223,8 @@ rm -rf $RPM_BUILD_ROOT
        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
This page took 0.038196 seconds and 4 git commands to generate.