- Update to version 0.4.0a

- Drop upstreamed patch
- Added a new patch to fix a 64bit issue
- The -devel package now contains a pkgconfig file
- The configure script is now run with '--enable-messages --enable-https'
- Made the -doc subpackage noarch (F11+)
This commit is contained in:
epienbro 2009-02-27 22:43:35 +00:00
parent 9fd9e9ddb4
commit 7d9acc3df8
3 changed files with 28 additions and 17 deletions

View File

@ -1,16 +1,15 @@
Summary: Lightweight library for embedding a webserver in applications Summary: Lightweight library for embedding a webserver in applications
Name: libmicrohttpd Name: libmicrohttpd
Version: 0.4.0 Version: 0.4.0a
Release: 2%{?dist} Release: 1%{?dist}
Group: Development/Libraries Group: Development/Libraries
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 Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
# In version 0.4.0, two of the testcases fail on 64bit environments # https://gnunet.org/mantis/view.php?id=1459
# Upstream bug #1454 Patch0: libmicrohttpd_64bit_fix.patch
Patch0: libmicrohttpd_fix_0_4_0_testcase.patch
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: graphviz BuildRequires: graphviz
@ -45,6 +44,9 @@ Development files for libmicrohttpd
Summary: Documentation for libmicrohttpd Summary: Documentation for libmicrohttpd
Group: Documentation Group: Documentation
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if 0%{?fedora} >= 11
BuildArch: noarch
%endif
%description doc %description doc
Doxygen documentation for libmicrohttpd and some example source code Doxygen documentation for libmicrohttpd and some example source code
@ -59,7 +61,7 @@ unlink doc/Doxyfile
mv tmp doc/Doxyfile mv tmp doc/Doxyfile
%build %build
%configure --disable-static %configure --disable-static --enable-messages --enable-https
make %{?_smp_mflags} make %{?_smp_mflags}
doxygen doc/Doxyfile doxygen doc/Doxyfile
@ -104,6 +106,7 @@ fi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/microhttpd.h %{_includedir}/microhttpd.h
%{_libdir}/libmicrohttpd.so %{_libdir}/libmicrohttpd.so
%{_libdir}/pkgconfig/libmicrohttpd.pc
%files doc %files doc
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -114,6 +117,14 @@ fi
%doc html %doc html
%changelog %changelog
* Fri Feb 27 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0a-1
- Update to version 0.4.0a
- Drop upstreamed patch
- Added a new patch to fix a 64bit issue
- The -devel package now contains a pkgconfig file
- The configure script is now run with '--enable-messages --enable-https'
- Made the -doc subpackage noarch (F11+)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

View File

@ -0,0 +1,11 @@
--- src/testcurl/daemontest_large_put.c.orig 2009-02-27 22:58:16.926062599 +0100
+++ src/testcurl/daemontest_large_put.c 2009-02-27 22:58:20.776312622 +0100
@@ -274,7 +274,7 @@
1082,
NULL, NULL, &ahc_echo, &done_flag,
MHD_OPTION_CONNECTION_MEMORY_LIMIT,
- PUT_SIZE * 4, MHD_OPTION_END);
+ (size_t) PUT_SIZE * 4, MHD_OPTION_END);
if (d == NULL)
return 256;
c = curl_easy_init ();

View File

@ -1,11 +0,0 @@
--- src/testcurl/daemontest_long_header.c.orig 2009-02-14 11:48:18.025431339 +0100
+++ src/testcurl/daemontest_long_header.c 2009-02-14 11:48:37.442183967 +0100
@@ -107,7 +107,7 @@
&ahc_echo,
"GET",
MHD_OPTION_CONNECTION_MEMORY_LIMIT,
- VERY_LONG / 2, MHD_OPTION_END);
+ (size_t) VERY_LONG / 2, MHD_OPTION_END);
if (d == NULL)
return 1;
c = curl_easy_init ();