From 28a3d3996f3e9075a0ae179e93f4cc48be2c206d Mon Sep 17 00:00:00 2001 From: epienbro Date: Sat, 14 Feb 2009 10:55:20 +0000 Subject: [PATCH] Added a patch to fix two testcases on 64bit environments (upstream bug #1454) --- libmicrohttpd.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libmicrohttpd.spec b/libmicrohttpd.spec index f7847ae..678bd65 100644 --- a/libmicrohttpd.spec +++ b/libmicrohttpd.spec @@ -3,11 +3,14 @@ Name: libmicrohttpd Version: 0.4.0 Release: 1%{?dist} Group: Development/Libraries -Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz License: LGPLv2+ - BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) URL: http://www.gnu.org/software/libmicrohttpd/ +Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz + +# In version 0.4.0, two of the testcases fail on 64bit environments +# Upstream bug #1454 +Patch0: libmicrohttpd_fix_0_4_0_testcase.patch BuildRequires: libcurl-devel BuildRequires: graphviz @@ -48,6 +51,7 @@ Doxygen documentation for libmicrohttpd and some example source code %prep %setup -q +%patch0 -p0 # The doxygen file contains references to /home/grothoff/svn/libmicrohttpd/... replace these with . sed s/\\/home\\/grothoff\\/svn\\/libmicrohttpd/./ doc/Doxyfile > tmp @@ -93,8 +97,8 @@ fi %files %defattr(-,root,root,-) %doc COPYING -%{_libdir}/libmicrohttpd.so.4 -%{_libdir}/libmicrohttpd.so.4.0.3 +%{_libdir}/libmicrohttpd.so.5 +%{_libdir}/libmicrohttpd.so.5.0.0 %files devel %defattr(-,root,root,-) @@ -110,13 +114,14 @@ fi %doc html %changelog -* Fri Feb 13 2009 Erik van Pienbroek - 0.4.0-1 +* Sat Feb 14 2009 Erik van Pienbroek - 0.4.0-1 - Update to version 0.4.0 - This version introduces a API bump (which is required for supporting large files on 32bit environments) - The license issues we had with version 0.3.1 of this package (as discussed in #457924) are resolved in this version. The license of this package is now changed to LGPLv2+ +- Added a patch to fix two testcases on 64bit environments (upstream bug #1454) * Sat Sep 6 2008 Erik van Pienbroek - 0.3.1-3 - Changed license to GPLv3+ and added some comments