[esniper] REMOVE INCLUDE FOR ABANDONED CURL HEADER FILE

Volker Fröhlich volter at fedoraproject.org
Tue Aug 9 21:57:38 UTC 2011


commit 6d585adf39c9f5693bde8fca3aeb5f42a080e51f
Author: Volker Fröhlich <volker27 at gmx.at>
Date:   Tue Aug 9 23:56:26 2011 +0200

    REMOVE INCLUDE FOR ABANDONED CURL HEADER FILE

 esniper.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/esniper.spec b/esniper.spec
index 5a7cefc..fe243b9 100644
--- a/esniper.spec
+++ b/esniper.spec
@@ -1,6 +1,6 @@
 Name:           esniper
 Version:        2.26.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A lightweight console application for sniping eBay auctions 
 
 Group:          Applications/Internet
@@ -17,6 +17,11 @@ Esniper is a lightweight console application for sniping eBay auctions.
 %prep
 %setup -q -n %{name}-2-26-0
 
+# Stop importing a long abandoned curl header file
+# curl 7.21.7 doesn't ship it anymore.
+# https://sourceforge.net/tracker/?func=detail&aid=3389276&group_id=45285&atid=442436
+sed -i '/#include <curl\/types.h>/d' http.c
+
 # Encode manpage to utf-8
 iconv -f iso8859-1 -t utf-8 esniper.1 > esniper.1.conv \
     && touch -r esniper.1 esniper.1.conv \
@@ -43,6 +48,9 @@ install -p -m 755 frontends/snipe %{buildroot}/%{_bindir}
 
 
 %changelog
+* Tue Aug 09 2011 Volker Fröhlich <volker27 at gmx.at> - 2.26.0-2
+- Don't include curl's types.h
+
 * Tue Aug 09 2011 Volker Fröhlich <volker27 at gmx.at> - 2.26.0-1
 - Update for 2.26.0
 - Drop defattr


More information about the scm-commits mailing list