Added a patch to fix two testcases on 64bit environments (upstream bug

#1454)
This commit is contained in:
epienbro 2009-02-14 10:55:20 +00:00
parent e22d548052
commit 28a3d3996f

View File

@ -3,11 +3,14 @@ Name: libmicrohttpd
Version: 0.4.0 Version: 0.4.0
Release: 1%{?dist} Release: 1%{?dist}
Group: Development/Libraries Group: Development/Libraries
Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
License: LGPLv2+ License: LGPLv2+
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
URL: http://www.gnu.org/software/libmicrohttpd/ 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: libcurl-devel
BuildRequires: graphviz BuildRequires: graphviz
@ -48,6 +51,7 @@ Doxygen documentation for libmicrohttpd and some example source code
%prep %prep
%setup -q %setup -q
%patch0 -p0
# The doxygen file contains references to /home/grothoff/svn/libmicrohttpd/... replace these with . # The doxygen file contains references to /home/grothoff/svn/libmicrohttpd/... replace these with .
sed s/\\/home\\/grothoff\\/svn\\/libmicrohttpd/./ doc/Doxyfile > tmp sed s/\\/home\\/grothoff\\/svn\\/libmicrohttpd/./ doc/Doxyfile > tmp
@ -93,8 +97,8 @@ fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING %doc COPYING
%{_libdir}/libmicrohttpd.so.4 %{_libdir}/libmicrohttpd.so.5
%{_libdir}/libmicrohttpd.so.4.0.3 %{_libdir}/libmicrohttpd.so.5.0.0
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -110,13 +114,14 @@ fi
%doc html %doc html
%changelog %changelog
* Fri Feb 13 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0-1 * Sat Feb 14 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0-1
- Update to version 0.4.0 - Update to version 0.4.0
- This version introduces a API bump (which is required for - This version introduces a API bump (which is required for
supporting large files on 32bit environments) supporting large files on 32bit environments)
- The license issues we had with version 0.3.1 of this package (as - The license issues we had with version 0.3.1 of this package (as
discussed in #457924) are resolved in this version. The license discussed in #457924) are resolved in this version. The license
of this package is now changed to LGPLv2+ 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 <info@nntpgrab.nl> - 0.3.1-3 * Sat Sep 6 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-3
- Changed license to GPLv3+ and added some comments - Changed license to GPLv3+ and added some comments