- 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:
parent
9fd9e9ddb4
commit
7d9acc3df8
@ -1,16 +1,15 @@
|
||||
Summary: Lightweight library for embedding a webserver in applications
|
||||
Name: libmicrohttpd
|
||||
Version: 0.4.0
|
||||
Release: 2%{?dist}
|
||||
Version: 0.4.0a
|
||||
Release: 1%{?dist}
|
||||
Group: Development/Libraries
|
||||
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
|
||||
# https://gnunet.org/mantis/view.php?id=1459
|
||||
Patch0: libmicrohttpd_64bit_fix.patch
|
||||
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: graphviz
|
||||
@ -45,6 +44,9 @@ Development files for libmicrohttpd
|
||||
Summary: Documentation for libmicrohttpd
|
||||
Group: Documentation
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%if 0%{?fedora} >= 11
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
Doxygen documentation for libmicrohttpd and some example source code
|
||||
@ -59,7 +61,7 @@ unlink doc/Doxyfile
|
||||
mv tmp doc/Doxyfile
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure --disable-static --enable-messages --enable-https
|
||||
make %{?_smp_mflags}
|
||||
doxygen doc/Doxyfile
|
||||
|
||||
@ -104,6 +106,7 @@ fi
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/microhttpd.h
|
||||
%{_libdir}/libmicrohttpd.so
|
||||
%{_libdir}/pkgconfig/libmicrohttpd.pc
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
@ -114,6 +117,14 @@ fi
|
||||
%doc html
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
11
libmicrohttpd_64bit_fix.patch
Normal file
11
libmicrohttpd_64bit_fix.patch
Normal 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 ();
|
@ -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 ();
|
Loading…
Reference in New Issue
Block a user